QLProduct#

class stixcore.products.QLProduct(*, service_type, service_subtype, ssid, control, data, idb_versions={}, **kwargs)[source]#

Bases: CountDataMixin, GenericProduct, EnergyChannelsMixin

Generic QL product class composed of control and data.

Attributes Summary

Methods Summary

from_levelb(levelb, *[, parent, ...])

Converts level binary packets to a L1 product.

Attributes Documentation

fits_daily_file#

Methods Documentation

classmethod from_levelb(levelb, *, parent='', NIX00405_offset=0, keep_parse_tree=True)[source]#

Converts level binary packets to a L1 product.

Parameters:
  • levelb (stixcore.products.levelb.binary.LevelB) – The binary level product.

  • parent (str, optional) – The parent data file name the binary packed comes from, by default ‘’

  • NIX00405_offset (int, optional) – [description], by default 0

  • keep_parse_tree (bool, optional) – Whether to keep the parse tree in each packet for debugging and printing, by default True

Returns:

tuple (packets, idb_versions, control) – the converted packets all used IDB versions and time periods initialized control table