ExampleDetectorArrayInfo

class sofia_redux.scan.custom.example.info.detector_array.ExampleDetectorArrayInfo[source]

Bases: InfoBase

Initialize the detector array information for the example instrument.

Attributes Summary

COLS

ROWS

boresight_index

pixel_size

Methods Summary

equatorial_to_detector_coordinates(equatorial)

Convert equatorial coordinates to detector coordinates.

get_sibs_position(row, col)

Given a subarray, row, and column, return the pixel position.

initialize_channel_data(data)

Apply this information to create and populate the channel data.

Attributes Documentation

COLS = 11
ROWS = 11
boresight_index = x=5.0 y=5.0 <sofia_redux.scan.coordinate_systems.coordinate_2d.Coordinate2D object>
pixel_size = <Quantity 2. arcsec>

Methods Documentation

equatorial_to_detector_coordinates(equatorial)[source]

Convert equatorial coordinates to detector coordinates.

Parameters:
equatorialEquatorialCoordinates
Returns:
detector_coordinatesCoordinate2D
get_sibs_position(row, col)[source]

Given a subarray, row, and column, return the pixel position.

The SIBS position are in tEl, tXel coordinates in units of the pixel_size attribute.

Parameters:
rowint or float or numpy.ndarray (int or float)

The channel/pixel detector row.

colint or float or numpy.ndarray (int or float)

The channel/pixel detector column.

Returns:
positionCoordinate2D

The pixel (x, y) pixel positions.

initialize_channel_data(data)[source]

Apply this information to create and populate the channel data.

Parameters:
dataExampleChannelData
Returns:
None