Closed JoanneBogart closed 9 months ago
Since we'll be changing the galaxy SED model soon, and since so much code has been added/changed here having to do with the top hat SEDs, this seems like a good opportunity to refactor the catalog_creator.py code to remove the assumption that top hat SEDs will be used for galaxies. So, I'd suggest making _make_tophat_columns a method
of TopHatSedFactory
and integrating the functionality in _get_tophat_info
into TopHatSedFactory.__init__
, and having things like ._sed_bins
be attributes of TopHatSedFactory
instead of the CatalogCreator
class.
Concerning your comment about tophat SEDs - yes, the current assumptions about tophat SEDs will have to go, but there will be other changes involved in supporting multiple galaxy types. I'd rather deal with them together (as they are likely inter-related) in a separate PR.
Add options to the catalog creation script, applying to galaxies only, which