Restructuring variable transformations
-
posterior_utils.pynow only has sampling algorithms - all variable transformations are done using functions in
transforms.py -
posterior_utils.generate_obs_from_true_listnow only outputs samples in chirp mass, symmetric mass ratio, SNR, and theta -
transforms.transformconverts these into the parameters that the user wants -
transforms.transformcomputes jacobians for these transforms and reports the induced prior in terms of whatever parameters were asked for -
generate-mock-PE.pycontains an pseudo-config file as the first several lines of code where the user can specify which variables and prior they want. There are limited options, but they should cover anything wanted in a hierarchical population inference.
Edited by Amanda Farah