IGOR Pulse Height Format

Important

This format can be loaded into Python with skutils.Loaders.IgorPulseHeightLoader

Format Features

Type

IGOR Text Wave (ASCII)

Extension

“.itx”

Contains Event Timestamp

Yes

Contains Channel Timestamps

No

Contains Pulse Summary (DSP Quantities)

Only pulse heights as calculated by the digitizer DSP

Contains Waveforms

No

2 Channel Events Per Second (approx)

15612

Decoding Example

Skutils Loaders provide EventInfo objects which contain all Summary and Waveform data associated with your events. See EventInfo and ChannelData for more information about available quantities.

 1import skutils
 2filenames = ['/path/to/your/file_seq000001.itx',
 3              '/path/to/your/file_seq000002.itx']
 4
 5for event in skutils.quickLoad(filenames):
 6   # grab event timestamp and the channels in this event
 7   event_timestamp = event.event_timestamp
 8   channels        = event.channels
 9   # DSP Quantities are not saved in this format and their values will be None
10   for ch_data in event.channel_data:
11    print(f"Pulse Height for Channel {ch_data.channel} is {ch_data.pulse_height}")
12    ch_data.channel_timestamp # will be the same as event timestamp --> Not defined in this format
13    ch_data.trigger_height    # all other DSP quantities be None --> Not defined in this format
14
15    # Will raise a RunTimeError --> Waveforms are not saved in this format
16    waveform        = event.wavedata()

The IGOR (.itx) data format stores pulse height data in IGOR. Channel waveforms are not supported in this format. Because this format only saves pulse heights not full traces, much higher event rates can be sustained than when recording waves.

Event Format

The first column is the timestamp of the event. The following columns represent the height of each pulse detected on the indicated channel. No predefined function definitions are required for this format.

Example

WAVES/o/D timestamp, chan0, chan1
BEGIN
8338315286802 638 680
8338316209893 639 681
8338316230464 641 680
8338316244863 639 680
8338316258152 642 680
8338316271272 640 680
8338316284321 641 680
8338316297393 639 680
8338316310365 639 680
8338316323368 641 682
END