This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
material_parameters [2018/01/24 15:48] 185.62.108.185 |
material_parameters [2019/02/21 23:44] (current) pklapetek |
||
---|---|---|---|
Line 27: | Line 27: | ||
</code> | </code> | ||
which uses the supplied density for the particular index, but calculates everything using Xraylib as usual based on this density. | which uses the supplied density for the particular index, but calculates everything using Xraylib as usual based on this density. | ||
+ | |||
+ | Note that at present the compound parser does not work properly for density of compounds (only elements). | ||
+ | |||
+ | The density itself affects refractive index, however sometimes it is desirable to keep it and affect only attenuation length. This can be done by altering its value in the material table (fourth material constant). | ||
+ | |||