darfix.gui.rockingCurvesWidget.Maps_2D#
- class darfix.gui.rockingCurvesWidget.Maps_2D(value)[source]#
Bases:
Enum
Different maps that can be shown after fitting the data
- AMPLITUDE = 'Amplitude'#
- BACKGROUND = 'Background'#
- CORRELATION = 'Correlation'#
- FWHM_X = 'FWHM first motor'#
- FWHM_Y = 'FWHM second motor'#
- PEAK_X = 'Peak position first motor'#
- PEAK_Y = 'Peak position second motor'#
- RESIDUALS = 'Residuals'#
- classmethod from_value(value)#
Convert a value to corresponding Enum member
- Parameters:
value – The value to compare to Enum members If it is already a member of Enum, it is returned directly.
- Returns:
The corresponding enum member
- Return type:
Enum
- Raises:
ValueError – In case the conversion is not possible
- classmethod members()#
Returns a tuple of all members.
- Return type:
Tuple[Enum]
- classmethod names()#
Returns a tuple of all member names.
- Return type:
Tuple[str]
- classmethod values()#
Returns a tuple of all member values.
- Return type:
Tuple