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

Be able to set dust emission independent of energy balance #765

Open stephenmwilkins opened 1 week ago

stephenmwilkins commented 1 week ago

It would be useful to be able to include dust emission independent of energy balance, since energy balance doesn't necessarily work for realistic geometries.

I'm not entirely sure how best to achieve this though and it probably depends on the context. For example:

WillJRoper commented 1 week ago

This already exists using the Draine+Li model that Aswin implemented.

Nothing in the code ties you to energy balance. You just need to write a “generator” which has a _get_spectra method. Take a look at the operation submodule to see the different ways a generator can be used as it stands.