Trace

Documentation for the attributes and methods in the Trace class used to extract traces from the binary file.

slap2_utils.utils.trace.Trace(dataFile, zIdx=0, chIdx=0)[source]

A class used to read raw data and generate traces from a SLAP2 data file.

Parameters:
  • dataFile (DataFile) – The data file containing raw data to generate the trace from.

  • zIdx (int, optional) – The Z index of the trace (default is 0).

  • chIdx (int, optional) – The channel index of the trace (default is 0).

slap2_utils.utils.trace.dataFile

The data file containing raw data.

Type:

DataFile

slap2_utils.utils.trace.zIdx

Z index used in this trace.

Type:

int

slap2_utils.utils.trace.chIdx

Channel index.

Type:

int

slap2_utils.utils.trace.TracePixels

List of TracePixel objects associated with this trace.

Type:

list of TracePixel

slap2_utils.utils.trace.pixelIdxs

List of pixel indices for this trace.

Type:

list of int

Notes

Additional methods allow setting pixel indices, processing traces, and accessing raw or averaged superpixel data.