Skip to content

Commit

Permalink
bugfix in F2.makeSkyFlat() recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-simpson committed Dec 20, 2022
1 parent 74c29a7 commit 6d3a37a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geminidr/f2/recipes/sq/recipes_IMAGE.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ def makeSkyFlat(p):
p.transferAttribute(source='flattened', attribute='mask')
p.clearStream(stream='flattened')
p.scaleByIntensity()
p.stackFrames(operation='average', reject_method="minmax", nlow=0, nhigh=1)
p.stackFrames(operation='mean', reject_method="minmax", nlow=0, nhigh=1)
p.normalizeFlat()
p.thresholdFlatfield()
p.storeProcessedFlat()
p.storeProcessedFlat(force=True)
return

_default = reduce
Expand Down

0 comments on commit 6d3a37a

Please sign in to comment.