Skip to content

Commit

Permalink
Merge branch 'tickets/DM-38973'
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed May 2, 2023
2 parents 4b25345 + d65265f commit 03e1b4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/ip/isr/overscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,8 @@ def maskOutliers(self, imageArray):
maskedArray : `numpy.ma.masked_array`
Masked image marking outliers.
"""
lq, median, uq = np.percentile(imageArray, [25.0, 50.0, 75.0], axis=1)
lq, median, uq = np.percentile(np.ma.getdata(imageArray),
[25.0, 50.0, 75.0], axis=1)
axisMedians = median
axisStdev = 0.74*(uq - lq) # robust stdev

Expand Down

0 comments on commit 03e1b4e

Please sign in to comment.