.. _HF_abs: Computing the HF absorption ===================================== Refractive index ------------------------------------ Use of the Appleton-Hartree equation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The refractive index in the D-region may be computed by: [zawdie2017]_ [davies1990]_ .. math:: n^2 = 1 - 2 X \frac{1 - i Z_{ah} - X}{2(1 - i Z_{ah})(1 - i Z_{ah} - X) - Y^2 \sin^2 \theta \pm \sqrt{Y^4 \sin^4 \theta + 4 Y^2 \cos^2\theta \left(1 - i Z_{ah} - X\right)^2}} where - :math:`X = f_N^2/f^2` represents the contribution of the electron density to the absorption - :math:`Y = f_{ecf}/f` is the magnetic field term - :math:`Z_{ah} = \nu/(2\pi f)` is the effect of collisions. - :math:`f_N` is the plasma frequency - :math:`f_{ecf}` is the electron cyclotron frequency - :math:`\theta` is the angle between the magnetic field and the wave The collision frequencies are found from Section :ref:`coll-freq`. The plasma frequency ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The plasma frequency only depend on the electron density. Since this is an attribute of the :py:class:`~lir_achem.class_definition.electrons` class, the class instance is the only variable needed. The electron cyclotron frequency ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This frequency only depends on the magnetic field. To get the field, we use the IGRF 13 model (through the `igrf `_ Python library). From this model, we can recover in particular the magnetic field amplitude as well as the inclination. By convention, the inclination positive when the field is pointing downwards, so :math:`\theta` is obtained by adding 90° to the inclination. Computation of the absorption ----------------------------------- From [davies1990]_, the absorption in the D-region may be found by: .. math:: L_\alpha = -8.68 \int \kappa ds where :math:`\kappa` is the absorption coefficient. It is given by: .. math:: \kappa = \frac{e^2}{2 \epsilon_0 m c} \frac{1}{\mu} \frac{n_e \nu_{ah}}{\nu_{ah}^2 + (2\pi f \pm 2\pi f_{ecf} \cos \theta)^2} - :math:`\mu` is the real part of the refractive index (see below). Once :math:`n` is known, :math:`\kappa` can be computed. Then, :math:`L_\alpha` can be estimated. The computation of :math:`L_\alpha` requires knowing the path of the wave. As a first approximation, we estimate that there are two cases: - The wave encounters an altitude in the D-region where :math:`f = fN`. It is reflected at that altitude, and :math:`L_\alpha` will represent the absorption of the wave over its entire trajectory - The frequency of the wave is above the plasma frequencies in the D-region. Then, the wave crosses the entire D-region twice, and :math:`L_\alpha` will be the absorption of the wave due to the D-region (which may be less than the total absorption if the wave is absorbed in the E or F regions). .. note:: The :py:func:`~lir_achem.compute_HF_absorption.absorption_coefficient` has an optional parameter, `ignore_B`. If this parameter is `True`, then we ignore the magnetic field term in the computation of the absorption. Practice -------------------- The Appleton-Hartree equation is solved by the :py:func:`~lir_achem.compute_HF_absorption.appleton_hartree`. Once this is computed, the absorption coefficients may be computed by the function :py:func:`~lir_achem.compute_HF_absorption.absorption_coefficient`. Alternatively, the approximation used by [eccles2005]_ may be used instead through the :py:func:`~lir_achem.compute_HF_absorption.absorption_coefficient_eccles` function. The altitude reached by the wave is computed through the :py:func:`~lir_achem.compute_HF_absorption.highest_altitude_wave`. This functions returns either the altitude of reflection or the highest altitude in the D-region. Results --------------------- For a quiet time in November 2023 above Italy, the refractive index for a vertical wave is represented below. .. image:: ../Figures/Refractive_index.png Then, the absorption coefficient is computed as: .. image:: ../Figures/Absorption_coefficient.png The total absorbtion :math:`L_\alpha` is obtained by integrating over all D-region altitudes twice, as the wave goes up and down. It is aroung 44 dB at 5 MHz (consistent with Figure 1 of [zawdie2017]_ )