Commit 6b5f5432 authored by Vigeesh Gangadharan's avatar Vigeesh Gangadharan
Browse files

Merge branch 'develop' into 'master'

quick fix of the crval

See merge request sdc/grisinv!18
parents 47f2e23d 4fbc5a50
Pipeline #1434 passed with stage
in 2 minutes and 30 seconds
......@@ -1315,7 +1315,7 @@ class VFISVpackage:
.value
)
self.wave_start= wave_array[0]
if (wave_array[0] < self.line) and (wave_array[-1] > self.line):
wave_func = interpolate.interp1d(wave_array, np.arange(len(wave_array)))
......@@ -1325,6 +1325,7 @@ class VFISVpackage:
int(self.pix_lab_wav + self.width // self.header["CDELT3"]),
)
self.pix_cont = self.pix_end
self.wave_start = wave_array[self.pix_ini]
else:
print(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment