<filename>vespa/analysis/fileio/dicom_siemens_timeseries.py
# Python modules

# 3rd party modules

# Our modules
from vespa.analysis.fileio.dicom_siemens import RawReaderDicomSiemens
from vespa.common.mrs_data_raw_timeseries import DataRawTimeseries
from vespa.common.constants import Deflate



class RawReaderDicomSiemensTimeseries(RawReaderDicomSiemens):

    def __init__(self):
        """ Read multiple Siemens DICOM files into DataRawTimeseries object """
        RawReaderDicomSiemens.__init__(self)


    def read_raw(self, filename, ignore_data=False, *args, **kwargs):

        raw = super().read_raw(filename, ignore_data, kwargs['open_dataset'])[0]
        raw = DataRawTimeseries(raw.deflate(Deflate.DICTIONARY))

        return [raw,]




<filename>vespa/analysis/fileio/dicom_siemens_timeseries.py
# Python modules

# 3rd party modules

# Our modules
from vespa.analysis.fileio.dicom_siemens import RawReaderDicomSiemens
from vespa.common.mrs_data_raw_timeseries import DataRawTimeseries
from vespa.common.constants import Deflate



class RawReaderDicomSiemensTimeseries(RawReaderDicomSiemens):

    def __init__(self):
        """ Read multiple Siemens DICOM files into DataRawTimeseries object """
        RawReaderDicomSiemens.__init__(self)


    def read_raw(self, filename, ignore_data=False, *args, **kwargs):

        raw = super().read_raw(filename, ignore_data, kwargs['open_dataset'])[0]
        raw = DataRawTimeseries(raw.deflate(Deflate.DICTIONARY))

        return [raw,]




# Python modules # 3rd party modules # Our modules Read multiple Siemens DICOM files into DataRawTimeseries object