malcolm.modules.adUtil.parts

class malcolm.modules.adUtil.parts.ReframePluginPart(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'), sample_freq: Anno(name='ASampleFreq', typ=<class 'float'>, description='Sample frequency of ADC signal in Hz') = 10000.0, gated_trigger: Anno(name='AGatedTrigger', typ=<class 'bool'>, description='Is the input trigger gated?') = False)[source]
Parameters
  • name (str) – The name of the Part within the Controller

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

  • sample_freq (float) – Sample frequency of ADC signal in Hz

  • gated_trigger (bool) – Is the input trigger gated?

setup(registrar: malcolm.core.part.PartRegistrar)None[source]

Use the given PartRegistrar to populate the hooks and fields. This function is called for all parts in a block when the block’s Controller is added to a Process

on_validate(generator: Anno(name='AGenerator', typ=<class 'scanpointgenerator.core.compoundgenerator.CompoundGenerator'>, description='Generator instance providing specification for scan'))None[source]
Parameters

generator (CompoundGenerator) – Generator instance providing specification for scan