sidpy.sid.reader.Reader

class sidpy.sid.reader.Reader(file_path, *args, **kwargs)[source]

Bases: object

Abstract class that defines the most basic functionality of a data format Reader. A Reader extracts measurement data and metadata from binary / proprietary data formats into a single or set of sipy.Dataset objects

Parameters:

file_path (str) – Path to the file that needs to be read

self._input_file_path

Path to the file that will be read

Type:

str

Notes

  • This method will check to make sure that the provided file_path is indeed a string and a valid file path.

  • Consider calling can_read() within __init__() for validating the provided file

Raises:

FileNotFoundError

Methods

can_read