Skip to content

Commit

Permalink
[edit] Fix writing out of thresholding
Browse files Browse the repository at this point in the history
  • Loading branch information
LouConreux committed Jan 13, 2025
1 parent cca229d commit e5dd2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lute/tasks/bayfai.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def min_intensity(self, powder):
SNRs.append(signal / noise)
q = Imins[np.argmax(SNRs)]
Imin = np.percentile(powder[nice_pix], q)
self.q = q
self.q = round(q, 1)
self.Imin = Imin
self.powder = powder
return Imin
Expand Down

0 comments on commit e5dd2a6

Please sign in to comment.