photonpacket.accum module¶
-
photonpacket.accum.acccoinc(h1, h2, axis=0, constr=None)[source]¶ Accidental coincidences map for one of the dimensions
-
photonpacket.accum.acchist(h1, h2, signs, **kwargs)[source]¶ Accidential coincidences histogram in terms of sum/differnce variables
- Parameters
- h1
numpy.ndarray first photon counts histogram
- h2
numpy.ndarray second photon counts histogram
- signstuple of booleans
- Nframesint
number of frames
- h1
-
photonpacket.accum.accumautocoinc2d(fs1, axis=0, constr=None)[source]¶ Coincidences map for one of the dimensions
-
photonpacket.accum.accumcoinc(fs1, fs2)[source]¶ Accumulate coincidences into 4D matrix
- Parameters
- fs1
photonpacket.frameseries Series of photon frames
- fs2
photonpacket.frameseries Series of photon frames
- signstuple of two booleans
Signs
- methodbincount or accum
Method
- fs1
- Returns
- coinchist
numpy.ndarray
- coinchist
-
photonpacket.accum.accumcoinc2d(fs1, fs2, axis=0, constr=None)[source]¶ Coincidences map for one of the dimensions
-
photonpacket.accum.accumcoinc_4d_sd(fs1, fs2)[source]¶ accum full 4dim coincidences in sum/difference variables, s_y,d_y=y1-y2,s_x,d_x
-
photonpacket.accum.accumframes(fs)[source]¶ Accumulate photon through all frames. Wrapper for
photonpacket.frameseries.accumframes()- Parameters
- fs
photonpacket.frameseries Series of photon frames
- fs
- Returns
- accum
numpy.ndarray photon counts histogram
- accum
-
photonpacket.accum.autocoinchist(fs1, signs, **kwargs)[source]¶ Autocoincidence histogram in terms of sum/differnce variables
- Parameters
- fs1
photonpacket.frameseries - fs2
photonpacket.frameseries - signs :
- kwargsminphotons, maxphotons (filters out frames)
- kwargsshape - tuple / 2 el. array - max. size of the accumulator (farther coindicences are neglected)
- fs1
-
photonpacket.accum.coinchist(fs1, fs2, signs)[source]¶ Coincidence histogram in terms of sum/differnce variables
- Parameters
- fs1
photonpacket.frameseries - fs2
photonpacket.frameseries - signs :
- fs1