SpectralChi2LikelihoodAddErr

class starkit.fitkit.likelihoods.SpectralChi2LikelihoodAddErr(observed, add_err=0.0)[source]

Bases: StarKitModel

Attributes Summary

add_err

inputs

outputs

param_names

Names of the parameters that describe models of this type.

Methods Summary

evaluate(wavelength, flux, add_err)

Evaluate the model on some input variables.

Attributes Documentation

add_err = Parameter('add_err', value=0.0)
inputs = ('wavelength', 'flux')
outputs = ('loglikelihood',)
param_names = ('add_err',)

Names of the parameters that describe models of this type.

The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.

When defining a custom model class the value of this attribute is automatically set by the Parameter attributes defined in the class body.

Methods Documentation

evaluate(wavelength, flux, add_err)[source]

Evaluate the model on some input variables.