gemini_instruments.trecs package

class gemini_instruments.trecs.AstroDataTrecs(nddata=None, tables=None, phu=None, indices=None, is_single=False)[source]

Bases: AstroDataGemini

central_wavelength()[source]

Returns the central wavelength in microns

Returns:

The central wavelength setting

Return type:

float

detector_x_offset()[source]

Returns the offset from the reference position in pixels along the positive x-direction of the detector

Returns:

The offset in pixels

Return type:

float

detector_y_offset()[source]

Returns the offset from the reference position in pixels along the positive y-direction of the detector

Returns:

The offset in pixels

Return type:

float

dispersion()[source]

Returns the dispersion in microns per pixel as a list (one value per extension) or a float if used on a single-extension slice. It is possible to control the units of wavelength using the input arguments.

Returns:

The dispersion(s)

Return type:

list/float

gain()[source]

Returns the gain (electrons/ADU) for each extension

Returns:

Gains used for the observation

Return type:

list of floats/float

pixel_scale()[source]

Returns the image scale in arcseconds per pixel

Returns:

the pixel scale

Return type:

float

Submodules

gemini_instruments.trecs.adclass module

class gemini_instruments.trecs.adclass.AstroDataTrecs(nddata=None, tables=None, phu=None, indices=None, is_single=False)[source]

Bases: AstroDataGemini

central_wavelength()[source]

Returns the central wavelength in microns

Returns:

The central wavelength setting

Return type:

float

detector_x_offset()[source]

Returns the offset from the reference position in pixels along the positive x-direction of the detector

Returns:

The offset in pixels

Return type:

float

detector_y_offset()[source]

Returns the offset from the reference position in pixels along the positive y-direction of the detector

Returns:

The offset in pixels

Return type:

float

dispersion()[source]

Returns the dispersion in microns per pixel as a list (one value per extension) or a float if used on a single-extension slice. It is possible to control the units of wavelength using the input arguments.

Returns:

The dispersion(s)

Return type:

list/float

gain()[source]

Returns the gain (electrons/ADU) for each extension

Returns:

Gains used for the observation

Return type:

list of floats/float

pixel_scale()[source]

Returns the image scale in arcseconds per pixel

Returns:

the pixel scale

Return type:

float