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
grisred
Commits
8b55b942
Commit
8b55b942
authored
Dec 02, 2021
by
Carl Schaffer
Browse files
Merge branch 'settings_fix' into 'master'
Settings fix See merge request
!10
parents
ab9d0189
1e2792b7
Pipeline
#3006
passed with stage
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
gris_calibration_settings.csv
View file @
8b55b942
This diff is collapsed.
Click to expand it.
gris_v8/get_calib_v7.pro
View file @
8b55b942
...
...
@@ -3,6 +3,13 @@ pro get_calib_v7,filecal,dmod1,dmod2,data=data,lambda=lambda,zbad=zbad,$
flat1
=
flat1
,
flat2
=
flat2
,
timeflat1
=
timeff1
,
timeflat2
=
timeff2
,
cdelta
=
cdelta
,
$
telcal_offset
=
telcal_offset
,
inscal_offset
=
inscal_offset
;
verify
calibration
file
exists
,
exit
with
error
code
if
not
fies
=
file_search
(
filecal
,
count
=
cnt
)
if
(
cnt
eq
0
)
then
begin
print
,
"Calibration file "
+
filecal
+
" not found!"
exit
,
status
=
1
endif
if
(
keyword_set
(
plot
)
eq
1
)
then
plot
=
1
else
plot
=
0
if
(
keyword_set
(
cdelta
)
eq
0
)
then
cdelta
=
0
.
if
(
keyword_set
(
telcal_offset
)
eq
0
)
then
telcal_offset
=
0
.
...
...
@@ -14,7 +21,7 @@ pro get_calib_v7,filecal,dmod1,dmod2,data=data,lambda=lambda,zbad=zbad,$
for
j
=
2
,
8
do
dc
=
dc
+
rfits_im
(
filecal
,
j
,
/
badp
)
dc
=
dc
/
8
.
tam
=
size
(
dc
)
date
=
param_fits
(
hdr
,
'DATE-OBS='
,
delimiter
=
'-'
,
vartype
=
1
)
dum
=
date
[
0
]
date
[
0
]
=
date
[
2
]
...
...
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