BLonD-org/BLonD-common: first implementation
Homework for next time: think about & bring propositions for
- File structure
- Data structure
- Parent/child objects
Important: convert your tests to unittests!!
Some ipython examples available
Markus: define Gaussian, binomial etc. distributions in a base class. Parent/child class structure for distribution. Well-defined properties:
- 'fwhm' (real FWHM) vs 'sfwhm' (scaled FWHM)
- Ivan: adjust for asymmetric profiles
Alex fitting functions:
- reconstruct binomial from 2 FWHM-like fits at different heights
- fitting profiles (with curve_fit or minimize)
- let's fit the structure first
Math functions
- Find minima/maxima etc.
- Derivatives from diff, gradient, cubic spline...
- Integrals from trapz, cubic spline...
- Finding the zeros of functions
- Finding min/max locations (discrete=linear and cubic) -> also used for potential-well calculation
Interfaces
RF functions
- Generate RF voltage harmonics based on the main RF (no intensity effects)
- RF potential (analytic or cubic spline integration from the voltage function)
- Finding potential wells (2 functions exist Simon/Alex), and linear and cubic spline versions to be implemented
There are minutes attached to this event.
Show them.