ExampleChannelGroup¶
- class sofia_redux.scan.custom.example.channels.channel_group.channel_group.ExampleChannelGroup(channel_data, indices=None, name=None)[source]¶
Bases:
ExampleChannelData
,ChannelGroup
Initialize a channel group for the example instrument.
- Parameters:
- channel_dataExampleChannelData or ExampleChannelGroup or object
The channel data to reference. If an object is supplied, it must have a valid
data
attribute.- indicesnumpy.ndarray (int), optional
The indices of the parent data that will belong to the channel group. If no indices are supplied, the entire data will be referenced.
- namestr, optional
The name of the channel group.
Methods Summary
read_pixel_data
(filename)Read a pixel data file and apply the results.
set_channel_data
(index, channel_info)Set the channel info for a selected index.
Validates data read from the pixel data file.
Validates weight data.
Methods Documentation
- read_pixel_data(filename)[source]¶
Read a pixel data file and apply the results.
- Parameters:
- filenamestr
File path to the pixel data file.
- Returns:
- None