sesamme.models

Functions

apply_ext_law(x, ebv, y_model)

Redden a model spectrum for comparison with the data.

get_mask(windowlist, x)

Define one or more subsets of wavelength space to ignore when performing the data-model comparison (e.g., sky or geocoronal lines, ISM features).

get_model(theta, x, model_cube, ion_table[, ...])

Construct a model star cluster spectrum with values of metallicity, age, extinction, and normalization randomly chosen (within bounds).

load_ionization_table(file_name)

Loads in the table of ionizing photon outputs per SSP associated with a model cube.

load_ssp_cube(file_name)

Loads in the SSP model cube.

nebular_continuum(x, theta, ion_table)

Python equivalent of the Starburst99 function CONTINUUM, for computing the approximate nebular continuum.

set_ext_law(ext_curve)

Sets the curve used to extinguish model spectra.