gemini_instruments.flamingos package

class gemini_instruments.flamingos.AstroDataFlamingos(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.

Parameters:
  • stripID (<bool>) – Does nothing.
  • pretty (<bool>) – Also does nothing.
Returns:

Name of the disperser.

Return type:

<str>

exposure_time()[source]

Returns the exposure time in seconds.

Returns:Exposure time.
Return type:float
filter_name(stripID=False, pretty=False)[source]

Returns the name of the filter(s) used. The component ID can be removed with either ‘stripID’ or ‘pretty’. If a combination of filters is used, the filter names will be join into a unique string with ‘&’ as separator. If ‘pretty’ is True, filter positions such as ‘Open’, ‘Dark’, ‘blank’, and others are removed leaving only the relevant filters in the string.

Parameters:
  • stripID (bool) – If True, removes the component ID and returns only the name of the filter.
  • pretty (bool) – Same as for stripID. Pretty here does not do anything more.
Returns:

The name of the filter combination with or without the component ID.

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.flamingos.adclass module

class gemini_instruments.flamingos.adclass.AstroDataFlamingos(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.

Parameters:
  • stripID (<bool>) – Does nothing.
  • pretty (<bool>) – Also does nothing.
Returns:

Name of the disperser.

Return type:

<str>

exposure_time()[source]

Returns the exposure time in seconds.

Returns:Exposure time.
Return type:float
filter_name(stripID=False, pretty=False)[source]

Returns the name of the filter(s) used. The component ID can be removed with either ‘stripID’ or ‘pretty’. If a combination of filters is used, the filter names will be join into a unique string with ‘&’ as separator. If ‘pretty’ is True, filter positions such as ‘Open’, ‘Dark’, ‘blank’, and others are removed leaving only the relevant filters in the string.

Parameters:
  • stripID (bool) – If True, removes the component ID and returns only the name of the filter.
  • pretty (bool) – Same as for stripID. Pretty here does not do anything more.
Returns:

The name of the filter combination with or without the component ID.

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