StackedBasicRow#

class StackedBasicRow[source]#

Bases: object

Describes the scalar data associated with a stacked spectrum

name: str#

Stacked spectrum name without path and extension

group: int#

Group index

instrument: str#

Instrument name

mjd: float64#

mjd weighted average

rv_mean: float64#

Average rv correction (median), same for all spectra

rv_shift: float64#

RV correction, shift compared to the median, weighted average

SNR_5500: float64#

Corresponds to the square root of the 95th percentile for 100 bins around the wavelength=5500

jdb: float64#

jdb weighted average

berv: float64#

berv, weighted average

berv_min: float64#

min(berv) for the individual spectra in the group

berv_max: float64#

max(berv) for the individual spectra in the group

lamp_offset: float64#

lamp_offset, weighted average

acc_sec: float64#

acc_sec, taken from first spectrum

hole_left: float64#

Left boundary of hole, or -99.9 if not present

hole_right: float64#

Right boundary of hole, or -99.9 if not present

wave_min: float64#

Minimum wavelength

wave_max: float64#

Maximum wavelength, not necessarily equal to np.max(static_grid)

dwave: float64#

delta between two bins, synonym dlambda

stacking_length: float64#

Number of days using for the stacking

nb_spectra_stacked: int64#

Number of individual spectra using for this individual spectrum

nb_bins: int64#
mean_jdb: float64#

Time weighted by the radial velocity uncertainty (info for YARARA)

mean_vrad: float64#

Radial velocity weighted by the radial velocity uncertainty (info for YARARA)

Median not recentered over all averages, YARAR takes care of that

mean_svrad: float64#

Propagated harmonic mean of the radial velocity uncertainties (info for YARARA)

__init__(name, group, instrument, mjd, rv_mean, rv_shift, SNR_5500, jdb, berv, berv_min, berv_max, lamp_offset, acc_sec, hole_left, hole_right, wave_min, wave_max, dwave, stacking_length, nb_spectra_stacked, nb_bins, mean_jdb, mean_vrad, mean_svrad)#