fixed typo

This commit is contained in:
marco cammarata 2017-03-01 09:28:43 +01:00
parent f62f26e0fa
commit e1dfaec2a4
1 changed files with 1 additions and 1 deletions

View File

@ -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)