Commit 801dec74 authored by Vigeesh Gangadharan's avatar Vigeesh Gangadharan
Browse files

add width default

parent 52b90ca0
Pipeline #3971 passed with stage
in 3 minutes and 1 second
......@@ -1844,13 +1844,14 @@ class VFISVpackage:
wave_array = self.get_wavelength_array(convert=Unit.Angstrom)
# set spectral lines automatically based on the spectral region
if auto:
if self.auto:
self.width = 1.8
if wave_array[0] <= 15662.017 <= wave_array[-1]:
self.line = 15662.017
elif wave_array[0] <= 10838.970 <= wave_array[-1]:
self.line = 10838.970
print('Line', self.line)
# Check if the line is in limit
if wave_array[0] <= self.line <= wave_array[-1]:
# Get wavelength relative to the spectral line
......
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