Commit 3b249644 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Changed logging message.

parent e7c0588e
Pipeline #1721 passed with stage
in 11 minutes and 57 seconds
......@@ -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)
......
Supports Markdown
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