Skip to content

Commit

Permalink
absorption coefficient -> attenuation coefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
jokasimr committed Aug 5, 2024
1 parent e8cb843 commit 0538b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scippneutron/absorption/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def single_scatter_distance_through_sample(

def transmission_fraction(material, distance_through_sample, wavelength):
return sc.exp(
-material.absorption_coefficient(wavelength) * distance_through_sample
-material.attenuation_coefficient(wavelength) * distance_through_sample
)


Expand Down

0 comments on commit 0538b10

Please sign in to comment.