sncosmo.PropagationEffect

class sncosmo.PropagationEffect[source]

Abstract base class for propagation effects.

Derived classes must define _minwave (float), _maxwave (float).

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get(name)

Get parameter of the model by name.

maxwave()

minwave()

propagate(wave, flux)

set(**param_dict)

Set parameters of the model by name.

update(param_dict)

Set parameters of the model from a dictionary.

Attributes

param_names

List of parameter names.

parameters

Parameter value array