csaxs_bec.bec_ipython_client.plugins.flomni.flomni.FlomniAlignmentMixin#
- class FlomniAlignmentMixin[source]#
Bases:
objectMethods
compute_additional_correction_ycompute_additional_correction_y_2Compute the alignment offset for the given angle.
read_additional_correction_yread_additional_correction_y_2read_alignment_offsetReset the correction to the default values.
reset_tomo_alignment_fitAttributes
csaxs_bec_basepathdefault_correction_filedefault_correction_file_rel- get_alignment_offset(angle: float)[source]#
Compute the alignment offset for the given angle.
- Parameters:
angle (float) – The angle to compute the alignment offset for.
- Returns:
The alignment offset in x, y and z direction.
- Return type:
tuple
- reset_correction(use_default_correction=True)[source]#
Reset the correction to the default values. If use_default_correction is False, the correction will be set to empty values. Otherwise the default values will be loaded.
- Parameters:
use_default_correction (bool, optional) – If set to true, a call reset the correction to the default values. Defaults to True.