Skip to content

Commit

Permalink
Merge pull request #31 from lsst-camera-dh/u/jchiang/ts8_plotting_fixes
Browse files Browse the repository at this point in the history
set bounds for raft-level plots
  • Loading branch information
jchiang87 authored Apr 29, 2019
2 parents 4c2eaf3 + d87a654 commit 7ddbd14
Showing 1 changed file with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,39 +137,40 @@ def slot_dependency_glob(pattern, jobname):

columns = 'READ_NOISE DC95_SHOT_NOISE TOTAL_NOISE'.split()
spec_plots.make_multi_column_plot(columns, 'noise per pixel (-e rms)', spec=9,
title=title)
title=title, ybounds=(-1, 100))
plt.savefig('%s_total_noise.png' % file_prefix)

spec_plots.make_plot('MAX_FRAC_DEV',
'non-linearity (max. fractional deviation)',
spec=0.03, title=title)
spec=0.03, title=title, ybounds=(0, 0.1))
plt.savefig('%s_linearity.png' % file_prefix)

spec_plots.make_multi_column_plot(('CTI_LOW_SERIAL', 'CTI_HIGH_SERIAL'),
'Serial CTI (ppm)', spec=(5e-6, 3e-5),
title=title, yscaling=1e6, yerrors=True,
colors='br', ymax=4e-5)
colors='br', ybounds=(-1e-5, 6e-5))
plt.savefig('%s_serial_cti.png' % file_prefix)

spec_plots.make_multi_column_plot(('CTI_LOW_PARALLEL', 'CTI_HIGH_PARALLEL'),
'Parallel CTI (ppm)', spec=3e-6,
title=title, yscaling=1e6, yerrors=True,
colors='br')
colors='br', ybounds=(-1e-5, 6e-5))
plt.savefig('%s_parallel_cti.png' % file_prefix)

try:
spec_plots.make_plot('PSF_SIGMA', 'PSF sigma (microns)', spec=5.,
title=title, ymax=5.2)
title=title, ybounds=(0, 5.2))
except KeyError:
pass
else:
plt.savefig('%s_psf_sigma.png' % file_prefix)

spec_plots.make_multi_column_plot(('GAIN', 'PTC_GAIN'), 'System Gain (e-/ADU)',
yerrors=True, title=title, colors='br')
yerrors=True, title=title, colors='br',
ybounds=(0, 3))
plt.savefig('%s_system_gain.png' % file_prefix)

spec_plots.make_plot('DARK_CURRENT_95',
'95th percentile dark current (e-/pixel/s)',
spec=0.2, title=title)
spec=0.2, title=title, ybounds=(-0.01, 1))
plt.savefig('%s_dark_current.png' % file_prefix)

0 comments on commit 7ddbd14

Please sign in to comment.