Magritte-code / Magritte

A modern software library for simulating radiation transport.
https://magritte.readthedocs.io
GNU General Public License v3.0
18 stars 12 forks source link

Feature request: continuum opacities/emissivities #218

Open ThomasCeulemans opened 1 year ago

ThomasCeulemans commented 1 year ago

We should add an option for adding continuum opacities/emissivities (frequency independent constant terms). This requires some refactoring for solver::get_source_dtau and maybe even adding some datastructures to store these new things.

However, as I not the main user myself, I do not exactly know what to implement:

If you are interested in seeing continuum contributions to emissivity/opacity being implemented in Magritte, please comment in this thread.

jing-ze-ma commented 11 months ago

I think this would make Magritte more impactful in producing synthetic images. Maybe frequency-dependent terms are better. For H- free-free opacity which dominates the cool star continuum in ALMA range, a standard formula to use is given here https://ui.adsabs.harvard.edu/abs/1988A%26A...193..189J/abstract which depends on density, temperature, and frequency.