HawcPlusChannelGroup¶
- class sofia_redux.scan.custom.hawc_plus.channels.channel_group.channel_group.HawcPlusChannelGroup(channel_data, indices=None, name=None)[source]¶
Bases:
HawcPlusChannelData
,ChannelGroup
Initialize a HAWC+ channel group.
The channel group acts on a subset of the full channel data.
- Parameters:
- channel_dataHawcPlusChannelData
The channel data on which to base the group.
- indicesnumpy.ndarray (int), optional
The indices of ChannelData that will belong to the ChannelGroup. If no indices are supplied, the entire ChannelData will be referenced.
- namestr, optional
The name of the ChannelGroup.
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