mxcubecore.HardwareObjects.ESRF.ID231EnergyScan#

Classes

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

Bases: ESRFEnergyScan

calculate_und_gaps(energy, undulator='u21d')[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.

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.

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.

set_mca_roi(**kwargs)#

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