Skip to content

Commit

Permalink
Merge branch 'fixintegration'
Browse files Browse the repository at this point in the history
  • Loading branch information
sbailey committed Feb 2, 2017
2 parents c52fe5b + f0609a5 commit a279e49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ desisim change log
-------------------

* drops unused truth,targets columns to save memory in quicksurvey loop
* pixsim add new required keywords DOSVER, FEEVER, DETECTOR

0.17.1 (2016-12-05)
-------------------
Expand Down
3 changes: 3 additions & 0 deletions py/desisim/pixsim.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ def simulate(camera, simspec, psf, fibers=None, nspec=None, ncpu=None,
#- Start metadata header
header = simspec.header.copy()
header['CAMERA'] = camera
header['DOSVER'] = 'SIM'
header['FEEVER'] = 'SIM'
header['DETECTOR'] = 'SIM'
gain = params['ccd'][channel]['gain']
for amp in ('1', '2', '3', '4'):
header['GAIN'+amp] = gain
Expand Down

0 comments on commit a279e49

Please sign in to comment.