Skip to content

Commit

Permalink
Merge pull request #10 from lsst-camera-dh/LSSTTD-1231
Browse files Browse the repository at this point in the history
for running at IR-2, re-enable the use of the MONDIODE value in compu…
  • Loading branch information
jchiang87 authored Mar 18, 2018
2 parents d273c7f + 680c65a commit bea8543
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ def run_flat_pair_task(sensor_id):
sensor_id=sensor_id)

use_exptime = True
if siteUtils.getSiteName() == 'SLAC':
# Since slit-width can be set individually for each exposure
# on TS-8 at IR-2 (LSSTTD-1231), we need to use the MONDIODE
# keyword for computing the integrated incident flux.
use_exptime = False

task = sensorTest.FlatPairTask()
task.run(sensor_id, flat_files, mask_files, gains,
linearity_spec_range=(1e4, 9e4), use_exptime=use_exptime)
Expand Down

0 comments on commit bea8543

Please sign in to comment.