@@ -15,7 +15,7 import numpy | |||||
15 | import h5py |
|
15 | import h5py | |
16 |
|
16 | |||
17 | from schainpy.model.io.jroIO_base import JRODataReader |
|
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 | from schainpy.model.data.jrodata import Parameters |
|
19 | from schainpy.model.data.jrodata import Parameters | |
20 | from schainpy.utils import log |
|
20 | from schainpy.utils import log | |
21 |
|
21 | |||
@@ -70,12 +70,12 def load_json(obj): | |||||
70 |
|
70 | |||
71 | return iterable |
|
71 | return iterable | |
72 |
|
72 | |||
73 |
|
73 | @MPDecorator | ||
74 | class MADReader(JRODataReader, ProcessingUnit): |
|
74 | class MADReader(JRODataReader, ProcessingUnit): | |
75 |
|
75 | |||
76 |
def __init__(self |
|
76 | def __init__(self): | |
77 |
|
77 | |||
78 |
ProcessingUnit.__init__(self |
|
78 | ProcessingUnit.__init__(self) | |
79 |
|
79 | |||
80 | self.dataOut = Parameters() |
|
80 | self.dataOut = Parameters() | |
81 | self.counter_records = 0 |
|
81 | self.counter_records = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now