Skip to content

Commit

Permalink
Merge remote-tracking branch 'edgar/fiberunits_numexpr' into fiberuni…
Browse files Browse the repository at this point in the history
…ts_numexpr
  • Loading branch information
edgar1993a committed Dec 5, 2024
2 parents 3a3dc4f + 98c72f3 commit 3df415e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyFAI/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ def _update_ne_equation(self):
self.formula = formula_
ne_formula = numexpr.NumExpr(self.formula, signature)

def ne_equation(x, y, z=None, wavelength=None,
incident_angle=self._incident_angle,
def ne_equation(x, y, z=None, wavelength=None,
incident_angle=self._incident_angle,
tilt_angle=self._tilt_angle,
sample_orientation=self._sample_orientation,
sample_orientation=self._sample_orientation,
ne_formula=ne_formula):
π = numpy.pi
λ = wavelength
Expand Down

0 comments on commit 3df415e

Please sign in to comment.