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