BeamScan now contains vector of Beams
- Each point of
BeamScancontains individualBeam, so allBeamproperties can be accessed or changed independently. This leads to appearing numerous API methods likeintensity(), intensityAt(i), polarization(), polarizationAt(i)etc. - Constructors for
AlphaScan,LambdaScanandQzScanare symmetrized: they accept vector of numbers,Scaleor arguments forScale. Wavelength and inclination must be set separately. - Beams are created with some default values; proper wavelength and inclination should be provided separately.
- alpha- and lambda-related methods are removed from
QzScan. -
LambdaScanutilizes footprint - Introduces base class
ALScanwith common functionality forAlphaScanandLambdaScan. - Code duplication is eliminated.
Resolves #649 (closed)
Resolves #650 (closed)
Edited by Mikhail Svechnikov