kazewong / jim

Gravitational-wave data analysis tools in Jax
MIT License
52 stars 17 forks source link

Adding generic transformation function #83

Open tsunhopang opened 1 month ago

tsunhopang commented 1 month ago

It would be good to have a more generic transformation function/interface than the currently available 1-to-1 mapping function in jim.

That would be particularly useful for nuclear equation-of-state study, in which one would need to sample over the masses (2 parameters) and the EOS parameters (1 to N), then transform them into the tidal deformabilities (2 parameters) by solving the TOV equations.

kazewong commented 1 month ago

So currently the prior and transforms are lumped together, which I think to some extent limits the flexibility in composing transforms and priors. Perhaps we should revisit this idea and separate the transforms from priors