sda.io.read_trc =============== .. py:module:: sda.io.read_trc .. autoapi-nested-parse:: Little helper class to load data from a .trc binary file. This is the file format used by LeCroy oscilloscopes. M. Betz 09/2015 + pag1pag 03/2024 Attributes ---------- .. autoapisummary:: sda.io.read_trc.data Classes ------- .. autoapisummary:: sda.io.read_trc.ReadTrc Functions --------- .. autoapisummary:: sda.io.read_trc.get_data Module Contents --------------- .. py:class:: ReadTrc .. py:attribute:: f :type: None :value: None .. py:attribute:: x :type: numpy.ndarray | None :value: None .. py:attribute:: y :type: numpy.ndarray | None :value: None .. py:attribute:: d :type: dict[str, Any] | None :value: None .. py:method:: open(file_name) _decode_fixed_length_string .trc binary files from LeCroy Oscilloscopes. Decoding is based on LECROY_2_3 template. For more information, see: http://forums.ni.com/attachments/ni/60/4652/2/LeCroyWaveformTemplate_2_3.pdf Args: file_name (Path): Path to the .trc file. :returns: **tuple[np.ndarray, np.ndarray, dict]** :rtype: :py:class:`x`, :py:class:`y`, and :py:class:`d.` .. py:function:: get_data(file_name, deskew = 0, interpolation = False) Open a .trc file and return the data. .. py:data:: data