jesterTOV.inference.base.transform.BijectiveTransform#
- class BijectiveTransform(name_mapping)[source]#
Bases:
NtoNTransformBijective (invertible) N-to-N parameter transform with Jacobian corrections.
Note: This class follows the Jim/jimgw architecture. Used for sample transforms where parameters are transformed during MCMC sampling and Jacobian corrections are applied to the prior.
- __init__(name_mapping)#
Methods
__init__(name_mapping)backward(y)Pull back the input y to original coordinate x (without Jacobian).
forward(x)Push forward the input x to transformed coordinate y.
inverse(y)Inverse transform the input y to original coordinate x.
propagate_name(x)Propagate parameter names through the transform.
transform(x)Transform the input x to transformed coordinate y and return the log Jacobian determinant.
Attributes
n_dimtransform_funcname_mapping