csaxs_bec.bec_ipython_client.plugins.omny.omny.OMNY#
- class OMNY(client)[source]#
Bases:
OMNYInitStagesMixin,OMNYSampleTransferMixin,OMNYAlignmentMixin,OMNYOpticsMixin,cSAXSBeamlineChecks,OMNY_rt_client,OMNYGuiToolsMethods
Add a sample to the omny sample database.
axis_id_to_numericcheck_all_axes_of_OMNY_referencedcompute_additional_correction_xcompute_additional_correction_ycompute_additional_correction_y_2dewar_show_allenable_all_devicesfeedback_disablefeedback_enable_with_resetfeedback_statusCompute the alignment offset for the given angle.
get_beamline_checks_enabledinterferometer_tweak_otrackinterferometer_tweakinglaser_tracker_check_and_wait_for_signalstrengthlaser_tracker_offlaser_tracker_onlaser_tracker_show_alloeye_cam_inoeye_outoeye_xray_inofzp_inofzp_infoofzp_outomny_init_smaractomny_init_stagesomny_interferometer_align_incoupling_angleomny_interferometer_align_trackingomnygui_idleomnygui_remove_all_docksomnygui_show_guiomnygui_show_omnycam_parkingomnygui_show_omnycam_samplestageomnygui_show_progressomnygui_stop_guiooptics_inoosa_inoosa_move_out_of_shieldoosa_outotransfer_get_sampleotransfer_helpotransfer_park_loadlock_slototransfer_park_slototransfer_put_sampleotransfer_storageread_additional_correction_xread_additional_correction_yread_additional_correction_y_2Read the alignment offset from the given directory and set the global parameter tomo_alignment_fit.
Remove the special angles and set the number of repeats to 1
Reset the correction to the default values.
reset_tomo_alignment_fitrt_offrt_onSet the special angles for a tomo
show_signal_strength_interferometerstart_x_ray_eye_alignmentPerforms a sub tomogram scan.
temperatures_show_allPerforms a tomogram alignment scan.
print and update the tomo parameters
write the tomo reconstruct file for the reconstruction queue
start a tomo scan
tomo_scan_projectionvcs_show_allvcs_valves_in_measurement_positioncreate and write the pdf report with the current OMNY settings
write_to_scilogxrayeye_alignment_startxrayeye_update_frameAttributes
beamline_checks_enabledcorridor_sizedefault_correction_filedefault_correction_file_xfovxfovygolden_max_number_of_projectionsgolden_projections_at_0_deg_for_damage_estimationgolden_ratio_bunch_sizemanual_shift_ynear_fieldptycho_reconstruct_foldernamesample_namestitch_xstitch_ytomo_angle_stepsizetomo_countingtimetomo_shellsteptomo_stitch_overlaptomo_type- add_sample_database(samplename, date, eaccount, scan_number, setup, sample_additional_info, user)[source]#
Add a sample to the omny sample database. This also retrieves the tomo id.
- get_alignment_offset(angle: float)#
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
- read_alignment_offset(dir_path='/home/docs/Data10/specES1/internal/', setup='omny', use_vertical_default_values=True)#
Read the alignment offset from the given directory and set the global parameter tomo_alignment_fit.
- Parameters:
dir_path (str, optional) – The directory to read the alignment offset from. Defaults to os.path.expanduser(“~/Data10/specES1/internal/”).
- reset_correction(use_default_correction=True)#
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.
- set_special_angles(angles: list, repeats: int = 20, tolerance: float = 0.5)[source]#
Set the special angles for a tomo
- Parameters:
angles (list) – List of special angles
repeats (int, optional) – Number of repeats at a special angle. Defaults to 20.
tolerance (float, optional) – Number of repeats at a special angle. Defaults to 0.5.
- sub_tomo_scan(subtomo_number, start_angle=None)[source]#
Performs a sub tomogram scan. :param subtomo_number: The sub tomogram number. :type subtomo_number: int :param start_angle: The start angle of the scan. Defaults to None. :type start_angle: float, optional