gemini_instruments.nici package

class gemini_instruments.nici.AstroDataNici(provider)[source]

Bases: gemini_instruments.gemini.adclass.AstroDataGemini

exposure_time()[source]

Returns the exposure time in seconds.

Returns:exposure time for each extension
Return type:float/list of floats
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.

NICI has filter names in the extension HDUs, so this can return a list

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/list of str

pixel_scale()[source]

Returns the image scale in arcseconds per pixel

Returns:the pixel scale
Return type:float

Submodules

gemini_instruments.nici.adclass module

class gemini_instruments.nici.adclass.AstroDataNici(provider)[source]

Bases: gemini_instruments.gemini.adclass.AstroDataGemini

exposure_time()[source]

Returns the exposure time in seconds.

Returns:exposure time for each extension
Return type:float/list of floats
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.

NICI has filter names in the extension HDUs, so this can return a list

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/list of str

pixel_scale()[source]

Returns the image scale in arcseconds per pixel

Returns:the pixel scale
Return type:float