# Code examples¶

## Dry mass computation with radial inclusion factor¶

This examples illustrates the usage of the “radial inclusion factor” which is defined in the configuration section “sphere” and used in drymass.anasphere.relative_dry_mass() with the keyword argument rad_fact.

The phase image is computed from two spheres whose dry masses add up to 100pg with the larger sphere having a dry mass of 83pg. The larger sphere is located at the center of the image which is also used as the origin for dry mass computation. The radius of the larger sphere is known (10µm). Thus, the corresponding radius (inner circle) corresponds to a radial inclusion factor of 1. In DryMass, the default radial inclusion factor is set to 1.2 (red). In some cases, this inclusion factor must be increased or decreased depending on whether additional information (the smaller sphere) should be included in the dry mass computation or not.