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
- setup(registrar: malcolm.core.part.PartRegistrar) → None[source]¶
Use the given
PartRegistrarto populate the hooks and fields. This function is called for all parts in a block when the block’sControlleris added to aProcess
- 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