moustakas / legacyhalos

Code and papers for a multi-faceted study of the baryonic content of dark matter halos in Legacy Survey imaging.
MIT License
4 stars 7 forks source link

code refactor to process the large galaxies with tidal streams #106

Closed moustakas closed 5 years ago

moustakas commented 5 years ago

This PR is a long-overdue refactor of the top-level wrapper script, legacyhalos-mpi, to better handle new samples which can benefit from the custom sky-subtraction and other code infrastructure.

Every project will now get its own dedicated module (e.g., py/legacyhalos/streams.py) and MPI wrapper (e.g., bin/legacystreams-mpi).

This PR also adds more robust error catching in the custom sky-subtraction and in the pipeline processing choices (e.g., to apodize or not).