Collection of Pulse_Block_Elements which is called a Pulse_Block.
More...
|
def | __init__ (self, name, element_list=None) |
| The constructor for a Pulse_Block needs to have: More...
|
|
def | __repr__ (self) |
|
def | __str__ (self) |
|
def | __len__ (self) |
|
def | __getitem__ (self, key) |
|
def | __setitem__ (self, key, value) |
|
def | __delitem__ (self, key) |
|
def | __eq__ (self, other) |
|
def | refresh_parameters (self) |
| Initialize the parameters which describe this Pulse_Block object. More...
|
|
def | pop (self, position=None) |
|
def | insert (self, position, element) |
| Insert a PulseBlockElement at the given position. More...
|
|
def | append (self, element) |
|
def | extend (self, iterable) |
|
def | clear (self) |
|
def | reverse (self) |
|
def | get_dict_representation (self) |
|
|
def | block_from_dict (block_dict) |
|
|
| name |
|
| element_list |
|
| init_length_s |
|
| increment_s |
|
| analog_channels |
|
| digital_channels |
|
| channel_set |
|
Collection of Pulse_Block_Elements which is called a Pulse_Block.
◆ __init__()
def pulse_objects.PulseBlock.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
element_list = None |
|
) |
| |
The constructor for a Pulse_Block needs to have:
- Parameters
-
str | name: chosen name for the Pulse_Block |
list | element_list: which contains the Pulse_Block_Element Objects forming a Pulse_Block, e.g. [Pulse_Block_Element, Pulse_Block_Element, ...] |
◆ insert()
def pulse_objects.PulseBlock.insert |
( |
|
self, |
|
|
|
position, |
|
|
|
element |
|
) |
| |
Insert a PulseBlockElement at the given position.
The old element at this position and all consecutive elements after that will be shifted to higher indices.
- Parameters
-
◆ refresh_parameters()
def pulse_objects.PulseBlock.refresh_parameters |
( |
|
self | ) |
|
Initialize the parameters which describe this Pulse_Block object.
The information is gained from all the Pulse_Block_Element objects, which are attached in the element_list.
The documentation for this class was generated from the following file:
- logic/pulsed/pulse_objects.py