Skip to content

Adding New HarryPlotter Modules

Olena Hlushchenko edited this page Dec 15, 2016 · 3 revisions

Todo

Analysis module

To add a new analysis module, follow this three simple steps:

  • copy
  • paste
  • modify

Each module is basically a new class. The class should contain at least 3 methods:

  1. modify_argument_parser - define which parameters used by the class
  2. prepare_args - read those parameters
  3. run - actual body of the analysis module

Be sure to follow the naming convention - the class name should start with a capital letter, while the python file should not contain any.