gemini_instruments.bhros package

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

Bases: 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:

right ascension in degrees

Return type:

float

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

Returns the name of the disperser. This is always ‘bHROS’

Parameters:
  • stripID (bool) – Does nothing

  • pretty (bool) – Does nothing

Returns:

The name of the disperser

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

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

Bases: 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:

right ascension in degrees

Return type:

float

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

Returns the name of the disperser. This is always ‘bHROS’

Parameters:
  • stripID (bool) – Does nothing

  • pretty (bool) – Does nothing

Returns:

The name of the disperser

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