Skip to content

Introduction of hawc2flow

Jaime Liew requested to merge hawc2flow into master

Introduction of hawc2flow, including Jinja2writer and HAWC2DataFrame.

Hawc2flow is a workflow tool for managing multiple HAWC2 simulations. Hawc2flow is broken up into three submodules:

  • Generate: Used for generating HAWC2 input files.
  • Simulate: Used for running the HAWC2 simulations (not implemented).
  • Evaluate: Used for post processing HAWC2 output files.

Hawc2flow is designed to be modular in the sense that each step in the workflow can be executed with out the need of the other steps.

Hawc2flow leverages the strengths of modern Python packages, for example:

  • hawc2flow.Generate.Jinja2writer uses the templating engine, jinja2.
  • hawc2flow.Evaluate.HAWC2DataFrame extends the functionality of a Pandas DataFrame by linking directly to a directory of HAWC2 results, and with the capability of performing LAC-related operations (DEL, spectra, and other statistical measures).

With more development, hawc2flow can replace the prepost module.

Merge request reports

Loading