cfitsio  4.0.0
About: CFITSIO is a library of C and Fortran subroutines for reading and writing data files in the FITS (Flexible Image Transport System) data format.
  Fossies Dox: cfitsio-4.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

eval_f.c File Reference
#include <limits.h>
#include <ctype.h>
#include "eval_defs.h"
#include "region.h"
Include dependency graph for eval_f.c:

Go to the source code of this file.

Data Structures

struct  parseInfo
 

Macros

#define FREE(x)   { if (x) free(x); else printf("invalid free(" #x ") at %s:%d\n", __FILE__, __LINE__); }
 

Functions

static void Setup_DataArrays (int nCols, iteratorCol *cols, long fRow, long nRows)
  More...
 
static int find_column (char *colName, void *itslval)
  More...
 
static int find_keywd (char *key, void *itslval)
  More...
 
static int allocateCol (int nCol, int *status)
  More...
 
static int load_column (int varNum, long fRow, long nRows, void *data, char *undef)
  More...
 
int fffrow (fitsfile *fptr, char *expr, long firstrow, long nrows, long *n_good_rows, char *row_status, int *status)
  More...
 
int ffsrow (fitsfile *infptr, fitsfile *outfptr, char *expr, int *status)
  More...
 
int ffcrow (fitsfile *fptr, int datatype, char *expr, long firstrow, long nelements, void *nulval, void *array, int *anynul, int *status)
  More...
 
int ffcalc (fitsfile *infptr, char *expr, fitsfile *outfptr, char *parName, char *parInfo, int *status)
  More...
 
int ffcalc_rng (fitsfile *infptr, char *expr, fitsfile *outfptr, char *parName, char *parInfo, int nRngs, long *start, long *end, int *status)
  More...
 
int fftexp (fitsfile *fptr, char *expr, int maxdim, int *datatype, long *nelem, int *naxis, long *naxes, int *status)
  More...
 
int ffiprs (fitsfile *fptr, int compressed, char *expr, int maxdim, int *datatype, long *nelem, int *naxis, long *naxes, int *status)
  More...
 
void ffcprs (void)
  More...
 
int parse_data (long totalrows, long offset, long firstrow, long nrows, int nCols, iteratorCol *colData, void *userPtr)
  More...
 
int ffcvtn (int inputType, void *input, char *undef, long ntodo, int outputType, void *nulval, void *output, int *anynull, int *status)
  More...
 
int fffrwc (fitsfile *fptr, char *expr, char *timeCol, char *parCol, char *valCol, long ntimes, double *times, char *time_status, int *status)
  More...
 
int uncompress_hkdata (fitsfile *fptr, long ntimes, double *times, int *status)
  More...
 
int ffffrw (fitsfile *fptr, char *expr, long *rownum, int *status)
  More...
 
int ffffrw_work (long totalrows, long offset, long firstrow, long nrows, int nCols, iteratorCol *colData, void *userPtr)
  More...
 
static int set_image_col_types (fitsfile *fptr, const char *name, int bitpix, DataInfo *varInfo, iteratorCol *colIter)
  More...
 
int fits_pixel_filter (PixelFilter *filter, int *status)
  More...
 

Variables

static int DEBUG_PIXFILTER
  More...
 

Function Documentation

◆ allocateCol()

static int allocateCol ( int  nCol,
int *  status 
)
static

◆ ffcalc()

int ffcalc ( fitsfile infptr,
char *  expr,
fitsfile outfptr,
char *  parName,
char *  parInfo,
int *  status 
)

Definition at line 480 of file eval_f.c.

References ffcalc_rng(), and start.

◆ ffcalc_rng()

◆ ffcprs()

◆ ffcrow()

int ffcrow ( fitsfile fptr,
int  datatype,
char *  expr,
long  firstrow,
long  nelements,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)

◆ ffcvtn()

int ffcvtn ( int  inputType,
void *  input,
char *  undef,
long  ntodo,
int  outputType,
void *  nulval,
void *  output,
int *  anynull,
int *  status 
)

◆ ffffrw()

int ffffrw ( fitsfile fptr,
char *  expr,
long *  rownum,
int *  status 
)

◆ ffffrw_work()

int ffffrw_work ( long  totalrows,
long  offset,
long  firstrow,
long  nrows,
int  nCols,
iteratorCol colData,
void *  userPtr 
)

◆ fffrow()

int fffrow ( fitsfile fptr,
char *  expr,
long  firstrow,
long  nrows,
long *  n_good_rows,
char *  row_status,
int *  status 
)

◆ fffrwc()

◆ ffiprs()

◆ ffsrow()

◆ fftexp()

int fftexp ( fitsfile fptr,
char *  expr,
int  maxdim,
int *  datatype,
long *  nelem,
int *  naxis,
long *  naxes,
int *  status 
)

Definition at line 792 of file eval_f.c.

References ffcprs(), ffiprs(), FFLOCK, and FFUNLOCK.

◆ find_column()

◆ find_keywd()

◆ fits_pixel_filter()

◆ load_column()

static int load_column ( int  varNum,
long  fRow,
long  nRows,
void *  data,
char *  undef 
)
static

◆ parse_data()

◆ set_image_col_types()

static int set_image_col_types ( fitsfile fptr,
const char *  name,
int  bitpix,
DataInfo varInfo,
iteratorCol colIter 
)
static

◆ Setup_DataArrays()

◆ uncompress_hkdata()