mxcubecore.HardwareObjects.ESRF.ID29EnergyScan#

Classes

class mxcubecore.HardwareObjects.ESRF.ID29EnergyScan.ID29EnergyScan(name)[source]#

Bases: ESRFEnergyScan

calculate_und_gaps(energy, undulator=None)[source]#

Calculate the undulator(s) gap(s), If specified, undulator is the name of the undulator to chose if several possibilities. Return a dictionary undulator:gap in the order undulator(s)should move.

choose_attenuation(**kwargs)#

Procedure to set the minimal attenuation in order no preserve the sample. Should be done at the energy after the edge.

close_fast_shutter()[source]#

Close the fast shutter.

close_safety_shutter(timeout=None)[source]#

Close the safety shutter. Give a timeout [s] if needed.

energy_scan_hook(**kwargs)#

Execute actions, required before running the raw scan(like changing undulator gaps, move to a given energy… These are in general beamline specific actions.

escan_postscan()[source]#

set the nesessary equipment in position after the scan

escan_prepare()[source]#

Set the nesessary equipment in position for the scan. No need to know the c=scan paramets.

execute_energy_scan(**kwargs)#

Execute the raw scan sequence. Here is where you pass whatever parameters you need to run the raw scan (e.g start/end energy, counting time, energy step…).

move_undulators(**kwargs)#

Move the undulator(s) to gap(s), where undulators is a dictionary undulator:gap and should be in the order of which motor to move first.

open_fast_shutter()[source]#

Open the fast shutter.

open_safety_shutter(timeout=None)[source]#

Open the safety shutter. Give a timeout [s] if needed.

set_mca_roi(**kwargs)#

Configure the fluorescent detector ROI. The input is min/max energy.