ARTS built-in documentation server

Workspace Method MCGeneral

Description

A generalised 3D reversed Monte Carlo radiative algorithm, that
allows for 2D antenna patterns, surface reflection and arbitrary
sensor positions.

The main output variables y and mc_error represent the
Stokes vector integrated over the antenna function, and the
estimated error in this vector respectively.

The WSV mc_max_iter describes the number of `photons'
used in the simulation (more photons means smaller mc_error).
mc_std_err is the desired value of mc_error. mc_max_time is
the maximum allowed number of seconds for MCGeneral. The method
will terminate once any of the max_iter, std_err, max_time
criteria are met. If negative values are given for these
 parameters then it isignored.

Negative values of mc_seed seed the random number generator
according to system time, positive mc_seed values are taken
literally.

Authors: Cory Davis

Synopsis

MCGeneral( y, mc_iteration_count, mc_error, mc_points, mc_antenna, f_grid, f_index, sensor_pos, sensor_los, stokes_dim, atmosphere_dim, iy_space_agenda, surface_prop_agenda, opt_prop_gas_agenda, abs_scalar_gas_agenda, p_grid, lat_grid, lon_grid, z_field, r_geoid, z_surface, t_field, vmr_field, cloudbox_on, cloudbox_limits, pnd_field, scat_data_mono, basics_checked, cloudbox_checked, mc_seed, y_unit, mc_std_err, mc_max_time, mc_max_iter )

Variables

OUTy(Vector)The measurement vector.
OUTmc_iteration_count(Index)Counts the number of iterations (or photons) used in the MC scattering algorithm.
OUTmc_error(Vector)Error in simulated y when using a Monte Carlo approach.
OUTmc_points(Tensor3)Counts the number of MC endpoints in each grid cell.
INmc_antenna(MCAntenna)Antenna pattern description for dedicated MC calculaions.
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.
INf_index(Index)Frequency index.
INsensor_pos(Matrix)The sensor position for each measurement block.
INsensor_los(Matrix)The sensor line-of-sight (LOS) for each measurement block.
INstokes_dim(Index)The dimensionality of the Stokes vector (1-4).
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
INiy_space_agenda(Agenda)See agendas.cc.
INsurface_prop_agenda(Agenda)See agendas.cc.
INopt_prop_gas_agenda(Agenda)See agendas.cc.
INabs_scalar_gas_agenda(Agenda)See agendas.cc.
INp_grid(Vector)The pressure grid.
INlat_grid(Vector)The latitude grid.
INlon_grid(Vector)The longitude grid.
INz_field(Tensor3)The field of geometrical altitudes.
INr_geoid(Matrix)Geoid radius.
INz_surface(Matrix)The surface altitude.
INt_field(Tensor3)The field of atmospheric temperatures.
INvmr_field(Tensor4)VMR field.
INcloudbox_on(Index)Flag to activate the cloud box.
INcloudbox_limits(ArrayOfIndex)The limits of the cloud box.
INpnd_field(Tensor4)Particle number density field.
INscat_data_mono(ArrayOfSingleScatteringData)Monochromatic single scattering data.
INbasics_checked(Index)OK-flag for basic variables and grids.
INcloudbox_checked(Index)OK-flag for variables associated with the cloudbox.
INmc_seed(Index)The integer seed for the random number generator used by Monte Carlo methods.
INy_unit(String)Unit for spectral values returned by radiative transfer methods.
INmc_std_err(Numeric)Target precision (1 std.
INmc_max_time(Index)The maximum time allowed for Monte Carlo calculations.
INmc_max_iter(Index)The maximum number of iterations allowed for Monte Carlo calculations.