MPoL-dev / MPoL

A flexible Python platform for Regularized Maximum Likelihood imaging
https://mpol-dev.github.io/MPoL/
MIT License
33 stars 11 forks source link

Fits image processor #210

Closed jeffjennings closed 9 months ago

jeffjennings commented 9 months ago

I think this is the best approach to adding these functionalities into the codebase, as beam_utils isn't public, and anyway making it a dependency would inherit its casatools and similiar dependencies. I've very slightly modified the code for the functions from beam_utils. Most of this functionality is already in a tutorial, but the wrapping class in this PR is very convenient to load in a clean image for comparison. The class will be used in #211 to load a clean .fits image for comparison to cross-val MPoL results.

jeffjennings commented 9 months ago

Ok cool I see, thanks for explaining beam_utils - I didn't want to steal from it. And yeah, big reasons not to add those dependencies. Thanks for the review!