gemini_instruments.graces package

class gemini_instruments.graces.AstroDataGraces(provider)[source]

Bases: gemini_instruments.gemini.adclass.AstroDataGemini

central_wavelength(asMicrometers=False, asNanometers=False, asAngstroms=False)[source]

Returns the central wavelength in meters or the specified units

Parameters:
  • asMicrometers (bool) – If True, return the wavelength in microns
  • asNanometers (bool) – If True, return the wavelength in nanometers
  • asAngstroms (bool) – If True, return the wavelength in Angstroms
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(provider)[source]

Bases: gemini_instruments.gemini.adclass.AstroDataGemini

central_wavelength(asMicrometers=False, asNanometers=False, asAngstroms=False)[source]

Returns the central wavelength in meters or the specified units

Parameters:
  • asMicrometers (bool) – If True, return the wavelength in microns
  • asNanometers (bool) – If True, return the wavelength in nanometers
  • asAngstroms (bool) – If True, return the wavelength in Angstroms
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