Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiardie committed Sep 19, 2024
1 parent 8332b4b commit 78b1a5e
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions mflike/foreground.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,13 +596,17 @@ def _bandpass_construction(self, _initialize=False, **params):
When the chromatic beam is considered, we compute
:math:`r_{\ell}^T(\nu+\Delta \nu) = \frac{\frac{\partial B_{\nu+\Delta \nu}}{\partial T}
\tau(\nu+\Delta \nu) b^T_{\ell}(\nu + \Delta \nu)}
\tau(\nu+\Delta \nu) b^T_{\ell}(\nu)}
{\int d\nu
\frac{\partial B_{\nu+\Delta \nu}}{\partial T} \tau(\nu+\Delta \nu)
b^T_{\ell}(\nu + \Delta \nu)}`
b^T_{\ell}(\nu)}`
for the temperature field, and a corresponding expression for the polarization field,
replacing the temperature beam with the polarization one
:math:`b^P_{\ell}(\nu + \Delta \nu)`.
:math:`b^P_{\ell}(\nu)`. If we want to propagate the bandpass shifts to the beam, we
compute instead :math:`r_{\ell}^T(\nu+\Delta \nu) = \frac{\frac{\partial B_{\nu+\Delta \nu}}{
\partial T} \tau(\nu+\Delta \nu) b^T_{\ell}(\nu + \Delta \nu)}
{\int d\nu \frac{\partial B_{\nu+\Delta \nu}}{\partial T} \tau(\nu+\Delta \nu)
b^T_{\ell}(\nu + \Delta \nu)}`.
:param \**params: dictionary of nuisance parameters
:return: the list of [nu, transmission] in the multifrequency case
Expand Down Expand Up @@ -855,11 +859,12 @@ def return_beams(self, exp, nu, dnu):
to normalize them in the correct way (temperature beam = 1 for :math:`\ell = 0`).
The polarization beam is normalized by the temperature one (as in ``hp.gauss_beam``).
In the presence of bandpass shift, we have to select the monochromatic beam :math:`b_{\ell}`
computed from the planet beam assuming that bandpass shift. This has to be present in the
``self.bandpass_shifted_beams`` dictionary. From each of these :math:`b_{\ell}`, the
chromatic beam is computed with the scaling :math:`b_{\ell (\nu / \nu_0)^{-\alpha / 2}}`,
where :math:`\nu_0` and :math:`\alpha` are also found in the same dictionary.
If we want to propagate bandpass shifts to the beams, we have to select the
monochromatic beam :math:`b_{\ell}` computed from the planet beam assuming
that bandpass shift. This has to be present in the ``self.bandpass_shifted_beams``
dictionary. From each of these :math:`b_{\ell}`, the chromatic beam is computed
with the scaling :math:`b_{\ell (\nu / \nu_0)^{-\alpha / 2}}`, where :math:`\nu_0`
and :math:`\alpha` are also found in the same dictionary.
:param nu: the frequency array in GHz (for now, the math:`\nu` array is the same
between bandpass file and beam file for the same experiment/array.
Expand Down

0 comments on commit 78b1a5e

Please sign in to comment.