PSims / BayesEoR

Code to estimate the power spectrum of redshifted 21-cm emission from interferometric observations, within a Bayesian forward modelling framework.
https://bayeseor.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Merge preliminary MaximumAPosteriori class into main for complentary changes #15

Closed jburba closed 3 months ago

jburba commented 3 months ago

I worry about the amount of copy/pasting I had to do in the init function of the MaximumAPosteriori class in bayeseor/utils/map.py. I think it would be better to modularize the noise and k cube generation a bit more, but those changes felt outside the scope of this branch.

The MaximumAPosteriori class has been tested and can reliably produce maximum a posteriori visibilities using GPUs.

Changes introduced in this merge: