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.
- is_implemented: bool = True
- n_attributes: int | range | Collection = 1
- 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.- Parameters:
instructions (
list[Instruction])kwargs (
float)
- Return type:
- _abc_impl = <_abc._abc_data object at 0x73dca85a7840>