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