From 5059a54fcb206e1c9c6c59c137443b4556459b6a Mon Sep 17 00:00:00 2001 From: Adam Ginsburg Date: Thu, 18 Aug 2022 13:37:15 -0400 Subject: [PATCH 1/3] Clarify columns included in the mean_opacities file --- docs/advanced/dust_file.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/advanced/dust_file.rst b/docs/advanced/dust_file.rst index 21afa90a..c216d336 100644 --- a/docs/advanced/dust_file.rst +++ b/docs/advanced/dust_file.rst @@ -86,7 +86,12 @@ The temperatures specified should range from 0.1K (or less) to a temperature safely above the maximum temperature expected for the dust in the system. -``emissivities`` +The resulting hdf5 file will end up with [8 columns](https://github.com/hyperion-rt/hyperion/blob/2159b39f5cafaeb653f2541502eef194a78102d6/hyperion/dust/mean_opacities.py#L15-L27): +``temperature``, ``specific_energy``, ``chi_planck``, ``kappa_planck``, ``chi_inv_planck``, +``kappa_inv_planck``, ``chi_rosseland``, ``kappa_rosseland``. +The ``_inv`` columns are the inverse (reciprocal) of their counterparts. + + ---------------- This dataset should consist of a table specifying the emissivities. The From 3fed0c7a8a11ec0d548af27a13a1ed4ceae9e40d Mon Sep 17 00:00:00 2001 From: Adam Ginsburg Date: Thu, 18 Aug 2022 13:38:13 -0400 Subject: [PATCH 2/3] Update dust_file.rst --- docs/advanced/dust_file.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/dust_file.rst b/docs/advanced/dust_file.rst index c216d336..a8279c08 100644 --- a/docs/advanced/dust_file.rst +++ b/docs/advanced/dust_file.rst @@ -91,7 +91,7 @@ The resulting hdf5 file will end up with [8 columns](https://github.com/hyperion ``kappa_inv_planck``, ``chi_rosseland``, ``kappa_rosseland``. The ``_inv`` columns are the inverse (reciprocal) of their counterparts. - +``emissivities`` ---------------- This dataset should consist of a table specifying the emissivities. The From a7b64a67c32665863abda550dbfdc3f08dbe5054 Mon Sep 17 00:00:00 2001 From: Adam Ginsburg Date: Thu, 18 Aug 2022 13:46:11 -0400 Subject: [PATCH 3/3] Update dust_file.rst Where are these inverse opacities used? --- docs/advanced/dust_file.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/advanced/dust_file.rst b/docs/advanced/dust_file.rst index a8279c08..21e329f1 100644 --- a/docs/advanced/dust_file.rst +++ b/docs/advanced/dust_file.rst @@ -90,6 +90,8 @@ The resulting hdf5 file will end up with [8 columns](https://github.com/hyperion ``temperature``, ``specific_energy``, ``chi_planck``, ``kappa_planck``, ``chi_inv_planck``, ``kappa_inv_planck``, ``chi_rosseland``, ``kappa_rosseland``. The ``_inv`` columns are the inverse (reciprocal) of their counterparts. +Where the Planck mean is $$\frac{\int \kappa_\nu B_\nu d \nu}{\int B_\nu d\nu}$$, +the inverse is $$\frac{\int B_\nu d \nu}{\int \kappa_\nu^{-1} B_\nu d\nu}$$. ``emissivities`` ----------------