fixed typo
This commit is contained in:
parent
f62f26e0fa
commit
e1dfaec2a4
|
@ -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):
|
def transmission(material='Si',thickness=100e-6, density=None, natural_density=None,energy=None, wavelength=None):
|
||||||
""" extend periodictable.xsf capabilities """
|
""" 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)
|
natural_density=natural_density,energy=energy,wavelength=wavelength)
|
||||||
return np.exp(-thickness/att_len)
|
return np.exp(-thickness/att_len)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue