:mod:`km3pipe.io.aanet` ======================= .. py:module:: km3pipe.io.aanet .. autoapi-nested-parse:: Pump for the Aanet data format. This is undoubtedly the ugliest module in the entire framework. If you have a way to read aanet files via the Jpp interface, your pull request is more than welcome! .. !! processed by numpydoc !! Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: km3pipe.io.aanet.AanetPump km3pipe.io.aanet.MetaParser .. data:: log .. data:: FITINF2NUM .. data:: FITINFDUSJ2NUM .. data:: AANET_RECTYPE_PLACEHOLDER :annotation: = 4000 .. data:: RECO2NUM .. data:: JHIST_CHAINS .. data:: FITINF2NAME .. data:: FITINFDUSJ2NAME .. data:: RECO2NAME .. data:: IS_CC .. py:class:: AanetPump Bases::class:`km3pipe.core.Pump` A pump for binary Aanet files. :Parameters: **filename: str, optional** Name of the file to open. If this parameter is not given, ``filenames`` needs to be specified instead. **ignore_hits: bool, optional [default=False]** If true, don't read our the hits/mchits. **bare: bool, optional [default=False]** Do not create KM3Pipe specific data, just wrap the bare aanet API. This will only give you ``blob['evt']``. .. !! processed by numpydoc !! .. method:: configure(self) .. method:: get_blob(self, index) .. method:: blob_generator(self) Create a blob generator. .. !! processed by numpydoc !! .. method:: process(self, blob=None) .. py:class:: MetaParser(filename=None, string=None) Bases::class:`object` A class which parses the JPrintMeta output for a given filenam .. !! processed by numpydoc !! .. method:: parse_string(self, string) Parse ASCII output of JPrintMeta .. !! processed by numpydoc !! .. method:: get_table(self, name='Meta', h5loc='/meta') Convert metadata to a KM3Pipe Table. Returns `None` if there is no data. Each column's dtype will be set to a fixed size string (numpy.string_) with the length of the longest entry, since writing variable length strings does not fit the current scheme. .. !! processed by numpydoc !!