ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcppCog.c File Reference
#include <ngc/core/ngcpp.h>
#include <math.h>

Functions

int ngcppBgThreshold (float *data, float *bg, int nx, int ny, int nbg, double k1, int nLoop, double k2, double *thrMin, double *sigma, double badPixLevel)
 
int ngcppCog (double *cx, double *cy, float *data, int nx, int ny, double thr)
 
int ngcppCogX (double *cx, float *data, int nx, int ny, double thr)
 
int ngcppCogY (double *cy, float *data, int nx, int ny, double thr)
 

Detailed Description

Function Documentation

◆ ngcppBgThreshold()

int ngcppBgThreshold ( float * data,
float * bg,
int nx,
int ny,
int nbg,
double k1,
int nLoop,
double k2,
double * thrMin,
double * sigma,
double badPixLevel )

Background threshold estimation (sigma clipping above badPixLevel)

◆ ngcppCog()

int ngcppCog ( double * cx,
double * cy,
float * data,
int nx,
int ny,
double thr )

Center of gravity

◆ ngcppCogX()

int ngcppCogX ( double * cx,
float * data,
int nx,
int ny,
double thr )

Center of gravity in x-direction

◆ ngcppCogY()

int ngcppCogY ( double * cy,
float * data,
int nx,
int ny,
double thr )

Center of gravity in y-direction