mxcubecore.HardwareObjects.ESRF.ESRFPhotonFlux#

Photon flux calculations Example xml_ configuration:

<object class="ESRF.ESRFPhotonFlux">
  <username>Photon flux</username>
  <object role="controller" href="/bliss"/>
  <object role="aperture" href="/udiff_aperture"/>
  <counter_name>i0</counter_name>
  <beam_check_name>checkbeam</beam_check_name>
  <object role="monitor_beam" href="/monitor_beam"/>
</object>

Classes

ESRFPhotonFlux(name)

Photon flux calculation for ID30B

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

Bases: AbstractFlux

Photon flux calculation for ID30B

property check_beam#

Check if there is beam :returns: True if beam present, False otherwise :rtype: (bool)

get_value()[source]#

Calculate the flux value as function of a reading

init()[source]#

Initialisation

wait_for_beam(timeout=None)[source]#

Wait until beam present :param timeout: optional - timeout [s],

If timeout == 0: return at once and do not wait

(default);

if timeout is None: wait forever.