We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40f7a73 commit 89a55edCopy full SHA for 89a55ed
docs/source/examples/mu_calc_examples.rst
@@ -113,11 +113,11 @@ Now calculate μ using the ``compute_mu_using_xraydb`` function.
113
114
.. code-block:: python
115
116
- mu_density = compute_mu_using_xraydb(composition, energy_keV, sample_mass_density=sample_mass_density)
117
- print(f"Calculated mu from sample_mass_density: {round(mu_density, 3)} mm^-1")
+ mu = compute_mu_using_xraydb(composition, energy_keV, sample_mass_density)
+ print(f"Calculated mu: {round(mu, 3)} mm^-1")
118
119
This will output the calculated X-ray absorption coefficient, μ, in mm\ :sup:`-1`.
120
121
.. code-block:: console
122
123
- Calculated mu from sample_mass_density: 13.967 mm^-1
+ Calculated mu: 13.967 mm^-1
0 commit comments