This repository contains some functions to help generate and use the photon transfer curve (PTC) method. This include binning and fitting the data.
Quickstart: import photontransfercurve as ptc import matplotlib.plot as plt <load data as 3D video with first dimension as time or frames> signal,noise = ptc.ptc(data) ge,sr = ptc.fitptc(signal,noise) plt.figure() plt.loglog(signal,noise, label='data') plt.loglog(signal, ge*signal+sr) plt.legend()