@@ -534,13 +534,13 class SpectraWriter(JRODataWriter, Operation): | |||||
534 | data = data.reshape((-1)) |
|
534 | data = data.reshape((-1)) | |
535 | data.tofile(self.fp) |
|
535 | data.tofile(self.fp) | |
536 |
|
536 | |||
537 | self.data_spc.fill(0) |
|
537 | # self.data_spc.fill(0) | |
538 |
|
538 | # | ||
539 | if self.data_dc is not None: |
|
539 | # if self.data_dc is not None: | |
540 | self.data_dc.fill(0) |
|
540 | # self.data_dc.fill(0) | |
541 |
|
541 | # | ||
542 | if self.data_cspc is not None: |
|
542 | # if self.data_cspc is not None: | |
543 | self.data_cspc.fill(0) |
|
543 | # self.data_cspc.fill(0) | |
544 |
|
544 | |||
545 | self.flagIsNewFile = 0 |
|
545 | self.flagIsNewFile = 0 | |
546 | self.flagIsNewBlock = 1 |
|
546 | self.flagIsNewBlock = 1 | |
@@ -583,6 +583,7 class SpectraWriter(JRODataWriter, Operation): | |||||
583 | if self.dataOut.data_cspc is not None: |
|
583 | if self.dataOut.data_cspc is not None: | |
584 | self.data_cspc = self.dataOut.data_cspc.copy() |
|
584 | self.data_cspc = self.dataOut.data_cspc.copy() | |
585 |
|
|
585 | ||
|
586 | if self.dataOut.data_dc is not None: | |||
586 | self.data_dc = self.dataOut.data_dc.copy() |
|
587 | self.data_dc = self.dataOut.data_dc.copy() | |
587 |
|
588 | |||
588 | # #self.processingHeaderObj.dataBlocksPerFile) |
|
589 | # #self.processingHeaderObj.dataBlocksPerFile) |
General Comments 0
You need to be logged in to leave comments.
Login now