Reference/API#

aesop Package#

Functions#

cross_corr(target_spectrum, model_spectrum, ...)

Cross correlate an observed spectrum with a model.

get_phoenix_model_spectrum(T_eff[, log_g, cache])

Download a PHOENIX model atmosphere spectrum for a star with given properties.

get_spectrum_mask(spectrum[, cutoff, plot])

Fit the raw, pre-normalized spectrum's blaze function with a Gaussian.

glob_spectra_paths(data_dir, target_names)

Collect paths to spectrum FITS files.

integrate_spectrum_trapz(spectrum, ...[, ...])

Integrate the area under a spectrum.

interpolate_spectrum(spectrum, new_wavelengths)

Linearly interpolate a spectrum onto a new wavelength grid.

json_to_stars(json_path)

Loads JSON archive into list of StarProps objects.

query_for_T_eff(identifier)

Get the approximate effective temperature of a star.

query_for_spectral_type(identifier[, ...])

Search SIMBAD for the spectral type of a star.

slice_spectrum(spectrum, min_wavelength, ...)

Return a slice of a spectrum on a smaller wavelength range.

stars_to_json(star_list[, output_path])

Save list of stellar properties to a JSON file.

uncalibrated_s_index(spectrum[, plots])

Calculate the uncalibrated S-index from an Echelle spectrum.

Classes#

EchelleSpectrum(spectrum_list[, header, ...])

Echelle spectrum of one or more spectral orders.

FitParameter(value[, err_upper, err_lower, ...])

Fit results for a fitting parameter, with asymmetrical errors.

Measurement([value, err, time, default_err, ...])

Spectrum1D([wavelength, flux, name, mask, ...])

Simple 1D spectrum object.

StarProps([name, s_apo, s_mwo, time])

S-index properties for a star

Class Inheritance Diagram#

Inheritance diagram of aesop.spectra.EchelleSpectrum, aesop.activity.FitParameter, aesop.activity.Measurement, aesop.spectra.Spectrum1D, aesop.activity.StarProps