ARTS 2.5.11 (git: 725533f0)
mc_antenna.h File Reference

Workspace functions for the solution of cloud-box radiative transfer by Monte Carlo methods. All of these functions refer to 3D calculations. More...

#include "arts.h"
#include "matpack_data.h"
#include "rng.h"
#include <cmath>
#include <stdexcept>

Go to the source code of this file.

Classes

struct  MCAntenna
 An Antenna object used by MCGeneral. More...
 

Enumerations

enum  AntennaType { ANTENNA_TYPE_PENCIL_BEAM = 1 , ANTENNA_TYPE_GAUSSIAN = 2 , ANTENNA_TYPE_LOOKUP = 3 }
 

Functions

void rotmat_enu (MatrixView R_ant2enu, ConstVectorView prop_los)
 rotmat_enu.
 
void rotmat_stokes (MatrixView R_pra, const Index &stokes_dim, const Numeric &f1_dir, const Numeric &f2_dir, ConstMatrixView R_f1, ConstMatrixView R_f2)
 rotmat_stokes.
 

Detailed Description

Workspace functions for the solution of cloud-box radiative transfer by Monte Carlo methods. All of these functions refer to 3D calculations.

Author
Cory Davis cdavi.nosp@m.s@st.nosp@m.affma.nosp@m.il.e.nosp@m.d.ac..nosp@m.uk
Date
2005-12-02

FIXMEDOC *** : set_lookup; ran_uniform

Definition in file mc_antenna.h.

Enumeration Type Documentation

◆ AntennaType

Enumerator
ANTENNA_TYPE_PENCIL_BEAM 
ANTENNA_TYPE_GAUSSIAN 
ANTENNA_TYPE_LOOKUP 

Definition at line 23 of file mc_antenna.h.

Function Documentation

◆ rotmat_enu()

void rotmat_enu ( MatrixView  R_ant2enu,
ConstVectorView  prop_los 
)

rotmat_enu.

Calculates rotation matrix from antenna frame to ENU frame. The columns of the rotation matrix are the v, h, and k components of the propagating wave in the ENU frame.

Parameters
[out]R_ant2enurotation matrix from antenna frame to ENU frame.
[in]prop_loslos (zenith and azimuth).
Author
Ian S. Adams
Date
2016-09-07

Definition at line 26 of file mc_antenna.cc.

References DEG2RAD.

Referenced by MCGeneral(), and MCRadar().

◆ rotmat_stokes()

void rotmat_stokes ( MatrixView  R_pra,
const Index &  stokes_dim,
const Numeric &  f1_dir,
const Numeric &  f2_dir,
ConstMatrixView  R_f1,
ConstMatrixView  R_f2 
)

rotmat_stokes.

Calculates the PRA matrix for the stokes vector to account for polarization rotation from ENU frame to antenna frame. Designed to handle sign properly for radiometer and radar (both tx and rx) using the bs_dir argument which (1 = away from sensor, -1 = into sensor), based on Mishchenko's convention for third Stokes. The assumption is that the polarization basis vectors have magnitude of one; therefore, a check is not made for the purpose of computational efficiency.

Parameters
[out]R_prarotation matrix.
[in]stokes_dimnumber of stokes vector elements to consider.
[in]f1_dirpropagation direction of polarization basis 1 (-1.0 or 1.0).
[in]f2_dirpropgation direction of polarization basis 2 (-1.0 or 1.0).
[in]R_f1rotation matrix (into ENU) for basis f1.
[in]R_f2photon rotation (into ENU) for basis f2.
Author
Ian S. Adams
Date
2016-09-07

Definition at line 49 of file mc_antenna.cc.

Referenced by MCGeneral(), and MCRadar().