FitModel
(elec_distr=None, jet=None, name='no-name', out_dir=None, flag=None, template=None, loglog_poly=None, analytical=None, nu_size=100, **keywords)[source]¶Bases: jetset.base_model.Model
This class creates an interface to handle a fit Model. The relevant class members are
SED
object storing the SED data points- model_pars, a
par_array_builder
object returned by theSSC_param
constructorjet_builder
object
Parameters
Parameters: |
|
---|
Members
Variables: |
|
---|
Methods Summary
PlotModel (Plot[, clean, autoscale, label]) |
|
add_component (moldel_comp) |
|
eval ([nu, fill_SED, get_model, loglog, …]) |
evaluates the SED for the current parameters and fills the SED member |
fit (SEDdata, nu_min, nu_max[, fitname]) |
shortcut to call minimizer.fit_SED() |
get (par_name, *args) |
returns the value of a specific keyword for a specific parameter of the parameter array |
get_conf_range (par_name[, frac_range]) |
|
get_val (par_name) |
returns the value of a specific parameter of the parameter array |
set (par_name, *args, **kw) |
sets the value of a specific parameter of the parameter array |
set_nu_grid ([nu_min, nu_max, nu_size]) |
|
show_pars () |
shows all the parameters of the fit_array |
Methods Documentation
eval
(nu=None, fill_SED=True, get_model=False, loglog=False, plot=None, label=None, phys_output=False)[source]¶evaluates the SED for the current parameters and fills the SED
member
fit
(SEDdata, nu_min, nu_max, fitname=None)[source]¶shortcut to call minimizer.fit_SED()
Parameters: |
|
---|
get
(par_name, *args)[source]¶returns the value of a specific keyword for a specific parameter of the parameter array
Parameters: | par_name – |
---|
Note
see the documentation of par_array_builder
for arguments and keywords
get_val
(par_name)[source]¶returns the value of a specific parameter of the parameter array
Parameters: | par_name – |
---|
Note
see the documentation of par_array_builder
for arguments and keywords