stix2xspec.triggergram module

class stix2xspec.triggergram.Triggergram(triggerdata, t_axis, adg_idx=None)

Bases: object

This creates a class containing the triggergram data with its time and accumulator axes. Translation of stx_triggergram.pro

calc_triggerdata(triggerdata)

Assign the attributes triggerdata and adg_idx (if previously unassigned).

check_types(triggerdata)

Check that triggerdata is 16 x M or 1x M array and time axis is object.