csaxs_bec.bec_ipython_client.plugins.LamNI.extra_tomo.MagLamNI#

class MagLamNI(client)[source]#

Bases: LamNI

LamNI subclass for magnetic experiments (XMCD).

Adds a slow rotation helper and allows injection of a custom per-angle callback via the lamni_at_each_angle builtin.

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.

rotate_slowly

Rotate to target angle in small steps to avoid mechanical stress.

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

rotate_slowly(angle, step_size=20)[source]#

Rotate to target angle in small steps to avoid mechanical stress.

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_scan(subtomo_number, 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_angle=None, projection_number=None)#

Start a tomo scan.

Parameters:
  • subtomo_start (int) – For tomo_type 1, the sub-tomogram to start from. Defaults to 1.

  • start_angle (float, optional) – Override starting angle of the first sub-tomogram.

  • projection_number (int, optional) – For tomo_types 2 and 3, resume from this index.

write_pdf_report()#

Create and write the PDF report with current LamNI settings.