MCAntenna Class Reference

An Antenna object used by MCGeneral. More...

#include <mc_antenna.h>

Collaboration diagram for MCAntenna:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MCAntenna ()
void set_pencil_beam (void)
 makes the antenna pattern a pencil beam
void set_gaussian (const Numeric &za_sigma, const Numeric &aa_sigma)
 makes the antenna pattern a 2D gaussian specified by za and aa standard deviations
void set_gaussian_fwhm (const Numeric &za_fwhm, const Numeric &aa_fwhm)
 makes the antenna pattern a 2D gaussian specified by za and aa FWHM
void set_lookup (ConstVectorView &za_grid, ConstVectorView &aa_grid, ConstMatrixView &G_lookup)
 makes the antenna pattern use a 2D lookup table to define the antenna response
AType get_type (void) const
 returns the antenna type
void draw_los (VectorView &sampled_rte_los, Rng &rng, ConstVectorView bore_sight_los) const
 draws a line of sight by sampling the antenna response function

Private Attributes

AType atype
Numeric sigma_aa
Numeric sigma_za
Vector aa_grid
Vector za_grid
Matrix G_lookup


Detailed Description

An Antenna object used by MCGeneral.

This class provides the means of sampling various types of 2D antenna functions..

Definition at line 56 of file mc_antenna.h.


Constructor & Destructor Documentation

MCAntenna::MCAntenna (  )  [inline]

Definition at line 63 of file mc_antenna.h.


Member Function Documentation

void MCAntenna::set_pencil_beam ( void   ) 

makes the antenna pattern a pencil beam

Definition at line 88 of file mc_antenna.cc.

References atype, and ATYPE_PENCIL_BEAM.

Referenced by mc_antennaSetPencilBeam(), and RteCalcMC().

void MCAntenna::set_gaussian ( const Numeric za_sigma,
const Numeric aa_sigma 
)

makes the antenna pattern a 2D gaussian specified by za and aa standard deviations

Givees the MCAntenna object a 2D gaussian response function

Parameters:
za_sigma The std. dev. parameter for zenith angle
aa_sigma The std. dev. parameter for azimuthal angle.
Author:
Cory Davis
Date:
2005-12-02

Definition at line 100 of file mc_antenna.cc.

References atype, ATYPE_GAUSSIAN, sigma_aa, and sigma_za.

Referenced by mc_antennaSetGaussian().

void MCAntenna::set_gaussian_fwhm ( const Numeric za_fwhm,
const Numeric aa_fwhm 
)

makes the antenna pattern a 2D gaussian specified by za and aa FWHM

Givees the MCAntenna object a 2D gaussian response function

Parameters:
za_fwhm The full width half maximum zenith angle
aa_fwhm The full width half maximum azimuthal angle.
Author:
Cory Davis
Date:
2005-12-02

Definition at line 116 of file mc_antenna.cc.

References atype, ATYPE_GAUSSIAN, sigma_aa, and sigma_za.

Referenced by mc_antennaSetGaussianByFWHM().

void MCAntenna::set_lookup ( ConstVectorView za_grid_,
ConstVectorView aa_grid_,
ConstMatrixView G_lookup_ 
)

makes the antenna pattern use a 2D lookup table to define the antenna response

The lookup antenna type is not yet implemented

Parameters:
za_grid_ zenith angle grid for the antenna response lookup table
aa_grid_ azimuthal angle grid for the antenna response lookup table
G_lookup_ the lookup table data
Author:
Cory Davis
Date:
2005-12-02

Definition at line 134 of file mc_antenna.cc.

References aa_grid, atype, ATYPE_LOOKUP, G_lookup, and za_grid.

AType MCAntenna::get_type ( void   )  const

returns the antenna type

Author:
Cory Davis
Date:
2006-6-16

Definition at line 150 of file mc_antenna.cc.

References atype.

Referenced by mc_IWP_cloud_opt_pathCalc().

void MCAntenna::draw_los ( VectorView sampled_rte_los,
Rng rng,
ConstVectorView  bore_sight_los 
) const

draws a line of sight by sampling the antenna response function

Parameters:
sampled_rte_los Output: The sampled line of sight
rng a random number generator
bore_sight_los the bore sight LOS
Author:
Cory Davis
Date:
2005-12-02

Definition at line 167 of file mc_antenna.cc.

References atype, ATYPE_GAUSSIAN, ATYPE_PENCIL_BEAM, ran_gaussian(), sigma_aa, and sigma_za.

Referenced by mc_IWP_cloud_opt_pathCalc(), MCGeneral(), and MCIPA().


Member Data Documentation

Definition at line 58 of file mc_antenna.h.

Referenced by draw_los(), set_gaussian(), and set_gaussian_fwhm().

Definition at line 58 of file mc_antenna.h.

Referenced by draw_los(), set_gaussian(), and set_gaussian_fwhm().

Definition at line 59 of file mc_antenna.h.

Referenced by set_lookup().

Definition at line 59 of file mc_antenna.h.

Referenced by set_lookup().

Definition at line 60 of file mc_antenna.h.

Referenced by set_lookup().


The documentation for this class was generated from the following files:

Generated on Mon Mar 23 14:07:01 2009 for ARTS by  doxygen 1.5.6