csaxs_bec.bec_ipython_client.plugins.LamNI.extra_tomo.DataDrivenLamNI#

class DataDrivenLamNI(client)[source]#

Bases: LamNI

LamNI 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_sample_database

Add a sample to the OMNY sample database and retrieve the tomo id.

feedback_disable

feedback_disable_and_reset_angle

feedback_enable_with_reset

feedback_enable_without_reset

feedback_status

get_calibration_of_capstops_left_and_right

lamnigui_docs

lamnigui_idle

lamnigui_raise

lamnigui_remove_all_docks

lamnigui_show_gui

lamnigui_show_progress

lamnigui_show_xeyealign

lamnigui_stop_gui

lcs_in

lcs_out

leye_in

leye_out

lfzp_in

Move in the LamNI zone plate, disabling/re-enabling RT feedback around the move.

lfzp_info

lights_off

lights_on

loptics_in

Move in the LamNI optics (FZP + OSA).

loptics_out

Move out the LamNI optics.

losa_in

losa_out

remove_special_angles

Remove the special angles and reset repeats to 1.

rt_off

rt_on

set_client

set_special_angles

Set the special angles for a tomo.

show_analog_signals

show_interferometer_positions

show_signal_strength

sub_tomo_data_driven

Iterate over all projections defined in the loaded HDF5 parameter file.

sub_tomo_scan

Perform one sub-tomogram (tomo_type 1 only).

tomo_parameters

Print and interactively update the tomo parameters.

tomo_reconstruct

Write the tomo reconstruct file for the reconstruction queue.

tomo_scan

Start a data-driven tomo scan.

tomo_scan_projection

write_pdf_report

Create and write the PDF report with current LamNI settings.

write_to_scilog

Attributes

corridor_size

golden_max_number_of_projections

golden_projections_at_0_deg_for_damage_estimation

golden_ratio_bunch_size

lamni_piezo_range_x

lamni_piezo_range_y

lamni_stitch_x

lamni_stitch_y

manual_shift_x

manual_shift_y

ptycho_reconstruct_foldername

sample_name

tomo_angle_stepsize

tomo_circfov

tomo_countingtime

tomo_shellstep

tomo_stitch_overlap

tomo_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.