FitsL1Processor#

class stixcore.io.product_processors.fits.processors.FitsL1Processor(archive_path)[source]#

Bases: FitsL0Processor

Methods Summary

generate_filename(product, *[, version, ...])

Generate fits file name with SOLO conventions.

generate_primary_header(filename, product, *)

Generate primary header cards.

write_fits(product, *[, version])

Write level 0 products into fits files.

Methods Documentation

classmethod generate_filename(product, *, version=0, status='', header=True)[source]#

Generate fits file name with SOLO conventions.

Parameters:
  • product (stix_parser.product.BaseProduct) – QLProduct

  • version (int) – the version modifier for the filename default 0 = detect from codebase.

  • status (str) – Status of the packets

Returns:

str – The filename

generate_primary_header(filename, product, *, version=0)[source]#

Generate primary header cards.

filenamestr

Filename

productstixcore.product.quicklook.QLProduct

QLProduct

Returns:

tuple – List of header cards as tuples (name, value, comment)

write_fits(product, *, version=0)[source]#

Write level 0 products into fits files.

Parameters:
  • product (stixcore.product.level0)

  • version (int) – the version modifier for the filename default 0 = detect from codebase.

Returns:

list – of created file as pathlib.Path