Skip to content

Commit

Permalink
do not take mean in RSoXS.py slice chi function
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjlevin committed Sep 4, 2024
1 parent 08c3943 commit 2254bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyHyperScattering/RSoXS.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def slice_chi(self,chi,chi_width=5):
selector = np.logical_and(self._obj.chi>=slice_begin,
self._obj.chi<=slice_end)

return self._obj.isel({'chi':selector}).mean('chi')
return self._obj.isel({'chi':selector}) #.mean('chi')

def slice_q(self,q,q_width=None):
'''
Expand Down

0 comments on commit 2254bc1

Please sign in to comment.