gemini_instruments.graces package

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

Bases: AstroDataGemini

central_wavelength()[source]

Returns the central wavelength

Returns:

The central wavelength setting

Return type:

float

dec()[source]

Returns the Declination of the center of field in degrees. Since a fiber is used it coincides with the position of the target. For code re-used, use target_dec() if you really want the position of the target rather than the center of the field.

Returns:

declination in degrees

Return type:

float

detector()[source]
disperser(stripID=False, pretty=False)[source]

Returns the name of the disperser. For GRACES, this is always “GRACES”.

Parameters:
  • stripID (bool) – Does nothing.

  • pretty (bool) – Also does nothing.

Returns:

The name of the disperser, “GRACES”.

Return type:

str

ra()[source]

Returns the Right Ascension of the center of field in degrees. Since a fiber is used it coincides with the position of the target. For code re-used, use target_ra() if you really want the position of the target rather than the center of the field.

Returns:

right ascension in degrees

Return type:

float

Submodules

gemini_instruments.graces.adclass module

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

Bases: AstroDataGemini

central_wavelength()[source]

Returns the central wavelength

Returns:

The central wavelength setting

Return type:

float

dec()[source]

Returns the Declination of the center of field in degrees. Since a fiber is used it coincides with the position of the target. For code re-used, use target_dec() if you really want the position of the target rather than the center of the field.

Returns:

declination in degrees

Return type:

float

detector()[source]
disperser(stripID=False, pretty=False)[source]

Returns the name of the disperser. For GRACES, this is always “GRACES”.

Parameters:
  • stripID (bool) – Does nothing.

  • pretty (bool) – Also does nothing.

Returns:

The name of the disperser, “GRACES”.

Return type:

str

ra()[source]

Returns the Right Ascension of the center of field in degrees. Since a fiber is used it coincides with the position of the target. For code re-used, use target_ra() if you really want the position of the target rather than the center of the field.

Returns:

right ascension in degrees

Return type:

float