ARTS 2.5.11 (git: 6827797f)
microphysics.h File Reference

Internal functions for microphysics calculations (size distributions etc.) More...

#include "array.h"
#include "gridded_fields.h"
#include "interpolation.h"
#include "matpack_data.h"
#include "messages.h"
#include "optproperties.h"
#include "ppath.h"

Go to the source code of this file.

## Functions

Numeric asymmetry_parameter (ConstVectorView za_grid, ConstVectorView pfun)
asymmetry_parameter

void derive_scat_species_a_and_b (Numeric &a, Numeric &b, const Vector &x, const Vector &mass, const Numeric &x_fit_start, const Numeric &x_fit_end)

## Detailed Description

Internal functions for microphysics calculations (size distributions etc.)

Date
2017-07-10

Definition in file microphysics.h.

## ◆ asymmetry_parameter()

 Numeric asymmetry_parameter ( ConstVectorView za_grid, ConstVectorView pfun )

asymmetry_parameter

Calculates the asymmetry parameter, TRO data only

Parameters
 sa_grid Scattering angle grid pfun Phase function of TRO-type
Returns
Assymetry parameter
Date
2022-03-06

Definition at line 43 of file microphysics.cc.

Referenced by HydrotableCalc().

## ◆ derive_scat_species_a_and_b()

 void derive_scat_species_a_and_b ( Numeric & a, Numeric & b, const Vector & x, const Vector & mass, const Numeric & x_fit_start, const Numeric & x_fit_end )

Derives a and b for relationship mass = a * x^b

The parameters a and b are derived by a fit including all data inside the size range [x_fit_start,x_fit_end].

The vector x must have been checked to have at least 2 elements.

An error is thrown if less than two data points are found inside [x_fit_start,x_fit_end].

Returns
a Derived a parameter.
b Derived b parameter.
Parameters
 x Size grid mass Particle masses x_fit_start Start point of x-range to use for fitting x_fit_end Endpoint of x-range to use for fitting
Date
2017-10-18

Definition at line 79 of file microphysics.cc.

References a, ARTS_ASSERT, b, and get_sorted_indexes().

Referenced by ScatSpeciesSizeMassInfo().
{"ft_lang_label":"__label__en","ft_lang_prob":0.56813896,"math_prob":0.6321922,"size":1805,"snap":"2023-14-2023-23","text_gpt3_token_len":477,"char_repetition_ratio":0.1321488,"word_repetition_ratio":0.051948052,"special_character_ratio":0.24819945,"punctuation_ratio":0.16955018,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97015476,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-06-09T11:09:13Z\",\"WARC-Record-ID\":\"<urn:uuid:6e5cf3c1-328d-4708-af62-07d805f1c2e8>\",\"Content-Length\":\"12447\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:6752db5f-6b57-4709-9c54-ccc04b811ec5>\",\"WARC-Concurrent-To\":\"<urn:uuid:59019432-6e67-43fe-9aff-411ac5e47538>\",\"WARC-IP-Address\":\"185.199.108.153\",\"WARC-Target-URI\":\"https://atmtools.github.io/arts-docs-master/doxygen/microphysics_8h.html\",\"WARC-Payload-Digest\":\"sha1:YX3Q6AIC74LVORFA6FSILEPXXOVVDPMX\",\"WARC-Block-Digest\":\"sha1:TRQOIH3F7WN7K3OVBVNTUMHON2HTKPBA\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224656675.90_warc_CC-MAIN-20230609100535-20230609130535-00405.warc.gz\"}"}