sbe.accessors ============= .. py:module:: sbe.accessors Classes ------- .. autoapisummary:: sbe.accessors.SBEAccessor Module Contents --------------- .. py:class:: SBEAccessor(xarray_object: xarray.Dataset) Bases: :py:obj:`collections.abc.Mapping` A Mapping is a generic container for associating key/value pairs. This class provides concrete generic implementations of all methods except for __getitem__, __iter__, and __len__. .. py:attribute:: _obj .. py:method:: to_hex(path: str | os.PathLike | None = None, check=True) return or write a .hex file identical to the input of read_hex The output will not be identical if the errors of read_hex was not "store". .. py:method:: _str_to_bytes_or_file(var, path: str | os.PathLike | None = None, check=True) .. py:method:: to_hdr(path: str | os.PathLike | None = None, check=True) .. py:method:: to_xmlcon(path: str | os.PathLike | None = None, check=True) .. py:method:: to_bl(path: str | os.PathLike | None = None, check=True) .. py:method:: all_to_dir(path: str | os.PathLike, check=True) Write all possible output files to path Given some path to a directory, will export all the files (hex, xmlcon, bl, hdr) using their input filenames. .. py:method:: _xmlcon() .. py:method:: get_frequency(freq: int) .. py:method:: get_voltage(voltage: int) .. py:property:: num_frequencies :type: int .. py:property:: num_voltages :type: int .. py:property:: config .. py:property:: sensors .. py:method:: serialize() .. py:property:: _meta Write out metadata columns using the wrapper .. py:property:: _names .. py:method:: __getitem__(name) .. py:method:: __len__() .. py:method:: __iter__()