@@ -92,10 +92,9 @@ class MultiChannelInstrumentParameter(MultiParameter):
92
92
anything else.
93
93
94
94
Args:
95
- channels(list[chan_type]) : A list of channels which we can operate on
95
+ channels: A list of channels which we can operate on
96
96
simultaneously.
97
-
98
- param_name(str): Name of the multichannel parameter
97
+ param_name: Name of the multichannel parameter
99
98
"""
100
99
def __init__ (self ,
101
100
channels : Sequence [InstrumentChannel ],
@@ -118,7 +117,7 @@ def set_raw(self, value: ParamRawDataType) -> None:
118
117
Set all parameters to this value.
119
118
120
119
Args:
121
- value (Any) : The value to set to. The type is given by the
120
+ value: The value to set to. The type is given by the
122
121
underlying parameter.
123
122
"""
124
123
for chan in self ._channels :
@@ -141,24 +140,24 @@ class ChannelList(Metadatable):
141
140
all channels, as well as addressing of individual channels.
142
141
143
142
Args:
144
- parent (Instrument) : The instrument to which this channel
143
+ parent: The instrument to which this channel
145
144
should be attached.
146
145
147
- name (str) : The name of the channel list.
146
+ name: The name of the channel list.
148
147
149
- chan_type (InstrumentChannel) : The type of channel contained
148
+ chan_type: The type of channel contained
150
149
within this list.
151
150
152
- chan_list (Iterable[chan_type]) : An optional iterable of
151
+ chan_list: An optional iterable of
153
152
channels of type ``chan_type``. This will create a list and
154
153
immediately lock the :class:`ChannelList`.
155
154
156
- snapshotable (bool) : Optionally disables taking of snapshots
155
+ snapshotable: Optionally disables taking of snapshots
157
156
for a given channel list. This is used when objects
158
157
stored inside a channel list are accessible in multiple
159
158
ways and should not be repeated in an instrument snapshot.
160
159
161
- multichan_paramclass (MultiChannelInstrumentParameter) : The class of
160
+ multichan_paramclass: The class of
162
161
the object to be returned by the ``__getattr__``
163
162
method of :class:`ChannelList`.
164
163
Should be a subclass of :class:`MultiChannelInstrumentParameter`.
0 commit comments