GUIBRUSHR.General_Constants.Classes.Instrument module

class GUIBRUSHR.General_Constants.Classes.Instrument.Instrument(name, path_instrument, resolution, hwhm_km_s=None, wl_min=None, wl_max=None, nights=None, lr_data=None)[source]

Bases: object

Represents an astronomical instrument with its spectral properties and observation nights.

name

Instrument name.

Type:

str

path_instrument

Path to instrument data directory.

Type:

str

resolution

Spectral resolution.

Type:

float

hwhm_km_s

Half-width at half-maximum in km/s.

Type:

float

wl_min

Minimum wavelength.

Type:

float

wl_max

Maximum wavelength.

Type:

float

nights

Underscore-separated observation date identifiers.

Type:

str

dates

Individual date identifiers parsed from nights.

Type:

list

ndate

Number of dates.

Type:

int

nights_unique_bool

Boolean array flagging unique night entries.

Type:

NDArray

night_arr

Array of Night objects.

Type:

NDArray

lr_data

Low-resolution data associated with this instrument.

__init__(name, path_instrument, resolution, hwhm_km_s=None, wl_min=None, wl_max=None, nights=None, lr_data=None)[source]
append_night_obj(night_obj)[source]

Append a Night object to the night_arr array.