malcolm.modules.ADAndor.parts

class malcolm.modules.ADAndor.parts.AndorDriverPart(name: Anno(name='APartName', typ=<class 'str'>, description='The name of the Part within the Controller'), mri: Anno(name='AMri', typ=<class 'str'>, description='Malcolm resource id of child object'), min_acquire_period: Anno(name='AMinAcquirePeriod', typ=<class 'float'>, description='Minimum acquire period the detector is capable of') = 0.0)[source]
Parameters
  • name (str) – The name of the Part within the Controller

  • mri (str) – Malcolm resource id of child object

  • min_acquire_period (float) – Minimum acquire period the detector is capable of

on_validate(context: Anno(name='AContext', typ=<class 'malcolm.core.context.Context'>, description='Context that should be used to perform operations on child blocks'), generator: Anno(name='AGenerator', typ=<class 'scanpointgenerator.core.compoundgenerator.CompoundGenerator'>, description='Generator instance providing specification for scan'), exposure: Anno(name='AExposure', typ=<class 'float'>, description='The demand exposure time of this scan, 0 for the maximum possible') = 0.0, frames_per_step: Anno(name='AFramesPerStep', typ=<class 'numpy.int32'>, description='Number of detector frames for each generator point') = 1) Optional[Union[Anno(name='AParameterTweakInfos', typ=<class 'malcolm.modules.scanning.infos.ParameterTweakInfo'>, description='Parameters that need to be changed to make them compatible'), Sequence[malcolm.modules.scanning.infos.ParameterTweakInfo], malcolm.modules.scanning.infos.ParameterTweakInfo]][source]
Parameters
  • context (Context) – Context that should be used to perform operations on child blocks

  • generator (CompoundGenerator) – Generator instance providing specification for scan

  • exposure (float) – The demand exposure time of this scan, 0 for the maximum possible

  • frames_per_step (int32) – Number of detector frames for each generator point

Returns

Parameters that need to be changed to make them compatible

Return type

ParameterTweakInfo