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

[joss-review] Add testing #21

Open zonca opened 2 months ago

zonca commented 2 months ago

It would be useful to have a way of testing the package.

Already we can run the example and verify if the package runs, but we do not know if the results make sense.

I think the easiest way would be to add a script in the analysis phase of the example run: https://bayeseor.readthedocs.io/en/latest/usage.html#analyzing-bayeseor-outputs

this should check that the results are reasonable, for example checking the average value of some parameters and making sure they agree with the expected values with some assert statements.