Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sdc
GRIS Gregor Infrared Spectrograph
grisinv
Commits
801dec74
Commit
801dec74
authored
May 11, 2022
by
Vigeesh Gangadharan
Browse files
add width default
parent
52b90ca0
Pipeline
#3971
passed with stage
in 3 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
grisinv/invert.py
View file @
801dec74
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment