to_physical#

jeanspy.parameters.SamplingParameter.to_physical

Class and construction: SamplingParameter.

SamplingParameter.to_physical(value)[source]#

Convert a scalar/array, preserving shape; invalid values yield NaN/inf.

Physical units are those of param_name; arccos returns radians. The consuming likelihood is responsible for its physical-domain check.