Reference/API

paintbox Package

Classes

ParametricModel(wave, params, templates)

Interpolation of SED model templates parametrically.

NonParametricModel(wave, templates[, names])

Weighted linear combination of SED models.

Polynomial(wave, degree[, pname, zeroth])

Polynomial SED component.

CompositeSED(o1, o2, op)

Combination of SED models.

CCM89(wave[, unit])

Cardelli, Clayton and Mathis (1989) extinction law.

C2000(wave[, unit])

Calzetti et al. (2000) extinction law.

LOSVDConv(obj[, losvdpars, vunit])

Convolution of a SED model with the LOS Velocity Distribution.

Resample(wave, obj)

Resampling of SED model to a new wavelength dispersion.

Constrain(sed)

Constrain parameters of an SED model.

FixParams(sed, fixed_vals)

Fix parameters of SED model.

StudTLogLike(observed, model[, obserr, mask])

Student’s t-distribution log-likelihood.

StudT2LogLike(observed, model[, obserr, mask])

Student’s t-distribution log-likelihood with scaled uncertainties.

NormalLogLike(observed, model[, obserr, mask])

Normal loglikelihood for SED modeling.

Normal2LogLike(observed, model[, obserr, mask])

Variation of the normal log-likelihood with scaled errors.

paintbox.utils Package

Functions

disp2vel(wrange, velscale)

Returns a log-rebinned wavelength dispersion with constant velocity.

broad2lick(wl, intens, obsres[, vel])

Convolve spectra to match the Lick/IDS instrumental resolution.

broad2res(w, flux, obsres, outres[, fluxerr])

Broad resolution of observed spectra to a given resolution.

Classes

Lick(wave, galaxy, bands0[, vel, dw, units])

Class to measure Lick indices.

CvD18([wave, libpath, sigma, store, …])

Utility class for the use of CvD models.