Skip to content

Commit 89a55ed

Browse files
committed
typo
1 parent 40f7a73 commit 89a55ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/examples/mu_calc_examples.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ Now calculate μ using the ``compute_mu_using_xraydb`` function.
113113

114114
.. code-block:: python
115115
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")
116+
mu = compute_mu_using_xraydb(composition, energy_keV, sample_mass_density)
117+
print(f"Calculated mu: {round(mu, 3)} mm^-1")
118118
119119
This will output the calculated X-ray absorption coefficient, μ, in mm\ :sup:`-1`.
120120

121121
.. code-block:: console
122122
123-
Calculated mu from sample_mass_density: 13.967 mm^-1
123+
Calculated mu: 13.967 mm^-1

0 commit comments

Comments
 (0)