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

Making per particle spectra an emission model attribute not a method choice #714

Closed WillJRoper closed 3 months ago

WillJRoper commented 3 months ago

This PR introduces the per_particle flag to an EmissionModel.

These changes allow the user to predefined which emissions they want to be per particle and which should be integrated. They also enable the mixing of per particle component emissions and galaxy level integrated emissions which previously had to be done in stages with different models.

Issue Type

Checklist

WillJRoper commented 3 months ago

In draft because I haven't made the corresponding updates to the docs.