prashjet / popkinmocks

Create mock IFU datacubes for stellar population and kinematic modelling.
https://popkinmocks.readthedocs.io/
MIT License
4 stars 1 forks source link

Fix conditionals for mix mod #6

Closed prashjet closed 2 years ago

prashjet commented 2 years ago

Conditional distributions for a mixture model are not a mixture of conditional distributions. Instead they must be evaluated from the mixture joint and marginals. This PR fixes this, implemeted in cube.get_conditional_mass_weighted_distributions.

Also added,