csaxs_bec.bec_ipython_client.plugins.LamNI.extra_tomo.DataDrivenLamNI#
- class DataDrivenLamNI(client)[source]#
Bases:
LamNILamNI subclass that reads per-projection scan parameters from an HDF5 file.
Instead of a fixed FOV and step size for the whole tomogram, each projection can have individual values for step size, loptz position and lateral shifts, as specified in a datadriven_params.h5 file.
Methods
Add a sample to the OMNY sample database and retrieve the tomo id.
feedback_disablefeedback_disable_and_reset_anglefeedback_enable_with_resetfeedback_enable_without_resetfeedback_statusget_calibration_of_capstops_left_and_rightlamnigui_docslamnigui_idlelamnigui_raiselamnigui_remove_all_dockslamnigui_show_guilamnigui_show_progresslamnigui_show_xeyealignlamnigui_stop_guilcs_inlcs_outleye_inleye_outMove in the LamNI zone plate, disabling/re-enabling RT feedback around the move.
lfzp_infolights_offlights_onMove in the LamNI optics (FZP + OSA).
Move out the LamNI optics.
losa_inlosa_outRemove the special angles and reset repeats to 1.
rt_offrt_onset_clientSet the special angles for a tomo.
show_analog_signalsshow_interferometer_positionsshow_signal_strengthIterate over all projections defined in the loaded HDF5 parameter file.
Perform one sub-tomogram (tomo_type 1 only).
Print and interactively update the tomo parameters.
Write the tomo reconstruct file for the reconstruction queue.
Start a data-driven tomo scan.
tomo_scan_projectionCreate and write the PDF report with current LamNI settings.
write_to_scilogAttributes
corridor_sizegolden_max_number_of_projectionsgolden_projections_at_0_deg_for_damage_estimationgolden_ratio_bunch_sizelamni_piezo_range_xlamni_piezo_range_ylamni_stitch_xlamni_stitch_ymanual_shift_xmanual_shift_yptycho_reconstruct_foldernamesample_nametomo_angle_stepsizetomo_circfovtomo_countingtimetomo_shellsteptomo_stitch_overlaptomo_type- add_sample_database(samplename, date, eaccount, scan_number, setup, sample_additional_info, user)#
Add a sample to the OMNY sample database and retrieve the tomo id.
- lfzp_in()#
Move in the LamNI zone plate, disabling/re-enabling RT feedback around the move.
- loptics_in()#
Move in the LamNI optics (FZP + OSA).
- loptics_out()#
Move out the LamNI optics.
- remove_special_angles()#
Remove the special angles and reset repeats to 1.
- set_special_angles(angles: list, repeats: int = 20, tolerance: float = 0.5)#
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) – Angle tolerance in degrees. Defaults to 0.5.
- sub_tomo_data_driven(start_index=None)[source]#
Iterate over all projections defined in the loaded HDF5 parameter file.
- sub_tomo_scan(subtomo_number=None, start_angle=None)[source]#
Perform one sub-tomogram (tomo_type 1 only).
- tomo_parameters()#
Print and interactively update the tomo parameters.
- tomo_reconstruct(base_path='~/Data10/specES1')#
Write the tomo reconstruct file for the reconstruction queue.
- tomo_scan(subtomo_start=1, start_index=None, fname='~/Data10/data_driven_config/datadriven_params.h5')[source]#
Start a data-driven tomo scan.
- Parameters:
subtomo_start (int) – Unused; kept for API compatibility. Use start_index to resume.
start_index (int, optional) – Skip projections before this index. Defaults to None.
fname (str) – Path to the HDF5 parameter file. Defaults to the standard location.
- write_pdf_report()#
Create and write the PDF report with current LamNI settings.