I went through the library. I will put a first pass at some changes I think we should make to the global structure in this issue.
- calibration.py should perform local and global metacal calibration
- let's move the metacal class out of basic.py into a separate metacal.py and get rid of basic.py completely
- add an ellipticity.py that switches between e1, e2, and e_t, e_x, as well as between different ellipticity conventions, this will help with handling different input catalogs
- stats.py will handle all of the stats functions in basic.py
- should the metacal class interact directly with catalogs? i feel like some of this should go into io.py
- util.py should be split into binning functions and vos functions
- survey.py has to do with the footprint, should we combine this with galaxy.py? at any rate, galaxy.py must be renamed. also, the conversion between fwhm and sigma belongs in stats
- it makes sense to group all cosmology things in one place, but i think there needs to be a further separation of the theory and data functionality.
- galaxy cluster functions needs to be together
- catalog.py again is a mix of stats and io, though it does perform a number of initial sanity checks. maybe we should rename it to cat_quick_check or something along those lines?
comments welcome- I'm sure I didn't consider every use case, so there are probably adaptations of the above that will make more sense.
I went through the library. I will put a first pass at some changes I think we should make to the global structure in this issue.
comments welcome- I'm sure I didn't consider every use case, so there are probably adaptations of the above that will make more sense.