Go to the documentation of this file.
170 return std::any_of(keys.cbegin(), keys.cend(), [
x](
auto y){return x == y;});
244 #endif // mc_antenna_h
AntennaType get_type() const
AntennaType get_type.
Numeric ran_uniform(Rng &rng)
ran_uniform.
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.
@ ANTENNA_TYPE_PENCIL_BEAM
void set_pencil_beam()
set_pencil_beam
Vector y(Workspace &ws) noexcept
Index stokes_dim(Workspace &ws) noexcept
An Antenna object used by MCGeneral.
void set_gaussian_fwhm(const Numeric &za_fwhm, const Numeric &aa_fwhm)
set_gaussian_fwhm.
constexpr std::array< T, 1+sizeof...(Ts)> stdarrayify(const T &first, const Ts &... the_rest)
Make a std::array of a list of variables (must be 1-long at least)
static bool validType(AntennaType x) noexcept
Implementation of Matrix, Vector, and such stuff.
member functions of the Rng class and gsl_rng code
void draw_los(VectorView sampled_rte_los, MatrixView R_los, Rng &rng, ConstMatrixView R_ant2enu, ConstVectorView bore_sight_los) const
draw_los.
ostream & operator<<(ostream &os, const MCAntenna &mca)
Index Type(AntennaType x)
NUMERIC Numeric
The type to use for all floating point numbers.
void rotmat_enu(MatrixView R_ant2enu, ConstVectorView prop_los)
rotmat_enu.
A constant view of a Matrix.
Propagation path structure and functions.
void set_lookup(ConstVectorView za_grid, ConstVectorView aa_grid, ConstMatrixView G_lookup)
set_lookup.
Vector x(Workspace &ws) noexcept
INDEX Index
The type to use for all integer numbers and indices.
Numeric ran_gaussian(Rng &rng, const Numeric sigma)
ran_gaussian.
void return_los(Numeric &wgt, ConstMatrixView R_return, ConstMatrixView R_enu2ant) const
return_los
A constant view of a Vector.
void set_gaussian(const Numeric &za_sigma, const Numeric &aa_sigma)
set_gaussian.
The global header file for ARTS.