resistics.time.utils module

resistics.time.utils.getTimeReader(datapath: str) → Union[resistics.time.reader.TimeReader, bool][source]

Get the data reader for a time data directory (and format)

Format is determined through a mix of header and data file extensions. Not perfect, but it saves the user from having to specify each time

Parameters
datapathstr

Path to data directory

Returns
dataReaderDataReader (DataReaderATS, DataReaderSPAM, DataReaderInternal, DataReaderPhonix, DataReaderLemiB423, DataReaderLemiB423E)

Data reader object