Create a RawInput node

This commit is contained in:
Florent Guiotte 2018-09-12 16:16:15 +02:00
parent 5be22051c6
commit 506eb11946
2 changed files with 21 additions and 0 deletions

20
ld2dap/RawInput.py Normal file
View File

@ -0,0 +1,20 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# \file RawInput.py
# \brief TODO
# \author Florent Guiotte <florent.guiotte@gmail.com>
# \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

View File

@ -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