XENON1T / pax

The XENON1T raw data processor [deprecated]
BSD 3-Clause "New" or "Revised" License
16 stars 17 forks source link

Strax output for pax #720

Closed petergaemers closed 5 years ago

petergaemers commented 5 years ago

Added files for plugin to let pax output numpy arrays in strax format.

Strax uses a different output then is done by pax. This plugin gives pax the possibility to write numpy arrays as output in the format required for loading records in Strax. To use set --output_type strax

In paxer added a line to include the WriteStrax class. In data_model added a to_strax function

strax.py contains the WriteStrax class strax_functions contain the functions converting to the strax format.

tunnell commented 5 years ago

Flake8 detected 34 issues on ed8d3c9888f26d094cd6cb41d55995e3b0f88853 Visit https://sider.review/gh/21694081/pull_requests/720 to review the issues.

tunnell commented 5 years ago

Can you add a few sentences in the description above and remove the general stuff about how to make a pull request? See another pull request for an example. @petergaemers

feigaodm commented 5 years ago

@tunnell @JelleAalbers Would you like to update the review status so that we can decide when to merge it? At a later stage more analyzers can use this to learn Strax.