FitsL2Processor#

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

Bases: FitsL1Processor

Methods Summary

generate_primary_header(filename, product, *)

Generate primary header cards.

write_fits(product, *[, version])

Write level 2 products into fits files.

Methods Documentation

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 2 products into fits files.

Parameters:
  • product (stixcore.product.level2)

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

Returns:

list – of created file as pathlib.Path