Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Monica Rainer
gofio
Commits
2130052b
Commit
2130052b
authored
Oct 20, 2017
by
Monica Rainer
Browse files
Corrected bug in varie.py
parent
9052ca74
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
2130052b
backup
calibrations
git_howto.txt
gofio_latest
gofio_latest.tar
reduced
...
...
drslib/varie.py
View file @
2130052b
...
...
@@ -758,10 +758,10 @@ def UNe_calibrate(lamp,order,select_lines,all_lines,use_oliva=CONFIG['CAL_FUNC']
messages
.
append
(
'Calibration failed for order %s, not enough lines.'
%
(
str
(
order
),))
if
use_oliva
:
#coeffs = OrderedDict({'k1':None,'k2':None,'k3':None,'l0':None,'xc':None,'rms':None})
coeffs
.
append
({
'k1'
:
None
,
'k2'
:
None
,
'k3'
:
None
,
'l0'
:
None
,
'xc'
:
None
,
'rms'
:
None
})
coeffs
.
update
({
'k1'
:
None
,
'k2'
:
None
,
'k3'
:
None
,
'l0'
:
None
,
'xc'
:
None
,
'rms'
:
None
})
if
use_poly
:
#coeffs = OrderedDict({'c0':None,'c1':None,'c2':None,'c3':None,'rms':None})
coeffs
.
append
({
'c0'
:
None
,
'c1'
:
None
,
'c2'
:
None
,
'c3'
:
None
,
'rms_poly'
:
None
})
coeffs
.
update
({
'c0'
:
None
,
'c1'
:
None
,
'c2'
:
None
,
'c3'
:
None
,
'rms_poly'
:
None
})
calib_failed
=
True
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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