Skip to content

Commit

Permalink
Merge pull request #63 from desihub/quickbrickfix
Browse files Browse the repository at this point in the history
In quickbrick: replace actual srcflux in b brick by pre-downsampling …
  • Loading branch information
cballand committed Jan 13, 2016
2 parents 03e39e6 + d423312 commit 6dda396
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/quickbrick
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ for channel in ['b', 'r', 'z']:
hdulist = fits.HDUList([fits.PrimaryHDU(header=header)])
hdulist.append(fits.ImageHDU(trueflux[channel][:,iiobs].astype(np.float32), name='_TRUEFLUX', header=header))
if (channel == 'b'):
fx.append(fits.ImageHDU(qsim.wavelengthGrid.astype(np.float32), name='_SOURCEWAVE', header=header))
fx.append(fits.ImageHDU(srcfl['SOURCE'].astype(np.float32), name='_SOURCEFLUX', header=header))
hdulist.append(fits.ImageHDU(qsim.wavelengthGrid.astype(np.float32), name='_SOURCEWAVE', header=header))
hdulist.append(fits.ImageHDU(srcfl['SOURCE'].astype(np.float32), name='_SOURCEFLUX', header=header))
hdulist.append(fits.BinTableHDU(meta.as_array(), name='_TRUTH'))
filename = 'truth-brick-{}-{}.fits'.format(channel, opts.brickname)
filepath = os.path.join(opts.outdir_truth, filename)
Expand Down
2 changes: 1 addition & 1 deletion py/desisim/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.7.dev287'
__version__ = '0.8.2'

0 comments on commit 6dda396

Please sign in to comment.