freq module
Define a command to set frequency.
- class Freq(line, dat_idx=None, **kwargs)[source]
Bases:
CommandUsed to get the frequency of every Section.
- set_influenced_elements(instructions, **kwargs)[source]
Determine the index of the elements concerned by
apply().- Parameters:
instructions (
list[Instruction])kwargs (
float)
- Return type:
- apply(instructions, freq_bunch=None, **kwargs)[source]
Set
FieldMapfrequency.If another
Freqis found, we stop and the newFreqwill be dealt with later.Note
We should not encounter any
SuperposedFieldMap, as theSuperposeMapcommands should be after thisFreq. In other words, theFieldMapinstances are not superposed yet.- Parameters:
instructions (
list[Instruction])kwargs (
float)
- Return type:
- _abc_impl = <_abc._abc_data object at 0x7318fb808280>