OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
MDN.transformers.RatioTransformer Namespace Reference

Classes

class  RatioTransformer
 

Functions

def add_labels (n_bands, label_function)
 
def BR2 (Rrs, W1, W2)
 
def BR3 (Rrs, W1, W2, W3)
 
def LH (Rrs, W1, W2, W3)
 
def ND (Rrs, W1, W2)
 
def AVG (Rrs, W1, W2, W3)
 
def PEAK (Rrs, min_wvl, max_wvl, wavelengths=None)
 

Function Documentation

◆ add_labels()

def MDN.transformers.RatioTransformer.add_labels (   n_bands,
  label_function 
)
Decorator which adds labels to the RatioTransformer.labels
    list, using the given label_function to combine lists of
    wavelengths that are passed to the decorated function. 

Definition at line 16 of file RatioTransformer.py.

◆ AVG()

def MDN.transformers.RatioTransformer.AVG (   Rrs,
  W1,
  W2,
  W3 
)
Average difference 

Definition at line 64 of file RatioTransformer.py.

◆ BR2()

def MDN.transformers.RatioTransformer.BR2 (   Rrs,
  W1,
  W2 
)
2-Band ratio 

Definition at line 39 of file RatioTransformer.py.

◆ BR3()

def MDN.transformers.RatioTransformer.BR3 (   Rrs,
  W1,
  W2,
  W3 
)
3-Band ratio 

Definition at line 45 of file RatioTransformer.py.

◆ LH()

def MDN.transformers.RatioTransformer.LH (   Rrs,
  W1,
  W2,
  W3 
)
Line height 

Definition at line 51 of file RatioTransformer.py.

◆ ND()

def MDN.transformers.RatioTransformer.ND (   Rrs,
  W1,
  W2 
)
Normalized difference 

Definition at line 58 of file RatioTransformer.py.

◆ PEAK()

def MDN.transformers.RatioTransformer.PEAK (   Rrs,
  min_wvl,
  max_wvl,
  wavelengths = None 
)
Peak location in a range of wavelengths 

Definition at line 70 of file RatioTransformer.py.