Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mwcraig/reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Oct 23, 2015
2 parents 3aef671 + 1200d5c commit f8c6fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reducer/astro_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def action(self):
unit = hdu.header['BUNIT']
except KeyError:
unit = DEFAULT_IMAGE_UNIT
ccd = ccdproc.CCDData(data=hdu.data, meta=hdu.header, unit=unit)
ccd = ccdproc.CCDData(hdu.data, meta=hdu.header, unit=unit)

for child in self.container.children:
if not child.toggle.value:
Expand Down Expand Up @@ -423,7 +423,7 @@ def _action_for_one_group(self, filter_dict=None):
unit = hdu.header['BUNIT']
except KeyError:
unit = DEFAULT_IMAGE_UNIT
images.append(ccdproc.CCDData(data=hdu.data,
images.append(ccdproc.CCDData(hdu.data,
meta=hdu.header,
unit=unit))
combiner = ccdproc.Combiner(images, dtype=images[0].dtype)
Expand Down

0 comments on commit f8c6fbc

Please sign in to comment.