cfitsTK
img_reduce.c File Reference

Image analysis functions. More...

Functions

int_fast8_t IMG_REDUCE_cubesimplestat_cli ()
 
int_fast8_t IMG_REDUCE_cubeprocess_cli ()
 
int_fast8_t IMG_REDUCE_cleanbadpix_fast_cli ()
 
int_fast8_t init_img_reduce ()
 
long IMG_REDUCE_cubesimplestat (const char *IDin_name)
 
int clean_bad_pix (const char *IDin_name, const char *IDbadpix_name)
 removes bad pixels in cube More...
 
long IMG_REDUCE_cleanbadpix_fast_precompute (const char *IDmask_name)
 
long IMG_REDUCE_cleanbadpix_fast (const char *IDname, const char *IDbadpix_name, const char *IDoutname)
 
int IMG_REDUCE_correlMatrix (const char *IDin_name, const char *IDmask_name, const char *IDout_name)
 
int IMG_REDUCE_cubeprocess (const char *IDin_name)
 

Variables

int badpixclean_init = 0
 
long badpixclean_NBop
 
long * badpixclean_array_indexin
 
long * badpixclean_array_indexout
 
float * badpixclean_array_coeff
 
long badpixclean_NBbadpix
 
long * badpixclean_indexlist
 
DATA data
 System includes. More...
 

Detailed Description

Image analysis functions.

Misc image analysis functions

Author
O. Guyon
Date
10 Jul 2017
Bug:
No known bugs.

Function Documentation

int clean_bad_pix ( const char *  IDin_name,
const char *  IDbadpix_name 
)

removes bad pixels in cube

long IMG_REDUCE_cleanbadpix_fast ( const char *  IDname,
const char *  IDbadpix_name,
const char *  IDoutname 
)
int_fast8_t IMG_REDUCE_cleanbadpix_fast_cli ( )
long IMG_REDUCE_cleanbadpix_fast_precompute ( const char *  IDmask_name)
int IMG_REDUCE_correlMatrix ( const char *  IDin_name,
const char *  IDmask_name,
const char *  IDout_name 
)
int IMG_REDUCE_cubeprocess ( const char *  IDin_name)

this is the main routine to pre-process a cube stream of images (PSFs)

Optional inputs: calib_darkim (single frame or cube) calib_badpix (single frame) calib_flat

remove dark

remove bad pixels

compute photocenter

int_fast8_t IMG_REDUCE_cubeprocess_cli ( )
long IMG_REDUCE_cubesimplestat ( const char *  IDin_name)

compute ave, RMS

int_fast8_t IMG_REDUCE_cubesimplestat_cli ( )
int_fast8_t init_img_reduce ( )

Variable Documentation

float* badpixclean_array_coeff
long* badpixclean_array_indexin
long* badpixclean_array_indexout
long* badpixclean_indexlist
int badpixclean_init = 0

image analysis/reduction routines for astronomy

long badpixclean_NBbadpix
long badpixclean_NBop
DATA data

System includes.

External libraries