naimatic.main

A wrapper around naima to facilitate multiple model building and fitting.

Attributes

Functions

load_data(data_dict)

Load data from the provided dictionary of file paths.

model_func(data, model_cfg, radiative_models)

Compute the total flux for the given data and model configuration.

lnprior(pars, labels, priors_dict)

Compute the log-prior probability for the given parameters.

wrapped_model_func(pars, data, model_cfg, pdist, rmodels)

Wrapper for the model function to handle parameter extraction and units.

wrapped_lnprior_func(pars, labels, priors)

Wrapper for the log-prior function to handle parameter extraction.

main()

Module Contents

naimatic.main.logger[source]
naimatic.main.parser[source]
naimatic.main.args[source]
naimatic.main.load_data(data_dict)[source]

Load data from the provided dictionary of file paths.

naimatic.main.model_func(data, model_cfg, radiative_models)[source]

Compute the total flux for the given data and model configuration.

naimatic.main.lnprior(pars, labels, priors_dict)[source]

Compute the log-prior probability for the given parameters.

naimatic.main.wrapped_model_func(pars, data, model_cfg, pdist, rmodels)[source]

Wrapper for the model function to handle parameter extraction and units.

naimatic.main.wrapped_lnprior_func(pars, labels, priors)[source]

Wrapper for the log-prior function to handle parameter extraction.

naimatic.main.main()[source]