DeflectorBase and SourcePopBase currently share the same overall responsibility, providing a sample deflector or source from a predefined population of galaxies.
Proposed Solution
Merge DeflectorBase and SourcePopBase into a single Population class that takes an AstroPy.Table as input and provides a method for drawing a single sample from the given table, see Figure in #223. In the future this class should also accept transient metadata associated with the galaxies and provide them with sampling, as well as construct a Galaxy object from the drawn sample.
Current Status
DeflectorBase
andSourcePopBase
currently share the same overall responsibility, providing a sample deflector or source from a predefined population of galaxies.Proposed Solution
Merge
DeflectorBase
andSourcePopBase
into a singlePopulation
class that takes anAstroPy.Table
as input and provides a method for drawing a single sample from the given table, see Figure in #223. In the future this class should also accept transient metadata associated with the galaxies and provide them with sampling, as well as construct aGalaxy
object from the drawn sample.To-Do List