|
Titanlib
Library for quality control algorithms
|
#include <stdio.h>#include <stdlib.h>#include <math.h>#include <stdbool.h>#include <string.h>#include <time.h>#include <assert.h>#include <gsl/gsl_linalg.h>#include <gsl/gsl_multimin.h>#include <gsl/gsl_rstat.h>#include <gsl/gsl_statistics.h>#include <gsl/gsl_sort.h>#include <gsl/gsl_blas.h>#include "sct_smart_boxes.h"Functions | |
| void | basic_vertical_profile (int nz, double *z, double t0, double *t_out) |
| double | basic_vertical_profile_optimizer_function (const gsl_vector *v, void *data) |
| double | compute_quantile (double quantile, double *array, int sizeArray) |
| int | compute_vertical_profile (struct Box *box, double meanT, double gamma, double a, double exact_p10, double exact_p90, int nminprof, double dzmin, double *vp) |
| struct BoxList | control_box_division (int maxNumStationsInBox, int minNumStationsInBox, struct Box inputBox) |
| gsl_matrix * | inverse_matrix (const gsl_matrix *matrix) |
| double | max (const double *array, int sizeArray) |
| double | mean (const double *array, int sizeArray) |
| struct Box | merge_boxes (struct Box box1, struct Box box2) |
| double | min (const double *array, int sizeArray) |
| void | print_gsl_matrix (gsl_matrix *matrix, int rows, int columns) |
| void | print_gsl_vector (gsl_vector *vector, int size) |
| void | print_matrix (double **matrix, int rows, int columns) |
| void | print_sub_gsl_matrix (gsl_matrix *matrix, int start, int stop) |
| void | print_vector (double *vector, int size) |
| void | sct_smart_boxes (int *n, double *x, double *y, double *z, double *t, int *nmax, int *nmin, int *nminprof, double *dzmin, double *dhmin, double *dz, double *t2pos, double *t2neg, double *eps2, int *flags, double *sct, double *rep, int *boxids) |
| void | spatial_consistency_test (struct Box *currentBox, int *nminprof, double *dzmin, double *dhmin, double *dz, double *t2pos, double *t2neg, double *eps2, int *flags, double *sct_out, double *rep_out) |
| void | split_box (int maxNumStationsInBox, int minNumStationsInBox, struct Box inputBox, struct BoxList *box_list) |
| void | vertical_profile (int nz, double *z, double t0, double gamma, double a, double h0, double h1i, double *t_out) |
| double | vertical_profile_optimizer_function (const gsl_vector *v, void *data) |
| void basic_vertical_profile | ( | int | nz, |
| double * | z, | ||
| double | t0, | ||
| double * | t_out | ||
| ) |
| double basic_vertical_profile_optimizer_function | ( | const gsl_vector * | v, |
| void * | data | ||
| ) |
| double compute_quantile | ( | double | quantile, |
| double * | array, | ||
| int | sizeArray | ||
| ) |
| int compute_vertical_profile | ( | struct Box * | box, |
| double | meanT, | ||
| double | gamma, | ||
| double | a, | ||
| double | exact_p10, | ||
| double | exact_p90, | ||
| int | nminprof, | ||
| double | dzmin, | ||
| double * | vp | ||
| ) |
| struct BoxList control_box_division | ( | int | maxNumStationsInBox, |
| int | minNumStationsInBox, | ||
| struct Box | inputBox | ||
| ) |
| gsl_matrix* inverse_matrix | ( | const gsl_matrix * | matrix | ) |
| double max | ( | const double * | array, |
| int | sizeArray | ||
| ) |
| double mean | ( | const double * | array, |
| int | sizeArray | ||
| ) |
| double min | ( | const double * | array, |
| int | sizeArray | ||
| ) |
| void print_gsl_matrix | ( | gsl_matrix * | matrix, |
| int | rows, | ||
| int | columns | ||
| ) |
| void print_gsl_vector | ( | gsl_vector * | vector, |
| int | size | ||
| ) |
| void print_matrix | ( | double ** | matrix, |
| int | rows, | ||
| int | columns | ||
| ) |
| void print_sub_gsl_matrix | ( | gsl_matrix * | matrix, |
| int | start, | ||
| int | stop | ||
| ) |
| void print_vector | ( | double * | vector, |
| int | size | ||
| ) |
| void sct_smart_boxes | ( | int * | n, |
| double * | x, | ||
| double * | y, | ||
| double * | z, | ||
| double * | t, | ||
| int * | nmax, | ||
| int * | nmin, | ||
| int * | nminprof, | ||
| double * | dzmin, | ||
| double * | dhmin, | ||
| double * | dz, | ||
| double * | t2pos, | ||
| double * | t2neg, | ||
| double * | eps2, | ||
| int * | flags, | ||
| double * | sct, | ||
| double * | rep, | ||
| int * | boxids | ||
| ) |
| void spatial_consistency_test | ( | struct Box * | currentBox, |
| int * | nminprof, | ||
| double * | dzmin, | ||
| double * | dhmin, | ||
| double * | dz, | ||
| double * | t2pos, | ||
| double * | t2neg, | ||
| double * | eps2, | ||
| int * | flags, | ||
| double * | sct_out, | ||
| double * | rep_out | ||
| ) |
| void split_box | ( | int | maxNumStationsInBox, |
| int | minNumStationsInBox, | ||
| struct Box | inputBox, | ||
| struct BoxList * | box_list | ||
| ) |
| void vertical_profile | ( | int | nz, |
| double * | z, | ||
| double | t0, | ||
| double | gamma, | ||
| double | a, | ||
| double | h0, | ||
| double | h1i, | ||
| double * | t_out | ||
| ) |
| double vertical_profile_optimizer_function | ( | const gsl_vector * | v, |
| void * | data | ||
| ) |
1.8.13