Skip to content

Photon Transfer Curve

azcam.testers.ptc

Ptc

Bases: Tester

Photon Transfer Curve acquisition and analysis.

fit_order = 3 instance-attribute

fit order for overscan correction

acquire()

Acquire a bias image and a series of flats for a Photon Transfer Curve (PTC). ExposureTimes is a list of exposure times for each pair.

analyze()

Analyze an exisiting series of flats and create a Photon Transfer Curve (PTC) table.

plot(logplot=0)

Plot a Photon Transfer Curve from ptc.means, ptc.sdevs, ptc.gains. This version makes one plot with multiple line types and colors (not subplots). If logplot is True, plot is noise vs signal on log plot. If logplot is False, plot is variance vs signal on linear plot.

report()

Write report file.