##// END OF EJS Templates
Reading Unit for Madrigal decorated (just for python2X)
George Yong -
r1189:67ce1e63c533
parent child
Show More
@@ -15,7 +15,7 import numpy
15 15 import h5py
16 16
17 17 from schainpy.model.io.jroIO_base import JRODataReader
18 from schainpy.model.proc.jroproc_base import ProcessingUnit, Operation
18 from schainpy.model.proc.jroproc_base import ProcessingUnit, Operation, MPDecorator
19 19 from schainpy.model.data.jrodata import Parameters
20 20 from schainpy.utils import log
21 21
@@ -70,12 +70,12 def load_json(obj):
70 70
71 71 return iterable
72 72
73
73 @MPDecorator
74 74 class MADReader(JRODataReader, ProcessingUnit):
75 75
76 def __init__(self, **kwargs):
76 def __init__(self):
77 77
78 ProcessingUnit.__init__(self, **kwargs)
78 ProcessingUnit.__init__(self)
79 79
80 80 self.dataOut = Parameters()
81 81 self.counter_records = 0
General Comments 0
You need to be logged in to leave comments. Login now