17#include "matpack_data.h"
22 const Index& stokes_dim) {
29 Vector pha_mat_int(6, 0.0);
34 pha_mat_int[5] = cos(theta_rad);
37 pha_mat_int[3] = cos(theta_rad);
40 pha_mat_int[1] = -0.5 * pow2(sin(theta_rad));
41 pha_mat_int[2] = 0.5 * (1 + pow2(cos(theta_rad)));
44 pha_mat_int[0] = 0.5 * (1 + pow2(cos(theta_rad)));
Vector calc_rayleighPhaMat(const Numeric &theta_rad, const Index &stokes_dim)
Header file for functions related to gas scattering.
constexpr Numeric pi
The following mathematical constants are generated in python Decimal package by the code:
constexpr auto pow2(auto x) noexcept
power of two