PlotProcessor#
- class stixcore.io.product_processors.plots.processors.PlotProcessor(archive_path)[source]#
Bases:
FitsL2ProcessorA file product processor for plot images
Methods Summary
generate_filename(product, *[, version, suffix])Generates a SOAR conform filename based on product characteristics.
generate_primary_header(filename, product, *)Transforms the fits header into a more generic header dict that might be used in other output file formats
write_plot(product, *[, version])Write products into a plot image file.
Methods Documentation
- generate_filename(product, *, version=0, suffix='.svg')[source]#
Generates a SOAR conform filename based on product characteristics.
- generate_primary_header(filename, product, *, version=0)[source]#
Transforms the fits header into a more generic header dict that might be used in other output file formats
- write_plot(product, *, version=0)[source]#
Write products into a plot image file.
- 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