axis_scale

ell1fit.orbit_plot.axis_scale(parameter, samples)[source]

Choose the centre and unit that make one parameter’s posterior readable.

Parameters:
parameterstr

Parameter name, used to look up CONVENTIONS.

samplesarray-like

Physical posterior samples, in the parameter’s stored units.

Returns:
AxisScale

Centre, unit and label; call AxisScale.apply() to place samples.