ARTS built-in documentation server

Workspace Method pha_mat_sptFromData

Description

Calculation of the phase matrix of the individual scattering elements.

This function can be used in pha_mat_spt_agenda as part of
the calculation of the scattering integral.

First, data at the requested frequency (given by f_grid and
f_index) and temperature (given by rtp_temperature) is
extracted. This is followed by a transformation from the database
coordinate system to the laboratory coordinate system.

Frequency extraction is always done by (linear) interpolation.
Temperature is (linearly) interpolated when at least two
temperature grid points are present in the scat_data and
rtp_temperature is positive. If only a single temperature point
is available, data for this point is used without modification. In
order to speed up calculations, temperature interpolation can be
avoided by passing a rtp_temperature<0. In this case, a specific
temperature grid from the scat_data grid is used without
modification. The selection is as follows:
  -10 < *rtp_temperature * <   0   T_grid[0]     lowest temperature
  -20 < *rtp_temperature * < -10   T_grid[nT-1]  highest temperature
        rtp_temperature  < -20   T_grid[nT/2]  median grid point

Authors: Claudia Emde

Synopsis

pha_mat_sptFromData( pha_mat_spt, scat_data, za_grid, aa_grid, za_index, aa_index, f_index, f_grid, rtp_temperature, pnd_field, scat_p_index, scat_lat_index, scat_lon_index )

Variables

OUT+INpha_mat_spt(Tensor5)Phase matrix for all individual scattering elements.
INscat_data(ArrayOfArrayOfSingleScatteringData)Array of single scattering data.
INza_grid(Vector)Zenith angle grid.
INaa_grid(Vector)Azimuthal angle grid.
INza_index(Index)Zenith angle index for scattering calculations.
INaa_index(Index)Azimuth angle index for scattering calculations.
INf_index(Index)Frequency index.
INf_grid(Vector)The frequency grid for monochromatic pencil beam calculations.
INrtp_temperature(Numeric)Temperature at a radiative transfer point.
INpnd_field(Tensor4)Particle number density field.
INscat_p_index(Index)Pressure index for scattering calculations.
INscat_lat_index(Index)Latitude index for scattering calculations.
INscat_lon_index(Index)Longitude index for scattering calculations.