##// END OF EJS Templates
jroprocessing:...
Miguel Valdez -
r191:58293a972ca2
parent child
Show More
@@ -232,7 +232,9 class JRODataIO:
232 232
233 233 raise ValueError, "Not implemented"
234 234
235 def getOuput(self):
235 236
237 return self.dataOut
236 238
237 239 class JRODataReader(JRODataIO):
238 240
@@ -139,6 +139,14 class ProcessingUnit:
139 139 self.callObject(operationConf.id, **kwargs)
140 140 return
141 141
142 def setInput(self, dataIn):
143
144 self.dataIn = dataIn
145
146 def getOutput(self):
147
148 return self.dataOut
149
142 150 class Operation():
143 151
144 152 """
@@ -185,18 +193,6 class VoltageProc(ProcessingUnit):
185 193 self.objectDict = {}
186 194 self.dataOut = Voltage()
187 195
188
189 def setup(self, dataIn=None, dataOut=None):
190
191 self.dataIn = dataIn
192
193 if self.dataOut == None:
194 dataOut = Voltage()
195
196 self.dataOut = dataOut
197
198 return self.dataOut
199
200 196 def init(self):
201 197
202 198 self.dataOut.copy(self.dataIn)
General Comments 0
You need to be logged in to leave comments. Login now