ScienceProduct#
- class stixcore.products.level0.scienceL0.ScienceProduct(*, service_type, service_subtype, ssid, control, data, **kwargs)[source]#
Bases:
CountDataMixin,GenericProduct,EnergyChannelsMixin,FitsHeaderMixinGeneric science data product class composed of control and data.
Attributes Summary
Methods Summary
from_levelb(levelb, *[, parent, keep_parse_tree])Converts level binary science packets to a L1 product.
Splits the entire data into data products separated be the unique request ID.
Attributes Documentation
- fits_daily_file#
- parent#
- raw#
Methods Documentation
- classmethod from_levelb(levelb, *, parent='', keep_parse_tree=True)[source]#
Converts level binary science 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
- split_to_files()[source]#
Splits the entire data into data products separated be the unique request ID.
- Yields:
ScienceProduct– the next ScienceProduct defined by the unique request ID