Commit 13dfbffb authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Changed logging message.


Former-commit-id: 3b249644
Former-commit-id: 7af026f9
parent d4984981
......@@ -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