:mod:`km3pipe.io.clb` ===================== .. py:module:: km3pipe.io.clb .. autoapi-nested-parse:: Pumps for the CLB data formats. .. !! processed by numpydoc !! Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: km3pipe.io.clb.CLBPump km3pipe.io.clb.CLBHeader .. data:: log .. data:: UTC_TZ .. py:class:: CLBPump Bases::class:`km3pipe.core.Pump` A pump for binary CLB files. .. !! processed by numpydoc !! .. method:: configure(self) .. method:: determine_packet_positions(self) Record the file pointer position of each frame .. !! processed by numpydoc !! .. method:: seek_to_packet(self, index) Move file pointer to the packet with given index. .. !! processed by numpydoc !! .. method:: next_blob(self) Generate next blob in file .. !! processed by numpydoc !! .. method:: get_blob(self, index) Return blob at given index. .. !! processed by numpydoc !! .. method:: process(self, blob) .. method:: finish(self) Clean everything up .. !! processed by numpydoc !! .. py:class:: CLBHeader(byte_data=None, file_obj=None) Bases::class:`object` Wrapper for the CLB Common Header binary format. Args: file_obj (file): The binary file, where the file pointer is at the beginning of the header. Attributes: size (int): The size of the original DAQ byte representation. .. !! processed by numpydoc !! .. attribute:: size :annotation: = 40 .. data:: PMTData