Skip to content

Commit

Permalink
Merge pull request #115 from lsst-camera-dh/LSSTTD-1580_fe55_gain_fit…
Browse files Browse the repository at this point in the history
…ting_improvements

set chiprob_min=1e-3 for including Fe55 cluster measurement in the Fe55 peak distribution for gain fitting
  • Loading branch information
jchiang87 authored Nov 16, 2021
2 parents e8821d4 + a3d0019 commit 57b771f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/bot_eo_analyses.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def fe55_task(run, det_name, fe55_files, bias_frame=None):

task = sensorTest.Fe55Task()
task.config.temp_set_point = -100.
task.config.chiprob_min = 1e-3
task.run(file_prefix, fe55_files, (rolloff_mask_file,),
bias_frame=bias_frame, accuracy_req=0.01, hist_nsig=hist_nsig,
linearity_correction=get_nlc_func(det_name))
Expand All @@ -387,11 +388,13 @@ def fe55_task(run, det_name, fe55_files, bias_frame=None):
png_files.append('%s_fe55_dists.png' % file_prefix)
siteUtils.make_png_file(plots.fe55_dists, png_files[-1],
fe55_file=fe55_file, xrange_scale=5,
hist_nsig=hist_nsig)
hist_nsig=hist_nsig,
chiprob_min=task.config.chiprob_min)

png_files.append('%s_psf_dists.png' % file_prefix)
siteUtils.make_png_file(plots.psf_dists, png_files[-1],
fe55_file=fe55_file)
fe55_file=fe55_file,
chiprob_min=task.config.chiprob_min)

png_file_list = '{}_fe55_task_png_files.txt'.format(det_name)
with open(png_file_list, 'w') as output:
Expand Down

0 comments on commit 57b771f

Please sign in to comment.