pynrc.simul.ngNRC.add_ppc¶
- pynrc.simul.ngNRC.add_ppc(im, ppc_frac=0.002, nchans=4, kernel=None, same_scan_direction=False, reverse_scan_direction=False, in_place=False)[source]¶
Add Post-Pixel Coupling (PPC)
This effect is due to the incomplete settling of the analog signal when the ADC sample-and-hold pulse occurs. The measured signals for a given pixel will have a value that has not fully transitioned to the real analog signal. Mathematically, this can be treated in the same way as IPC, but with a different convolution kernel.
- Parameters
im (ndarray) – Image or array of images
ppc_frac (float) – Fraction of signal contaminating next pixel in readout.
kernel (ndarry or None) – Option to directly specify the convolution kernel, in which case ppc_frac is ignored.
nchans (int) – Number of readout output channel amplifiers.
same_scan_direction (bool) – Are all the output channels read in the same direction? By default fast-scan readout direction is
[-->,<--,-->,<--]
Ifsame_scan_direction
, then all-->
reverse_scan_direction (bool) – If
reverse_scan_direction
, then[<--,-->,<--,-->]
or all<--
in_place (bool) – Apply in place to input image.