diff --git a/ld2dap/RawInput.py b/ld2dap/RawInput.py new file mode 100644 index 0000000..46a1c56 --- /dev/null +++ b/ld2dap/RawInput.py @@ -0,0 +1,20 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# \file RawInput.py +# \brief TODO +# \author Florent Guiotte +# \version 0.1 +# \date 12 sept. 2018 +# +# TODO details + +from ld2dap.core import Input + +class RawInput(Input): + def __init__(self, data, metadata): + super().__init__(self.__class__.__name__) + self.data = data + self.metadata = metadata + + def _process(self, data, metadata): + return self.data, self.metadata diff --git a/ld2dap/__init__.py b/ld2dap/__init__.py index 11766bb..df91a8c 100644 --- a/ld2dap/__init__.py +++ b/ld2dap/__init__.py @@ -17,4 +17,5 @@ from .LoadTIFF import LoadTIFF from .SaveFig import SaveFig from .ShowFig import ShowFig from .RawOutput import RawOutput +from .RawInput import RawInput from .Differential import Differential