Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms_preprocessing
Commits
7af026f9
Commit
7af026f9
authored
Dec 14, 2017
by
Daniel Scheffler
Browse files
Changed logging message.
Former-commit-id:
3b249644
parent
04ceef61
Changes
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/algorithms/L2B_P.py
View file @
7af026f9
...
...
@@ -141,8 +141,9 @@ class SpectralHomogenizer(object):
orig_CWLs
,
target_CWLs
=
np
.
array
(
source_CWLs
),
np
.
array
(
target_CWLs
)
self
.
logger
.
info
(
'Performing spectral homogenization (%s) with target wavelength positions at %s nm.'
%
(
kind
,
', '
.
join
(
np
.
array
(
target_CWLs
[:
-
1
]).
astype
(
str
))
+
' and %s'
%
target_CWLs
[
-
1
]))
self
.
logger
.
info
(
'Performing spectral homogenization (%s interpolation) with target wavelength positions at %s nm.'
%
(
kind
,
', '
.
join
(
np
.
array
(
target_CWLs
[:
-
1
]).
astype
(
str
))
+
' and %s'
%
target_CWLs
[
-
1
]))
outarr
=
interp1d
(
np
.
array
(
orig_CWLs
),
arrcube
,
axis
=
2
,
kind
=
kind
,
fill_value
=
'extrapolate'
)(
target_CWLs
)
outarr
=
outarr
.
astype
(
np
.
int16
)
...
...
Daniel Scheffler
@danschef
mentioned in commit
13dfbffb
·
Mar 31, 2020
mentioned in commit
13dfbffb
mentioned in commit 13dfbffba547b5416d3ce113fc25e2fc045092d7
Toggle commit list
Write
Preview
Supports
Markdown
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