Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
LogTransformer.py
Go to the documentation of this file.
1 from ._CustomTransformer import _CustomTransformer
2 
3 import numpy as np
4 
5 
7  ''' Transform into log domain '''
8  def _transform(self, X, *args, **kwargs): return np.log(X)
9  def _inverse_transform(self, X, *args, **kwargs): return np.exp(X)
10