ColorArrangement

class sofia_redux.scan.channels.camera.color_arrangement.ColorArrangement(name=None, parent=None, info=None, size=0)[source]

Bases: Camera

The color arrangement channels expand upon the camera channels by defining each as a pixel with a distinct resolution.

Initialize camera channels.

The Camera class extends the Channels class by including additional handling of the channels with respect to their field of view such as rotation with respect to a reference, correlated sky gradient modalities, and how to read and apply the hardware file containing channel data.

Parameters:
namestr, optional

The name for the channels.

parentobject, optional

The owner of the channels such as a Reduction, Scan or Integration.

infosofia_redux.scan.info.info.Info, optional

The channel information.

sizeint, optional

The number of stored channels.

Methods Summary

apply_configuration()

Apply the configuration options to the instrument channels.

get_average_beam_fwhm()

Return the average FWHM of the beam.

get_mapping_pixels([discard_flag, ...])

Return the mapping pixels.

get_max_beam_fwhm()

Return the maximum FWHM of the beam.

get_min_beam_fwhm()

Return the minimum FWHM of the beam.

get_pixel_count()

Return the number of pixels.

get_pixels()

Return the pixel data.

Methods Documentation

apply_configuration()[source]

Apply the configuration options to the instrument channels.

Returns:
None
get_average_beam_fwhm()[source]

Return the average FWHM of the beam.

Returns:
astropy.units.Quantity

The unit type depends on the instrument size unit.

abstract get_mapping_pixels(discard_flag=None, keep_flag=None, match_flag=None)[source]

Return the mapping pixels.

Parameters:
discard_flagint or str or ChannelFlagTypes
keep_flagint or str or ChannelFlagTypes
match_flagint or str or ChannelFlagTypes
Returns:
ChannelGroup
get_max_beam_fwhm()[source]

Return the maximum FWHM of the beam.

Returns:
astropy.units.Quantity

The unit type depends on the instrument size unit.

get_min_beam_fwhm()[source]

Return the minimum FWHM of the beam.

Returns:
astropy.units.Quantity

The unit type depends on the instrument size unit.

abstract get_pixel_count()[source]

Return the number of pixels.

Returns:
int
abstract get_pixels()[source]

Return the pixel data.

Returns:
ChannelData