Skip to content

Draft: Resolve "reading km3net reconstructed events"

Rodrigo G. Ruiz requested to merge 11-reading-km3net-reconstructed-events into master

Closes #11

We decided to include a library on km3astro/km3astro/IO.py. This will contain a function to convert km3net-offline formatted files into astropy tables, and write them out as hdf5 or fits formatted files. This conversion, will also include the transformation from cartesian to polar coordinates, and therefore address issue #11.

After offline discussions, we decided:

  • The file header will be copied verbatim to the output file
  • We will include an events table, and a hits table
  • The events table will contain the best reconstruction solutions for a few algorithms. The list of reconstruction algorithms could be a user choice. We also decided something on identifier for a reconstruction, but I cannot remember anymore what. Do you remember what was it @tgal or @hwarnhofer ?
  • The hits table will contain uncalibrated hits. This will save space in the output file.

@hwarnhofer , can you include what you have written so far in an IO.py file, and put this file on the branch corresponding to this merge request? we can then discuss further details.

Merge request reports