Functions | |
| float | vircam_med (float *data, unsigned char *bpm, long npts) |
| double | vircam_dmed (double *data, unsigned char *bpm, long npts) |
| float | vircam_mean (float *data, unsigned char *bpm, long npts) |
| double | vircam_dmean (double *data, unsigned char *bpm, long npts) |
| int | vircam_meansig (float *data, unsigned char *bpm, long npts, float *mean, float *sig) |
| int | vircam_meansigcut (float *data, unsigned char *bpm, long npts, float lcut, float hcut, float *mean, float *sig) |
| void | vircam_qmedsig (float *data, unsigned char *bpm, long npts, float thresh, int niter, float lowv, float highv, float *median, float *sigma) |
| void | vircam_medmad (float *data, unsigned char *bpm, long np, float *med, float *mad) |
| void | vircam_medmadcut (float *data, unsigned char *bpm, long np, float lcut, float hcut, float *med, float *mad) |
| void | vircam_medsig (float *data, unsigned char *bpm, long np, float *med, float *sig) |
| int | vircam_sumbpm (unsigned char *bpm, int npts, int *sumb) |
| double vircam_dmean | ( | double * | data, | |
| unsigned char * | bpm, | |||
| long | npts | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| npts | Number of pixels in the data |
| mean | When all goes well | |
| CX_MAXDOUBLE | if all are flagged as bad |
Definition at line 296 of file vircam_stats.c.
| double vircam_dmed | ( | double * | data, | |
| unsigned char * | bpm, | |||
| long | npts | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| npts | Number of pixels in the data |
| median | When all goes well | |
| CX_MAXDOUBLE | if all are flagged as bad |
Definition at line 165 of file vircam_stats.c.
Referenced by vircam_platesol().
| float vircam_mean | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | npts | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| npts | Number of pixels in the data |
| mean | When all goes well | |
| CX_MAXFLOAT | if all are flagged as bad |
Definition at line 241 of file vircam_stats.c.
Referenced by vircam_mkconf().
| int vircam_meansig | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | npts, | |||
| float * | mean, | |||
| float * | sig | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| npts | Number of pixels in the data | |
| mean | The output mean | |
| sig | The output dispersion |
| VIR_OK | If all went well | |
| VIR_WARN | If the variance is negative. Sigma is passed back as CX_MAXFLOAT. Also if all data points are flagged. In that case both the mean and sigma are set to CX_MAXFLOAT. |
Definition at line 357 of file vircam_stats.c.
Referenced by vircam_difference_image().
| int vircam_meansigcut | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | npts, | |||
| float | lcut, | |||
| float | hcut, | |||
| float * | mean, | |||
| float * | sig | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| npts | Number of pixels in the data | |
| lcut | Lower value for data window | |
| hcut | Upper value for data window | |
| mean | The output mean | |
| sig | The output dispersion |
| VIR_OK | If all went well | |
| VIR_WARN | If the variance is negative. Sigma is passed back as CX_MAXFLOAT. Also if all data points are flagged. In that case both the mean and sigma are set to CX_MAXFLOAT. |
Definition at line 446 of file vircam_stats.c.
Referenced by vircam_illum(), and vircam_photcal().
| float vircam_med | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | npts | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| npts | Number of pixels in the data |
| median | When all goes well | |
| CX_MAXFLOAT | if all are flagged as bad |
Definition at line 89 of file vircam_stats.c.
Referenced by vircam_backmap(), vircam_destripe(), vircam_jmp_interleave(), vircam_matchxy(), vircam_medmad(), vircam_medmadcut(), and vircam_medsig().
| void vircam_medmad | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | np, | |||
| float * | med, | |||
| float * | mad | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| np | Number of pixels in the data | |
| med | The output median | |
| mad | The output median absolute deviation |
Definition at line 620 of file vircam_stats.c.
References vircam_med().
Referenced by vircam_defringe(), vircam_difference_image(), vircam_genbpm(), vircam_illum(), vircam_matchstds(), and vircam_photcal().
| void vircam_medmadcut | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | np, | |||
| float | lcut, | |||
| float | hcut, | |||
| float * | med, | |||
| float * | mad | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| np | Number of pixels in the data | |
| lcut | Lower value for data window | |
| hcut | Upper value for data window | |
| med | The output median | |
| mad | The output median absolute deviation |
Definition at line 679 of file vircam_stats.c.
References vircam_med().
| void vircam_medsig | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | np, | |||
| float * | med, | |||
| float * | sig | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask or NULL | |
| np | Number of pixels in the data | |
| med | The output median | |
| sig | The output sigma |
Definition at line 746 of file vircam_stats.c.
References vircam_med().
Referenced by vircam_destripe(), vircam_genbpm(), and vircam_illum().
| void vircam_qmedsig | ( | float * | data, | |
| unsigned char * | bpm, | |||
| long | npts, | |||
| float | thresh, | |||
| int | niter, | |||
| float | lowv, | |||
| float | highv, | |||
| float * | median, | |||
| float * | sigma | |||
| ) |
| data | Input data | |
| bpm | Input bad pixel mask | |
| npts | Number of pixels in the data | |
| thresh | Clipping threshold | |
| niter | Number of clipping iterations | |
| lowv | Lower value for data window | |
| highv | Upper value for data window | |
| median | The output median | |
| sigma | The output dispersion |
Definition at line 537 of file vircam_stats.c.
Referenced by vircam_jmp_skycor().
| int vircam_sumbpm | ( | unsigned char * | bpm, | |
| int | npts, | |||
| int * | sumb | |||
| ) |
| bpm | Input bad pixel mask | |
| npts | Number of pixels in the bpm | |
| sumb | The output sum |
| VIR_OK | Always |
Definition at line 808 of file vircam_stats.c.
1.5.1