115 """ |
115 """ |
116 ph_channels = [channel for channel in self.channels.keys() if 'ph' in channel] |
116 ph_channels = [channel for channel in self.channels.keys() if 'ph' in channel] |
117 new_measurement = self.subset_by_channels(ph_channels) |
117 new_measurement = self.subset_by_channels(ph_channels) |
118 return new_measurement |
118 return new_measurement |
119 |
119 |
120 def _get_scc_channel_variables(self): |
120 def _get_scc_mandatory_channel_variables(self): |
121 """ |
121 """ |
122 Get a list of variables to put in the SCC. |
122 Get a list of variables to put in the SCC. |
123 |
123 |
124 It can be overridden e.g. in the depolarization product class. |
124 It can be overridden e.g. in the depolarization product class. |
125 |
125 |
128 |
128 |
129 channel_variables: dict |
129 channel_variables: dict |
130 A dictionary with channel variable specifications. |
130 A dictionary with channel variable specifications. |
131 """ |
131 """ |
132 channel_variables = \ |
132 channel_variables = \ |
133 {'channel_ID': (('channels',), 'i'), |
133 {'Background_Low': (('channels',), 'd'), |
134 'Background_Low': (('channels',), 'd'), |
|
135 'Background_High': (('channels',), 'd'), |
134 'Background_High': (('channels',), 'd'), |
136 'LR_Input': (('channels',), 'i'), |
135 'LR_Input': (('channels',), 'i'), |
137 'DAQ_Range': (('channels',), 'd'), |
136 'DAQ_Range': (('channels',), 'd'), |
138 'Pol_Calib_Range_Min': (('channels',), 'd'), |
137 'Pol_Calib_Range_Min': (('channels',), 'd'), |
139 'Pol_Calib_Range_Max': (('channels',), 'd'), |
138 'Pol_Calib_Range_Max': (('channels',), 'd'), |