ScatSpeciesSizeMassInfo

Workspace.ScatSpeciesSizeMassInfo(self: pyarts.arts._Workspace, scat_species_x: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Vector]] = self.scat_species_x, scat_species_a: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = self.scat_species_a, scat_species_b: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = self.scat_species_b, scat_meta: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfArrayOfScatteringMetaData]] = self.scat_meta, species_index: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index], x_unit: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String], x_fit_start: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = 0, x_fit_end: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric]] = 1e9, do_only_x: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 0, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Derives size and mass information for a scattering species. This method assumes that the mass-size relationship can described by scat_species_a and scat_species_b. See documentation of scat_species_a for details.

The quantity to be used as size descriptor is here denoted as x, and is selected by setting x_unit. The options are:

  • "dveq": The size grid is set to scat_meta.diameter_volume_equ

  • "dmax": The size grid is set to scat_meta.diameter_max

  • "area": The size grid is set to scat_meta.diameter_area_equ_aerodynamical

  • "mass": The size grid is set to scat_meta.mass

This selection determines scat_species_x.

The parameters scat_species_a and scat_species_b are determined by a numeric fit between scat_species_x and corresponding masses in scat_meta. This fit is performed over sizes inside the range [x_fit_start,x_fit_end]. This range is allowed to be broader than the coverage of scat_species_x. There must be at least two sizes inside [x_fit_start,x_fit_end].

Author(s): Manfred Brath, Jana Mendrok, Patrick Eriksson

Parameters:
  • scat_species_x (Vector, optional) – The size grid of one scattering species. See scat_species_x, defaults to self.scat_species_x [OUT]

  • scat_species_a (Numeric, optional) – Mass-size relationship parameter, for one scattering species. See scat_species_a, defaults to self.scat_species_a [OUT]

  • scat_species_b (Numeric, optional) – Mass-size relationship parameter, for one scattering species. See scat_species_b, defaults to self.scat_species_b [OUT]

  • scat_meta (ArrayOfArrayOfScatteringMetaData, optional) – An Array of scattering meta data (scat_meta_single). See scat_meta, defaults to self.scat_meta [IN]

  • species_index (Index) – Take data from scattering species of this index (0-based) in scat_meta. [IN]

  • x_unit (String) – Unit for size grid, allowed options listed above. [IN]

  • x_fit_start (Numeric, optional) – Smallest size to consider in fit to determine a and b. Defaults to 0 [IN]

  • x_fit_end (Numeric, optional) – Largest size to consider in fit to determine a and b. Defaults to 1e9 [IN]

  • do_only_x (Index, optional) – A flag to deactivate calculation of a and b, to possibly save some time. The a and b parameters are then set to -1.Default is to calculate a and b. Defaults to 0 [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]