Skip to content

Commit

Permalink
Ignore sky bundle in StdStar and focustel (closes #237)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopasra committed Jul 24, 2019
1 parent c4e1f50 commit 7cc6a19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion megaradrp/recipes/auxiliary/focustel.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ def run(self, rinput):
do_sky_subtraction = True
if do_sky_subtraction:
self.logger.info('start sky subtraction')
final, origin, sky = self.run_sky_subtraction(img1d)
final, origin, sky = self.run_sky_subtraction(
img1d, rinput.ignored_sky_bundles)
self.logger.info('end sky subtraction')
else:
final = img1d
Expand Down
2 changes: 1 addition & 1 deletion megaradrp/recipes/calibration/lcbstdstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def run(self, rinput):
ins2 = rinput.obresult.profile
ins2.configure_with_image(rss_data)
self.logger.info('start sky subtraction')
final, origin, sky = self.run_sky_subtraction(rss_data)
final, origin, sky = self.run_sky_subtraction(rss_data, rinput.ignored_sky_bundles)
self.logger.info('end sky subtraction')

# 1 + 6 for first ring
Expand Down
2 changes: 1 addition & 1 deletion megaradrp/recipes/calibration/mosstdstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def run(self, rinput):
reduced2d, rss_data = super(MOSStandardRecipe, self).base_run(rinput)

self.logger.info('start sky subtraction')
final, origin, sky = self.run_sky_subtraction(rss_data)
final, origin, sky = self.run_sky_subtraction(rss_data, rinput.ignored_sky_bundles)
self.logger.info('end sky subtraction')

# 1 + 6 for first ring
Expand Down

0 comments on commit 7cc6a19

Please sign in to comment.