OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
pml.c File Reference
#include <stdlib.h>
#include <math.h>
#include "pml.h"
#include "l12_proto.h"
Include dependency graph for pml.c:

Go to the source code of this file.

Functions

void pml_assert (int expr)
 
int pml_is_initialized (void)
 
int pml_init (int iter8, int i410, int i440, int i490, int i510, int i555, int i670, float *awptr, float *bbwptr)
 

Function Documentation

◆ pml_assert()

void pml_assert ( int  expr)

Definition at line 31 of file pml.c.

◆ pml_init()

int pml_init ( int  iter8,
int  i410,
int  i440,
int  i490,
int  i510,
int  i555,
int  i670,
float *  awptr,
float *  bbwptr 
)

pml_init - PML IOP algorithm @iter8: iterate (0-no,1-yes) @i410: 0-relative index in spectrum of 410 nm @i440: 0-relative index in spectrum of 440 nm @i490: 0-relative index in spectrum of 490 nm @i510: 0-relative index in spectrum of 510 nm @i555: 0-relative index in spectrum of 555 nm @i670: 0-relative index in spectrum of 670 nm DESCRIPTION: This routine should be called to initialize various parameters that may be adjusted in the PML algorithm or that must be known apriori.

Definition at line 60 of file pml.c.

◆ pml_is_initialized()

int pml_is_initialized ( void  )

pml_is_initialized - DESCRIPTION: Return 1 if pml_init has been previously called; 0, otherwise

Definition at line 42 of file pml.c.