Instrument

class breads.instruments.Instrument(ins_type='custom', verbose=True)[source]

Bases: object

Initialize instrument

Parameters:
ins_type
verbose

Methods Summary

broaden(wvs, spectrum)

check_instrument_type()

Check that an instrument type is implemented and supported.

instruments_implemented()

Infer the list of implemented instruments based on introspection of python files in this package

manual_data_entry(wavelengths, data, noise, ...)

read_data(filename)

remove_bad_pixels([chunks, mypool, ...])

valid_data_check()

Methods Documentation

broaden(wvs, spectrum)[source]
check_instrument_type()[source]

Check that an instrument type is implemented and supported.

Returns:
instruments_implemented()[source]

Infer the list of implemented instruments based on introspection of python files in this package

Returns:
manual_data_entry(wavelengths, data, noise, bad_pixels, bary_RV)[source]
read_data(filename)[source]
remove_bad_pixels(chunks=20, mypool=None, med_spec=None, nan_mask_boxsize=3)[source]
valid_data_check()[source]