CosmoStat / wf-psf

Data-driven wavefront-based PSF modelling framework.
MIT License
19 stars 9 forks source link

Refactor SimPSFToolkit.py #99

Open jeipollack opened 11 months ago

jeipollack commented 11 months ago

The organisation of the SimPSFToolkit.py is very complex with various components comprising the class PSFToolkit that could be decoupled e.g. SED-related functions, telescope properties, etc. into their own class objects. Naming of functions and classes could be improved, e.g. its unclear whether poly means polynomial or polychromatic.

It also doesn't seem necessary to have plotting commands at L1009 inside the function generate_poly_PSF.