cfitsio
3390
|
#include <time.h>
#include <float.h>
#include <signal.h>
#include <ctype.h>
#include <math.h>
#include "fitsio.h"
#include "fpack.h"
Macros | |
#define | NINT(x) ((x >= 0.) ? (int) (x + 0.5) : (int) (x - 0.5)) |
#define | NSHRT(x) ((x >= 0.) ? (short) (x + 0.5) : (short) (x - 0.5)) |
#define | CLOCKTICKS 1000000 |
Functions | |
int | fp_msg (char *msg) |
int | fp_noop (void) |
void | fp_abort_output (fitsfile *infptr, fitsfile *outfptr, int stat) |
int | fp_version (void) |
int | fp_access (char *filename) |
int | fp_tmpnam (char *suffix, char *rootname, char *tmpnam) |
int | fp_init (fpstate *fpptr) |
int | fp_list (int argc, char *argv[], fpstate fpvar) |
int | fp_info_hdu (fitsfile *infptr) |
int | fp_preflight (int argc, char *argv[], int unpack, fpstate *fpptr) |
int | fp_loop (int argc, char *argv[], int unpack, fpstate fpvar) |
int | fp_pack (char *infits, char *outfits, fpstate fpvar, int *islossless) |
int | fp_unpack (char *infits, char *outfits, fpstate fpvar) |
int | fp_test (char *infits, char *outfits, char *outfits2, fpstate fpvar) |
int | fp_pack_hdu (fitsfile *infptr, fitsfile *outfptr, fpstate fpvar, int *islossless, int *status) |
int | fp_unpack_hdu (fitsfile *infptr, fitsfile *outfptr, fpstate fpvar, int *status) |
int | fits_read_image_speed (fitsfile *infptr, float *whole_elapse, float *whole_cpu, float *row_elapse, float *row_cpu, int *status) |
int | fp_test_hdu (fitsfile *infptr, fitsfile *outfptr, fitsfile *outfptr2, fpstate fpvar, int *status) |
int | fp_test_table (fitsfile *infptr, fitsfile *outfptr, fitsfile *outfptr2, fpstate fpvar, int *status) |
int | marktime (int *status) |
int | gettime (float *elapse, float *elapscpu, int *status) |
int | fp_i2stat (fitsfile *infptr, int naxis, long *naxes, imgstats *imagestats, int *status) |
int | fp_i4stat (fitsfile *infptr, int naxis, long *naxes, imgstats *imagestats, int *status) |
int | fp_r4stat (fitsfile *infptr, int naxis, long *naxes, imgstats *imagestats, int *status) |
int | fp_i2rescale (fitsfile *infptr, int naxis, long *naxes, double rescale, fitsfile *outfptr, int *status) |
int | fp_i4rescale (fitsfile *infptr, int naxis, long *naxes, double rescale, fitsfile *outfptr, int *status) |
void | abort_fpack (int sig) |
Variables | |
char | tempfilename [SZ_STR] |
char | tempfilename2 [SZ_STR] |
char | tempfilename3 [SZ_STR] |
clock_t | scpu |
clock_t | ecpu |
long | startsec |
int | startmilli |
FILE * | outreport |
int | XSAMPLE = 4100 |
int | YSAMPLE = 4100 |
#define CLOCKTICKS 1000000 |
#define NINT | ( | x | ) | ((x >= 0.) ? (int) (x + 0.5) : (int) (x - 0.5)) |
#define NSHRT | ( | x | ) | ((x >= 0.) ? (short) (x + 0.5) : (short) (x - 0.5)) |
void abort_fpack | ( | int | sig | ) |
int fits_read_image_speed | ( | fitsfile * | infptr, |
float * | whole_elapse, | ||
float * | whole_cpu, | ||
float * | row_elapse, | ||
float * | row_cpu, | ||
int * | status | ||
) |
int fp_access | ( | char * | filename | ) |
int fp_i2rescale | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
double | rescale, | ||
fitsfile * | outfptr, | ||
int * | status | ||
) |
int fp_i4rescale | ( | fitsfile * | infptr, |
int | naxis, | ||
long * | naxes, | ||
double | rescale, | ||
fitsfile * | outfptr, | ||
int * | status | ||
) |
int fp_info_hdu | ( | fitsfile * | infptr | ) |
int fp_init | ( | fpstate * | fpptr | ) |
int fp_list | ( | int | argc, |
char * | argv[], | ||
fpstate | fpvar | ||
) |
int fp_loop | ( | int | argc, |
char * | argv[], | ||
int | unpack, | ||
fpstate | fpvar | ||
) |
int fp_msg | ( | char * | msg | ) |
int fp_noop | ( | void | ) |
int fp_pack | ( | char * | infits, |
char * | outfits, | ||
fpstate | fpvar, | ||
int * | islossless | ||
) |
int fp_pack_hdu | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fpstate | fpvar, | ||
int * | islossless, | ||
int * | status | ||
) |
int fp_preflight | ( | int | argc, |
char * | argv[], | ||
int | unpack, | ||
fpstate * | fpptr | ||
) |
int fp_test | ( | char * | infits, |
char * | outfits, | ||
char * | outfits2, | ||
fpstate | fpvar | ||
) |
int fp_test_hdu | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fitsfile * | outfptr2, | ||
fpstate | fpvar, | ||
int * | status | ||
) |
int fp_test_table | ( | fitsfile * | infptr, |
fitsfile * | outfptr, | ||
fitsfile * | outfptr2, | ||
fpstate | fpvar, | ||
int * | status | ||
) |
int fp_tmpnam | ( | char * | suffix, |
char * | rootname, | ||
char * | tmpnam | ||
) |
int fp_unpack | ( | char * | infits, |
char * | outfits, | ||
fpstate | fpvar | ||
) |
int fp_version | ( | void | ) |
int gettime | ( | float * | elapse, |
float * | elapscpu, | ||
int * | status | ||
) |
int marktime | ( | int * | status | ) |
clock_t ecpu |
FILE* outreport |
clock_t scpu |
int startmilli |
long startsec |
char tempfilename[SZ_STR] |
char tempfilename2[SZ_STR] |
char tempfilename3[SZ_STR] |
int XSAMPLE = 4100 |
int YSAMPLE = 4100 |