AdaptiveOpticsControl
info.c File Reference

Information about images. More...

Functions

int clock_gettime (int clk_id, struct timespec *t)
 
static int info_image_monitor (const char *ID_name, double frequ)
 
int_fast8_t info_profile_cli ()
 
int_fast8_t info_image_monitor_cli ()
 
int_fast8_t info_image_stats_cli ()
 
int_fast8_t info_cubestats_cli ()
 
int_fast8_t info_image_statsf_cli ()
 
int init_info ()
 
struct timespec info_time_diff (struct timespec start, struct timespec end)
 
int kbdhit (void)
 
int print_header (const char *str, char c)
 
int printstatus (long ID)
 
int info_pixelstats_smallImage (long ID, long NBpix)
 
long brighter (const char *ID_name, double value)
 
int img_nbpix_flux (const char *ID_name)
 
float img_percentile_float (const char *ID_name, float p)
 
double img_percentile_double (const char *ID_name, double p)
 
double img_percentile (const char *ID_name, double p)
 
int img_histoc_float (const char *ID_name, const char *fname)
 
int img_histoc_double (const char *ID_name, const char *fname)
 
int make_histogram (const char *ID_name, const char *ID_out_name, double min, double max, long nbsteps)
 
double ssquare (const char *ID_name)
 
double rms_dev (const char *ID_name)
 
int info_image_stats (const char *ID_name, const char *options)
 
long info_cubestats (const char *ID_name, const char *IDmask_name, const char *outfname)
 
double img_min (const char *ID_name)
 
double img_max (const char *ID_name)
 
int profile (const char *ID_name, const char *outfile, double xcenter, double ycenter, double step, long nb_step)
 
int profile2im (const char *profile_name, long nbpoints, long size, double xcenter, double ycenter, double radius, const char *out)
 
int printpix (const char *ID_name, const char *filename)
 
double background_photon_noise (const char *ID_name)
 
int test_structure_function (const char *ID_name, long NBpoints, const char *ID_out)
 
int full_structure_function (const char *ID_name, long NBpoints, const char *ID_out)
 
int fft_structure_function (const char *ID_in, const char *ID_out)
 

Variables

DATA data
 System includes. More...
 
static int wcol
 
static int wrow
 
static long long cntlast
 
static struct timespec tlast
 

Detailed Description

Information about images.

Computes information about images

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

Function Documentation

double background_photon_noise ( const char *  ID_name)
long brighter ( const char *  ID_name,
double  value 
)
int clock_gettime ( int  clk_id,
struct timespec *  t 
)
int fft_structure_function ( const char *  ID_in,
const char *  ID_out 
)
int full_structure_function ( const char *  ID_name,
long  NBpoints,
const char *  ID_out 
)
int img_histoc_double ( const char *  ID_name,
const char *  fname 
)
int img_histoc_float ( const char *  ID_name,
const char *  fname 
)
double img_max ( const char *  ID_name)
double img_min ( const char *  ID_name)
int img_nbpix_flux ( const char *  ID_name)
double img_percentile ( const char *  ID_name,
double  p 
)
double img_percentile_double ( const char *  ID_name,
double  p 
)
float img_percentile_float ( const char *  ID_name,
float  p 
)
long info_cubestats ( const char *  ID_name,
const char *  IDmask_name,
const char *  outfname 
)
int_fast8_t info_cubestats_cli ( )
int info_image_monitor ( const char *  ID_name,
double  frequ 
)
static
int_fast8_t info_image_monitor_cli ( )
int info_image_stats ( const char *  ID_name,
const char *  options 
)
int_fast8_t info_image_stats_cli ( )
int_fast8_t info_image_statsf_cli ( )
int info_pixelstats_smallImage ( long  ID,
long  NBpix 
)
int_fast8_t info_profile_cli ( )
struct timespec info_time_diff ( struct timespec  start,
struct timespec  end 
)
int init_info ( )
int kbdhit ( void  )
int make_histogram ( const char *  ID_name,
const char *  ID_out_name,
double  min,
double  max,
long  nbsteps 
)
int print_header ( const char *  str,
char  c 
)
int printpix ( const char *  ID_name,
const char *  filename 
)
int printstatus ( long  ID)
int profile ( const char *  ID_name,
const char *  outfile,
double  xcenter,
double  ycenter,
double  step,
long  nb_step 
)
int profile2im ( const char *  profile_name,
long  nbpoints,
long  size,
double  xcenter,
double  ycenter,
double  radius,
const char *  out 
)
double rms_dev ( const char *  ID_name)
double ssquare ( const char *  ID_name)
int test_structure_function ( const char *  ID_name,
long  NBpoints,
const char *  ID_out 
)

Variable Documentation

long long cntlast
static
DATA data

System includes.

External libraries

struct timespec tlast
static
int wcol
static
int wrow
static