ParameterAxis#

class uvex_transients.phase_space.sampling.core.ParameterAxis(axis: str, parameter: str, unit: UnitBase)[source]#

The link from one axis of a sampler’s space to one parameter of its transient’s SED.

The coordinate on a "log10" axis is \(\log_{10}(\mathrm{value}/\mathrm{unit})\), and on a "linear" axis it is \(\mathrm{value}/\mathrm{unit}\).

Raises:

ValueError – If unit is not a unit.

Methods

value(coordinate, scale)

Return the parameter value that a coordinate stands for.

Attributes

axis

The name of the axis, one of the names of the sampler's space.

parameter

The name of the parameter on the SED of the transient, for example "amplitude".

unit

The unit the coordinate is measured in.