ARTS built-in documentation server

Workspace Method iyMC

Description

Interface to Monte Carlo part for iy_main_agenda.

Basically an interface to MCGeneral for doing monochromatic
pencil beam calculations. This functions allows Monte Carlo (MC)
calculations for sets of frequencies and sensor pos/los in a single
run. Sensor responses can be included in the standard manner
(through yCalc).

This function does not apply the MC approach when it comes
to sensor properties. These properties are not considered when
tracking photons, which is done in MCGeneral (but then only for
the antenna pattern).

Output unit options  (iy_unit) exactly as for MCGeneral.

The MC calculation errors are all assumed be uncorrelated and each
have a normal distribution. These properties are of relevance when
weighting the errors with the sensor repsonse matrix. The seed is
reset for each call of MCGeneral to obtain uncorrelated errors.

MC control arguments (mc_std_err, mc_max_time, mc_min_iter, mc_max_iter
mc_taustep_limit) as for MCGeneral. The arguments are applied
for each monochromatic pencil beam calculation individually.
As for MCGeneral, the value of mc_error shall be adopted to
iy_unit.

The following auxiliary data can be obtained:
  "Error (uncorrelated)": Calculation error. Size: [nf,ns,1,1].
    (The later part of the text string is required. It is used as
    a flag to yCalc for how to apply the sensor data.)
where
  nf: Number of frequencies.
  ns: Number of Stokes elements.

Authors: Patrick Eriksson

Synopsis

iyMC( iy, iy_aux, diy_dx, iy_agenda_call1, iy_transmission, rte_pos, rte_los, iy_aux_vars, jacobian_do, atmosphere_dim, p_grid, lat_grid, lon_grid, z_field, t_field, vmr_field, refellipsoid, z_surface, cloudbox_on, cloudbox_limits, stokes_dim, f_grid, scat_data, iy_space_agenda, surface_rtprop_agenda, propmat_clearsky_agenda, ppath_step_agenda, ppath_lmax, ppath_lraytrace, pnd_field, iy_unit, mc_std_err, mc_max_time, mc_max_iter, mc_min_iter, mc_taustep_limit, t_interp_order )

Variables

OUTiy(Matrix)Monochromatic pencil beam radiance spectrum.
OUTiy_aux(ArrayOfMatrix)Data auxiliary to iy.
OUTdiy_dx(ArrayOfTensor3)Derivative of iy with respect to retrieval quantities.
INiy_agenda_call1(Index)Flag to handle recursive calls of iy_main_agenda The agenda iy_main_agenda can be used recursively and this flag is used to tell the methods inside the agenda which is the primary call.
INiy_transmission(Tensor3)Transmission to be included in iy.
INrte_pos(Vector)A geographical position for starting radiative transfer calculations.
INrte_los(Vector)A line-of-sight for (complete) radiative transfer calculations.
INiy_aux_vars(ArrayOfString)Selection of quantities for iy_aux and when applicable also y_aux.
INjacobian_do(Index)Flag to activate (clear-sky) Jacobian calculations.
INatmosphere_dim(Index)The atmospheric dimensionality (1-3).
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.
INt_field(Tensor3)The field of atmospheric temperatures.
INvmr_field(Tensor4)VMR field.
INrefellipsoid(Vector)Reference ellipsoid.
INz_surface(Matrix)The surface altitude.
INcloudbox_on(Index)Flag to activate the cloud box.
INcloudbox_limits(ArrayOfIndex)The limits of the cloud box.
INstokes_dim(Index)The dimensionality of the Stokes vector (1-4).
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.
INscat_data(ArrayOfArrayOfSingleScatteringData)Array of single scattering data.
INiy_space_agenda(Agenda)Agenda providing the downwelling radiation at the top of the atmosphere.
INsurface_rtprop_agenda(Agenda)Agenda providing radiative properties of the surface.
INpropmat_clearsky_agenda(Agenda)Agenda calculating the absorption coefficient matrices.
INppath_step_agenda(Agenda)Agenda calculating a propagation path step.
INppath_lmax(Numeric)Maximum length between points describing propagation paths.
INppath_lraytrace(Numeric)Maximum length of ray tracing steps when determining propagation paths.
INpnd_field(Tensor4)Particle number density field.
INiy_unit(String)Selection of output unit for some 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.
INmc_min_iter(Index)The minimum number of iterations allowed for Monte Carlo calculations.
INmc_taustep_limit(Numeric)Defines an upper step length in terms of optical thickness for Monte Carlo calculations.
GINt_interp_order(Index, Default: 1)Interpolation order of temperature for scattering data (so far only applied in phase matrix, not in extinction and absorption.