From e1dfaec2a4be961dc78d6918cbaf7bce53991ac1 Mon Sep 17 00:00:00 2001 From: marco cammarata Date: Wed, 1 Mar 2017 09:28:43 +0100 Subject: [PATCH] fixed typo --- xray/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xray/utils.py b/xray/utils.py index df74ab5..1fcf2b6 100644 --- a/xray/utils.py +++ b/xray/utils.py @@ -290,7 +290,7 @@ def attenuation_length(compound, density=None, natural_density=None,energy=None, def transmission(material='Si',thickness=100e-6, density=None, natural_density=None,energy=None, wavelength=None): """ extend periodictable.xsf capabilities """ - att_len = attenuation_length(compound,density=density, + att_len = attenuation_length(material,density=density, natural_density=natural_density,energy=energy,wavelength=wavelength) return np.exp(-thickness/att_len)