OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
Inheritance diagram for RatioTransformer:
[legend]
Collaboration diagram for RatioTransformer:
[legend]

Public Member Functions

def __init__ (self, wavelengths, sensor, *args, excl_Rrs=False, all_ratio=False, cutoff=0.5, **kwargs)
 
def get_n_features (self)
 
- Public Member Functions inherited from _CustomTransformer
def fit (self, X, *args, **kwargs)
 
def transform (self, X, *args, **kwargs)
 
def inverse_transform (self, X, *args, **kwargs)
 
def fit_transform (self, X, *args, **kwargs)
 

Static Public Member Functions

def config_info (*args, **kwargs)
 

Public Attributes

 wavelengths
 
 all_ratio
 
 excl_Rrs
 
 sensor
 
 cutoff
 
 features
 
 labels
 
 shape
 

Static Public Attributes

list functions = [BR2, BR3, LH, ND, AVG]
 

Detailed Description

Add ratio features 

Definition at line 82 of file RatioTransformer.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  wavelengths,
  sensor,
args,
  excl_Rrs = False,
  all_ratio = False,
  cutoff = 0.5,
**  kwargs 
)

Definition at line 86 of file RatioTransformer.py.

Member Function Documentation

◆ config_info()

def config_info ( args,
**  kwargs 
)
static

Reimplemented from _CustomTransformer.

Definition at line 95 of file RatioTransformer.py.

◆ get_n_features()

def get_n_features (   self)

Definition at line 100 of file RatioTransformer.py.

Member Data Documentation

◆ all_ratio

all_ratio

Definition at line 88 of file RatioTransformer.py.

◆ cutoff

cutoff

Definition at line 91 of file RatioTransformer.py.

◆ excl_Rrs

excl_Rrs

Definition at line 89 of file RatioTransformer.py.

◆ features

features

Definition at line 117 of file RatioTransformer.py.

◆ functions

list functions = [BR2, BR3, LH, ND, AVG]
static

Definition at line 84 of file RatioTransformer.py.

◆ labels

labels

Definition at line 118 of file RatioTransformer.py.

◆ sensor

sensor

Definition at line 90 of file RatioTransformer.py.

◆ shape

shape

Definition at line 119 of file RatioTransformer.py.

◆ wavelengths

wavelengths

Definition at line 87 of file RatioTransformer.py.


The documentation for this class was generated from the following file: