GeorgeVassilakis / SMPy

From Shear to Map: A Python-based approach to constructing mass maps from lensing measurements.
MIT License
5 stars 3 forks source link

Enhancement: save k-map as FITS file #3

Closed mcclearyj closed 2 months ago

mcclearyj commented 9 months ago

It would be extremely useful to be able to save the convergence maps as FITS files with a WCS defined in the header for overplotting on coadd images in, e.g., DS9. I may make a fork and try implementing this myself!

GeorgeVassilakis commented 9 months ago

Great point and idea! Before you throw a lot of effort into a fork, I'll take a look at it this evening. I'd probably leave it as a parameter like "export_fits = True/False" and export it somehow that way. Will let you know!

GeorgeVassilakis commented 3 months ago

This is currently being addressed in a local branch I've created called add-fits-export. This theoretically works, but am waiting for testing from @mcclearyj before I push!

GeorgeVassilakis commented 2 months ago

This was addressed and implemented in Pull Request #12.