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