flaresimulations / synthesizer

Synthesizer - a code for creating synthetic astrophysical observables
https://flaresimulations.github.io/synthesizer/
GNU General Public License v3.0
17 stars 9 forks source link

Introducing the instrument module #753

Closed WillJRoper closed 1 month ago

WillJRoper commented 1 month ago

This PR introduces the instrument module. This module defines an Instrument (a class for collecting together properties of a particular instrument, e.g. filters, resolution, PSF, spectroscopy wavelengths, noise, etc.), and an InstrumentCollection for collecting together Instruments.

This functionality lays the foundation for the future Survey pipeline functionality. Additionally, should the user want to use the existing lower-level functionality it enables the portability of instrument properties without carrying around a bunch of variables for each instrument.

Note that this PR moves the filters module to be a submodule of the instrument module. A bridge module has replaced the original filters module, raising a deprecation warning when imported through.

Issue Type

Checklist