ocssw
V2022
|
#include <stdio.h>
#include <math.h>
#include "l12_proto.h"
#include "giop.h"
#include "amoeba.h"
#include <gsl/gsl_errno.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_multifit_nlin.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_poly.h>
Include dependency graph for giop.c:
Go to the source code of this file.
Classes | |
struct | fit_data_str |
Functions | |
void | freeArray (void **a, int32_t m) |
void | freeDArray (double **a, int32_t m) |
void | giop_int_tab_file (char *file, int nx, float *x, float **y) |
void | giop_ctl_start (giopstr *g, float chl) |
void | giop_ctl_init (giopstr *g, int nwave, float wave[], float aw[], float bbw[]) |
int | giop_ran (int recnum) |
void | giop_model (giopstr *g, double par[], int nwave, float wave[], float aw[], float bbw[], float foq[], float aph[], float adg[], float bbp[], double rrs[], double **dfdpar, double **parstar) |
void | giop_model_iterate (giopstr *g, double par[], int nwave, float wave[], float aw[], float bbw[], float foq[], float aph[], float adg[], float bbp[], float acdom[], float anap[], float bbph[], float bbnap[], double rrs[], double **dfdpar, double **parstar) |
double | giop_amb (FITSTRUCT *ambdata, double par[]) |
int | fit_giop_amb (giopstr *g, double Rrs[], double wts[], double par[], double Rrs_fit[], int16 *itercnt) |
int | giop_lm_fdf (const gsl_vector *parv, void *data, gsl_vector *f, gsl_matrix *J) |
int | giop_lm_f (const gsl_vector *parv, void *data, gsl_vector *f) |
int | giop_lm_df (const gsl_vector *parv, void *data, gsl_matrix *J) |
int | fit_giop_lm (giopstr *g, double Rrs[], double wts[], double par[], double *chi, int16 *itercnt) |
int | fit_giop_svd (giopstr *g, double rrs[], double wts[], double par[]) |
int | fit_giop_svd_siop (giopstr *g, double rrs[], double wts[], double par[], double *chi) |
float32 | giop_chl (giopstr *g, int16 iopf, double par[], float *chl_err) |
float | rrs_above_to_below (float Rrs) |
float | rrs_below_to_above (float rrs_s) |
void | run_giop (l2str *l2rec) |
void | get_giop (l2str *l2rec, l2prodstr *p, float prod[]) |
int16 * | get_iter_giop (l2str *l2rec) |
int16 * | get_flags_giop (l2str *l2rec) |
void | iops_giop (l2str *l2rec) |
float * | giop_get_chl_pointer () |
float * | giop_get_adg_pointer () |
float * | giop_get_bbp_pointer () |
float * | giop_get_aph_pointer () |
float ** | giop_get_fitpar_pointer () |
float * | giop_get_bbp_s_pointer () |
Function Documentation
◆ fit_giop_amb()
int fit_giop_amb | ( | giopstr * | g, |
double | Rrs[], | ||
double | wts[], | ||
double | par[], | ||
double | Rrs_fit[], | ||
int16 * | itercnt | ||
) |
◆ fit_giop_lm()
int fit_giop_lm | ( | giopstr * | g, |
double | Rrs[], | ||
double | wts[], | ||
double | par[], | ||
double * | chi, | ||
int16 * | itercnt | ||
) |
◆ fit_giop_svd()
int fit_giop_svd | ( | giopstr * | g, |
double | rrs[], | ||
double | wts[], | ||
double | par[] | ||
) |
◆ fit_giop_svd_siop()
int fit_giop_svd_siop | ( | giopstr * | g, |
double | rrs[], | ||
double | wts[], | ||
double | par[], | ||
double * | chi | ||
) |
◆ freeArray()
◆ freeDArray()
◆ get_flags_giop()
◆ get_giop()
void get_giop | ( | l2str * | l2rec, |
l2prodstr * | p, | ||
float | prod[] | ||
) |
◆ get_iter_giop()
◆ giop_amb()
◆ giop_chl()
float32 giop_chl | ( | giopstr * | g, |
int16 | iopf, | ||
double | par[], | ||
float * | chl_err | ||
) |
◆ giop_ctl_init()
void giop_ctl_init | ( | giopstr * | g, |
int | nwave, | ||
float | wave[], | ||
float | aw[], | ||
float | bbw[] | ||
) |
◆ giop_ctl_start()
◆ giop_get_adg_pointer()
◆ giop_get_aph_pointer()
◆ giop_get_bbp_pointer()
◆ giop_get_bbp_s_pointer()
◆ giop_get_chl_pointer()
◆ giop_get_fitpar_pointer()
◆ giop_int_tab_file()
void giop_int_tab_file | ( | char * | file, |
int | nx, | ||
float * | x, | ||
float ** | y | ||
) |
◆ giop_lm_df()
int giop_lm_df | ( | const gsl_vector * | parv, |
void * | data, | ||
gsl_matrix * | J | ||
) |
◆ giop_lm_f()
int giop_lm_f | ( | const gsl_vector * | parv, |
void * | data, | ||
gsl_vector * | f | ||
) |
◆ giop_lm_fdf()
int giop_lm_fdf | ( | const gsl_vector * | parv, |
void * | data, | ||
gsl_vector * | f, | ||
gsl_matrix * | J | ||
) |
◆ giop_model()
void giop_model | ( | giopstr * | g, |
double | par[], | ||
int | nwave, | ||
float | wave[], | ||
float | aw[], | ||
float | bbw[], | ||
float | foq[], | ||
float | aph[], | ||
float | adg[], | ||
float | bbp[], | ||
double | rrs[], | ||
double ** | dfdpar, | ||
double ** | parstar | ||
) |
◆ giop_model_iterate()
void giop_model_iterate | ( | giopstr * | g, |
double | par[], | ||
int | nwave, | ||
float | wave[], | ||
float | aw[], | ||
float | bbw[], | ||
float | foq[], | ||
float | aph[], | ||
float | adg[], | ||
float | bbp[], | ||
float | acdom[], | ||
float | anap[], | ||
float | bbph[], | ||
float | bbnap[], | ||
double | rrs[], | ||
double ** | dfdpar, | ||
double ** | parstar | ||
) |