daplis_rtp.functions.sen_pop module

Module for collecting number of timestamps in each pixel.

Works with firmware versions 2208 and 2212.

The following functions are provided.

  • sen-pop - collects the number of timestamps in each pixel for the

data file provided and returns it as an array.

daplis_rtp.functions.sen_pop.sen_pop(file, board_number, fw_ver, timestamps: int = 512, pix_add_fix: bool = False)[source]

Collect number of timestamps in each pixel.

The output is used for plotting the sensor population. Works with firmware versions 2208 and 2212.

Parameters:
  • file (str) – Address of the data file.

  • board_number (str) – LinoSPAD2 daughterboard number.

  • fw_ver (str) – LinoSPAD2 firmware version.

  • timestamps (int, optional) – Number of timestamps per acquisition cycle per pixel/TDC, by default 512.

Returns:

valid_per_pixel – Array of number of timestamps in each pixel.

Return type:

array-like