def DataFromFileCache(self, FilePath): """ Gets the cached data from 'FileName' Args: FilePath: Where the file is located Returns: Data, formatted like a wave data group. will *always* be time,sep, force """ # dont want to throw an error if the high res doesnt have a separation return BinaryHDF5Io.ReadWaveIntoWaveGroup(FilePath, ErrorOnNoSep=False)
def GetHighResData(filePath): """ Given a file path, reads the data into a TimeSepForceObj, for easy reading. Args: filePath: where to get the data from Returns: A timeSepForceObj, presummabyly with high resolution data """ dataGroup = BinaryHDF5Io.ReadWaveIntoWaveGroup(filePath) return TimeSepForceObj(dataGroup)