irfpy.npdcommon.npdpacket

Define the NPD packet / data structure.

class irfpy.npdcommon.npdpacket.NpdRawPacket(t, dt, cnts, intens, calib, regs)[source]

Bases: object

Represent 1s data of NPD (single sensor) with events.

Initialize

Parameters
  • t – Time. (datetime)

  • dt – Delta T. Float in sec

  • cnts – Counter values. (6,) shape

  • intens – Intens values. (512,) shape

  • calib – Calib(?). (4,) shape

  • regs – Regs(?). (3,) shape

All the events are parsed, and stored. User should filter the valid events (or will be prepared).

Data is stored as attributes:

t

Time

dt

Delta time

cnts

Counter values. (6,) array

intens

Instens data. Not parsed values. (512,) array

calib

Calib data.

regs

Regs data

event_tof

Event TOF data. (512,) array

event_ph

Event PH data. (512,) array

event_dir

Event DIR data. (512,) array

event_coins

Event COIN data. (512,) array