Models (sunkit_spex.models)#

sunkit_spex.models contains a number of functional and physical models.

sunkit_spex.models Package#

sunkit_spex.models.models Module#

Module for generic mathematical models.

Classes#

GaussianModel([amplitude, mean, stddev, edges])

StraightLineModel([slope, intercept, edges])

Class Inheritance Diagram#

Inheritance diagram of sunkit_spex.models.models.GaussianModel, sunkit_spex.models.models.StraightLineModel

sunkit_spex.models.instrument_response Module#

Module for model components required for instrument response models.

Classes#

MatrixModel(matrix)

Class Inheritance Diagram#

Inheritance diagram of sunkit_spex.models.instrument_response.MatrixModel

sunkit_spex.models.scaling Module#

Classes#

Constant([constant])

A model which returns an array with dimensions n-1 of the input dimension populated with a constant value, of whichever units specified by the user.

InverseSquareFluxScaling([observer_distance])

InverseSqaureFluxScaling model converts luminosity output of physical models to a distance scaled flux.

Class Inheritance Diagram#

Inheritance diagram of sunkit_spex.models.scaling.Constant, sunkit_spex.models.scaling.InverseSquareFluxScaling

sunkit_spex.models.physical Package#

sunkit_spex.models.physical.thermal Module#

Classes#

ContinuumEmission([temperature, ...])

LineEmission([temperature, ...])

ThermalEmission([temperature, ...])

Class Inheritance Diagram#

Inheritance diagram of sunkit_spex.models.physical.thermal.ContinuumEmission, sunkit_spex.models.physical.thermal.LineEmission, sunkit_spex.models.physical.thermal.ThermalEmission

sunkit_spex.models.physical.albedo Module#

Functions#

get_albedo_matrix(energy_edges, theta[, ...])

Get albedo correction matrix.

Classes#

Albedo(*args, **kwargs)

Aldedo model which adds albdeo correction to input spectrum.

Class Inheritance Diagram#

Inheritance diagram of sunkit_spex.models.physical.albedo.Albedo