@@ -615,7 +615,7 class SpectraProc(ProcessingUnit): | |||||
615 |
|
615 | |||
616 | # hei_interf |
|
616 | # hei_interf | |
617 | if hei_interf is None: |
|
617 | if hei_interf is None: | |
618 |
count_hei = num_hei / 2 |
|
618 | count_hei = int(num_hei / 2) | |
619 | hei_interf = numpy.asmatrix(list(range(count_hei))) + num_hei - count_hei |
|
619 | hei_interf = numpy.asmatrix(list(range(count_hei))) + num_hei - count_hei | |
620 | hei_interf = numpy.asarray(hei_interf)[0] |
|
620 | hei_interf = numpy.asarray(hei_interf)[0] | |
621 | # nhei_interf |
|
621 | # nhei_interf | |
@@ -728,7 +728,7 class SpectraProc(ProcessingUnit): | |||||
728 | # Remocion de Interferencia en el Cross Spectra |
|
728 | # Remocion de Interferencia en el Cross Spectra | |
729 | if jcspectra is None: |
|
729 | if jcspectra is None: | |
730 | return jspectra, jcspectra |
|
730 | return jspectra, jcspectra | |
731 | num_pairs = jcspectra.size / (num_prof * num_hei) |
|
731 | num_pairs = int(jcspectra.size / (num_prof * num_hei)) | |
732 | jcspectra = jcspectra.reshape(num_pairs, num_prof, num_hei) |
|
732 | jcspectra = jcspectra.reshape(num_pairs, num_prof, num_hei) | |
733 |
|
733 | |||
734 | for ip in range(num_pairs): |
|
734 | for ip in range(num_pairs): |
General Comments 0
You need to be logged in to leave comments.
Login now