Skip to content

Commit

Permalink
Merge branch 'next' into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet authored Jan 6, 2025
2 parents 33819cd + 2b5423e commit 109813b
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions reduction/lr_reduction/event_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,20 +811,11 @@ def norm_bck_subtraction(self):
"""
Higher-level call for background subtraction for the normalization run.
"""
return background.side_background(
self._ws_db, self, self.norm_peak, self.norm_bck, self.norm_low_res, normalize_to_single_pixel=False
)
return background.side_background(self._ws_db, self, self.norm_peak, self.norm_bck,
self.norm_low_res, normalize_to_single_pixel=False)

def slice(
self,
x_min=0.002,
x_max=0.004,
x_bins=None,
z_bins=None, # noqa A003
refl=None,
d_refl=None,
normalize=False,
):
def slice(self, x_min=0.002, x_max=0.004, x_bins=None, z_bins=None,
refl=None, d_refl=None, normalize=False):
"""
Retrieve a slice from the off-specular data.
"""
Expand Down

0 comments on commit 109813b

Please sign in to comment.