Skip to content

Commit

Permalink
Fix wrong variable in flat (fixes #167)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiopasra committed Dec 19, 2017
1 parent 160873b commit c665ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megaradrp/recipes/calibration/flat.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def run(self, rinput):

# Obtain flat field
self.logger.info('Normalize flat field')
rss_wl2 = self.obtain_fiber_flat(rss_wl, rinput.master_wlcalib, window=rinput.smooting_window)
rss_wl2 = self.obtain_fiber_flat(rss_wl, rinput.master_wlcalib, window=rinput.smoothing_window)
rss_wl2[0].header = self.set_base_headers(rss_wl2[0].header)
result = self.create_result(
master_fiberflat=rss_wl2,
Expand Down

0 comments on commit c665ba6

Please sign in to comment.