cfitsio  3390
Data Structures | Macros | Typedefs | Functions
fitsio.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include "longnam.h"
Include dependency graph for fitsio.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  tcolumn
 
struct  FITSfile
 
struct  fitsfile
 
struct  iteratorCol
 
struct  wtbarr
 
struct  PixelFilter
 

Macros

#define CFITSIO_VERSION   3.39
 
#define CFITSIO_MINOR   39
 
#define CFITSIO_MAJOR   3
 
#define CFITSIO_SONAME   5
 
#define CFITS_API
 
#define OFF_T   long
 
#define USE_LL_SUFFIX   1
 
#define LONGLONG_TYPE
 
#define LONGLONG_MAX   9223372036854775807LL /* max 64-bit integer */
 
#define LONGLONG_MIN   (-LONGLONG_MAX -1LL) /* min 64-bit integer */
 
#define NIOBUF   40 /* number of IO buffers to create (default = 40) */
 
#define IOBUFLEN   2880 /* size in bytes of each IO buffer (DONT CHANGE!) */
 
#define FLEN_FILENAME   1025 /* max length of a filename */
 
#define FLEN_KEYWORD   75 /* max length of a keyword (HIERARCH convention) */
 
#define FLEN_CARD   81 /* length of a FITS header card */
 
#define FLEN_VALUE   71 /* max length of a keyword value string */
 
#define FLEN_COMMENT   73 /* max length of a keyword comment string */
 
#define FLEN_ERRMSG   81 /* max length of a FITSIO error message */
 
#define FLEN_STATUS   31 /* max length of a FITSIO status text string */
 
#define TBIT   1 /* codes for FITS table data types */
 
#define TBYTE   11
 
#define TSBYTE   12
 
#define TLOGICAL   14
 
#define TSTRING   16
 
#define TUSHORT   20
 
#define TSHORT   21
 
#define TUINT   30
 
#define TINT   31
 
#define TULONG   40
 
#define TLONG   41
 
#define TINT32BIT   41 /* used when returning datatype of a column */
 
#define TFLOAT   42
 
#define TLONGLONG   81
 
#define TDOUBLE   82
 
#define TCOMPLEX   83
 
#define TDBLCOMPLEX   163
 
#define TYP_STRUC_KEY   10
 
#define TYP_CMPRS_KEY   20
 
#define TYP_SCAL_KEY   30
 
#define TYP_NULL_KEY   40
 
#define TYP_DIM_KEY   50
 
#define TYP_RANG_KEY   60
 
#define TYP_UNIT_KEY   70
 
#define TYP_DISP_KEY   80
 
#define TYP_HDUID_KEY   90
 
#define TYP_CKSUM_KEY   100
 
#define TYP_WCS_KEY   110
 
#define TYP_REFSYS_KEY   120
 
#define TYP_COMM_KEY   130
 
#define TYP_CONT_KEY   140
 
#define TYP_USER_KEY   150
 
#define INT32BIT   int /* 32-bit integer datatype. Currently this */
 
#define BYTE_IMG   8 /* BITPIX code values for FITS image types */
 
#define SHORT_IMG   16
 
#define LONG_IMG   32
 
#define LONGLONG_IMG   64
 
#define FLOAT_IMG   -32
 
#define DOUBLE_IMG   -64
 
#define SBYTE_IMG   10
 
#define USHORT_IMG   20
 
#define ULONG_IMG   40
 
#define IMAGE_HDU   0 /* Primary Array or IMAGE HDU */
 
#define ASCII_TBL   1 /* ASCII table HDU */
 
#define BINARY_TBL   2 /* Binary table HDU */
 
#define ANY_HDU   -1 /* matches any HDU type */
 
#define READONLY   0 /* options when opening a file */
 
#define READWRITE   1
 
#define FLOATNULLVALUE   -9.11912E-36F
 
#define DOUBLENULLVALUE   -9.1191291391491E-36
 
#define NO_DITHER   -1
 
#define SUBTRACTIVE_DITHER_1   1
 
#define SUBTRACTIVE_DITHER_2   2
 
#define MAX_COMPRESS_DIM   6
 
#define RICE_1   11
 
#define GZIP_1   21
 
#define GZIP_2   22
 
#define PLIO_1   31
 
#define HCOMPRESS_1   41
 
#define BZIP2_1   51 /* not publicly supported; only for test purposes */
 
#define NOCOMPRESS   -1
 
#define TRUE   1
 
#define FALSE   0
 
#define CASESEN   1 /* do case-sensitive string match */
 
#define CASEINSEN   0 /* do case-insensitive string match */
 
#define GT_ID_ALL_URI   0 /* hierarchical grouping parameters */
 
#define GT_ID_REF   1
 
#define GT_ID_POS   2
 
#define GT_ID_ALL   3
 
#define GT_ID_REF_URI   11
 
#define GT_ID_POS_URI   12
 
#define OPT_RM_GPT   0
 
#define OPT_RM_ENTRY   1
 
#define OPT_RM_MBR   2
 
#define OPT_RM_ALL   3
 
#define OPT_GCP_GPT   0
 
#define OPT_GCP_MBR   1
 
#define OPT_GCP_ALL   2
 
#define OPT_MCP_ADD   0
 
#define OPT_MCP_NADD   1
 
#define OPT_MCP_REPL   2
 
#define OPT_MCP_MOV   3
 
#define OPT_MRG_COPY   0
 
#define OPT_MRG_MOV   1
 
#define OPT_CMT_MBR   1
 
#define OPT_CMT_MBR_DEL   11
 
#define VALIDSTRUC   555 /* magic value used to identify if structure is valid */
 
#define InputCol   0 /* flag for input only iterator column */
 flag for input only iterator column More...
 
#define InputOutputCol   1 /* flag for input and output iterator column */
 flag for input and output iterator column More...
 
#define OutputCol   2 /* flag for output only iterator column */
 flag for output only iterator column More...
 
#define WCSLIB_GETWCSTAB
 
#define CREATE_DISK_FILE   -106 /* create disk file, without extended filename syntax */
 error status code. create disk file, without extended filename syntax/ More...
 
#define OPEN_DISK_FILE   -105 /* open disk file, without extended filename syntax */
 error status code. open disk file, without extended filename syntax/ More...
 
#define SKIP_TABLE   -104 /* move to 1st image when opening file */
 error status code. move to 1st image when opening file/ More...
 
#define SKIP_IMAGE   -103 /* move to 1st table when opening file */
 error status code. move to 1st table when opening file/ More...
 
#define SKIP_NULL_PRIMARY   -102 /* skip null primary array when opening file */
 error status code. skip null primary array when opening file/ More...
 
#define USE_MEM_BUFF   -101 /* use memory buffer when opening file */
 error status code. use memory buffer when opening file/ More...
 
#define OVERFLOW_ERR   -11 /* overflow during datatype conversion */
 error status code. overflow during datatype conversion/ More...
 
#define PREPEND_PRIMARY   -9 /* used in ffiimg to insert new primary array */
 error status code. used in ffiimg to insert new primary array/ More...
 
#define SAME_FILE   101 /* input and output files are the same */
 error status code. input and output files are the same/ More...
 
#define TOO_MANY_FILES   103 /* tried to open too many FITS files */
 error status code. tried to open too many FITS files/ More...
 
#define FILE_NOT_OPENED   104 /* could not open the named file */
 
#define FILE_NOT_CREATED   105 /* could not create the named file */
 error status code. could not create the named file/ More...
 
#define WRITE_ERROR   106 /* error writing to FITS file */
 error status code. error writing to FITS file/ More...
 
#define END_OF_FILE   107 /* tried to move past end of file */
 error status code. tried to move past end of file/ More...
 
#define READ_ERROR   108 /* error reading from FITS file */
 error status code. error reading from FITS file/ More...
 
#define FILE_NOT_CLOSED   110 /* could not close the file */
 error status code. could not close the file/ More...
 
#define ARRAY_TOO_BIG   111 /* array dimensions exceed internal limit */
 error status code. array dimensions exceed internal limit/ More...
 
#define READONLY_FILE   112 /* Cannot write to readonly file */
 error status code. Cannot write to readonly file/ More...
 
#define MEMORY_ALLOCATION   113 /* Could not allocate memory */
 error status code. Could not allocate memory/ More...
 
#define BAD_FILEPTR   114 /* invalid fitsfile pointer */
 error status code. invalid fitsfile pointer/ More...
 
#define NULL_INPUT_PTR   115 /* NULL input pointer to routine */
 error status code. NULL input pointer to routine/ More...
 
#define SEEK_ERROR   116 /* error seeking position in file */
 error status code. error seeking position in file/ More...
 
#define BAD_URL_PREFIX   121 /* invalid URL prefix on file name */
 error status code. invalid URL prefix on file name/ More...
 
#define TOO_MANY_DRIVERS   122 /* tried to register too many IO drivers */
 error status code. tried to register too many IO drivers/ More...
 
#define DRIVER_INIT_FAILED   123 /* driver initialization failed */
 error status code. driver initialization failed/ More...
 
#define NO_MATCHING_DRIVER   124 /* matching driver is not registered */
 error status code. matching driver is not registered/ More...
 
#define URL_PARSE_ERROR   125 /* failed to parse input file URL */
 error status code. failed to parse input file URL/ More...
 
#define RANGE_PARSE_ERROR   126 /* failed to parse input file URL */
 error status code. failed to parse input file URL/ More...
 
#define SHARED_ERRBASE   (150)
 error status code More...
 
#define SHARED_BADARG   (SHARED_ERRBASE + 1)
 error status code More...
 
#define SHARED_NULPTR   (SHARED_ERRBASE + 2)
 error status code More...
 
#define SHARED_TABFULL   (SHARED_ERRBASE + 3)
 error status code More...
 
#define SHARED_NOTINIT   (SHARED_ERRBASE + 4)
 error status code More...
 
#define SHARED_IPCERR   (SHARED_ERRBASE + 5)
 error status code More...
 
#define SHARED_NOMEM   (SHARED_ERRBASE + 6)
 error status code More...
 
#define SHARED_AGAIN   (SHARED_ERRBASE + 7)
 error status code More...
 
#define SHARED_NOFILE   (SHARED_ERRBASE + 8)
 error status code More...
 
#define SHARED_NORESIZE   (SHARED_ERRBASE + 9)
 error status code More...
 
#define HEADER_NOT_EMPTY   201 /* header already contains keywords */
 error status code header already contains keywords/ More...
 
#define KEY_NO_EXIST   202 /* keyword not found in header */
 error status code keyword not found in header/ More...
 
#define KEY_OUT_BOUNDS   203 /* keyword record number is out of bounds */
 error status code keyword record number is out of bounds/ More...
 
#define VALUE_UNDEFINED   204 /* keyword value field is blank */
 error status code keyword value field is blank/ More...
 
#define NO_QUOTE   205 /* string is missing the closing quote */
 error status code string is missing the closing quote/ More...
 
#define BAD_INDEX_KEY   206 /* illegal indexed keyword name */
 error status code illegal indexed keyword name/ More...
 
#define BAD_KEYCHAR   207 /* illegal character in keyword name or card */
 error status code illegal character in keyword name or card/ More...
 
#define BAD_ORDER   208 /* required keywords out of order */
 error status code required keywords out of order/ More...
 
#define NOT_POS_INT   209 /* keyword value is not a positive integer */
 error status code keyword value is not a positive integer/ More...
 
#define NO_END   210 /* couldn't find END keyword */
 error status code couldn't find END keyword/ More...
 
#define BAD_BITPIX   211 /* illegal BITPIX keyword value*/
 error status code illegal BITPIX keyword value More...
 
#define BAD_NAXIS   212 /* illegal NAXIS keyword value */
 error status code illegal NAXIS keyword value/ More...
 
#define BAD_NAXES   213 /* illegal NAXISn keyword value */
 error status code illegal NAXISn keyword value/ More...
 
#define BAD_PCOUNT   214 /* illegal PCOUNT keyword value */
 error status code illegal PCOUNT keyword value/ More...
 
#define BAD_GCOUNT   215 /* illegal GCOUNT keyword value */
 error status code illegal GCOUNT keyword value/ More...
 
#define BAD_TFIELDS   216 /* illegal TFIELDS keyword value */
 error status code illegal TFIELDS keyword value/ More...
 
#define NEG_WIDTH   217 /* negative table row size */
 error status code negative table row size/ More...
 
#define NEG_ROWS   218 /* negative number of rows in table */
 error status code negative number of rows in table/ More...
 
#define COL_NOT_FOUND   219 /* column with this name not found in table */
 error status code column with this name not found in table/ More...
 
#define BAD_SIMPLE   220 /* illegal value of SIMPLE keyword */
 error status code illegal value of SIMPLE keyword / More...
 
#define NO_SIMPLE   221 /* Primary array doesn't start with SIMPLE */
 error status code Primary array doesn't start with SIMPLE/ More...
 
#define NO_BITPIX   222 /* Second keyword not BITPIX */
 error status code Second keyword not BITPIX/ More...
 
#define NO_NAXIS   223 /* Third keyword not NAXIS */
 error status code Third keyword not NAXIS/ More...
 
#define NO_NAXES   224 /* Couldn't find all the NAXISn keywords */
 error status code Couldn't find all the NAXISn keywords/ More...
 
#define NO_XTENSION   225 /* HDU doesn't start with XTENSION keyword */
 error status code HDU doesn't start with XTENSION keyword/ More...
 
#define NOT_ATABLE   226 /* the CHDU is not an ASCII table extension */
 error status code the CHDU is not an ASCII table extension/ More...
 
#define NOT_BTABLE   227 /* the CHDU is not a binary table extension */
 error status code the CHDU is not a binary table extension/ More...
 
#define NO_PCOUNT   228 /* couldn't find PCOUNT keyword */
 error status code couldn't find PCOUNT keyword/ More...
 
#define NO_GCOUNT   229 /* couldn't find GCOUNT keyword */
 error status code couldn't find GCOUNT keyword/ More...
 
#define NO_TFIELDS   230 /* couldn't find TFIELDS keyword */
 error status code couldn't find TFIELDS keyword/ More...
 
#define NO_TBCOL   231 /* couldn't find TBCOLn keyword */
 error status code couldn't find TBCOLn keyword/ More...
 
#define NO_TFORM   232 /* couldn't find TFORMn keyword */
 error status code couldn't find TFORMn keyword/ More...
 
#define NOT_IMAGE   233 /* the CHDU is not an IMAGE extension */
 error status code the CHDU is not an IMAGE extension/ More...
 
#define BAD_TBCOL   234 /* TBCOLn keyword value < 0 or > rowlength */
 error status code TBCOLn keyword value < 0 or > rowlength/ More...
 
#define NOT_TABLE   235 /* the CHDU is not a table */
 error status code the CHDU is not a table/ More...
 
#define COL_TOO_WIDE   236 /* column is too wide to fit in table */
 error status code column is too wide to fit in table/ More...
 
#define COL_NOT_UNIQUE   237 /* more than 1 column name matches template */
 error status code more than 1 column name matches template/ More...
 
#define BAD_ROW_WIDTH   241 /* sum of column widths not = NAXIS1 */
 error status code sum of column widths not = NAXIS1/ More...
 
#define UNKNOWN_EXT   251 /* unrecognizable FITS extension type */
 error status code unrecognizable FITS extension type More...
 
#define UNKNOWN_REC   252 /* unrecognizable FITS record */
 error status code unrecognizable FITS record More...
 
#define END_JUNK   253 /* END keyword is not blank */
 error status code END keyword is not blank More...
 
#define BAD_HEADER_FILL   254 /* Header fill area not blank */
 error status code Header fill area not blank More...
 
#define BAD_DATA_FILL   255 /* Data fill area not blank or zero */
 error status code Data fill area not blank or zero More...
 
#define BAD_TFORM   261 /* illegal TFORM format code */
 error status code illegal TFORM format code More...
 
#define BAD_TFORM_DTYPE   262 /* unrecognizable TFORM datatype code */
 error status code unrecognizable TFORM datatype code/ More...
 
#define BAD_TDIM   263 /* illegal TDIMn keyword value */
 error status code illegal TDIMn keyword value/ More...
 
#define BAD_HEAP_PTR   264 /* invalid BINTABLE heap address */
 error status code invalid BINTABLE heap address/ More...
 
#define BAD_HDU_NUM   301 /* HDU number < 1 or > MAXHDU */
 error status code HDU number < 1 or > MAXHDU/ More...
 
#define BAD_COL_NUM   302 /* column number < 1 or > tfields */
 error status code column number < 1 or > tfields/ More...
 
#define NEG_FILE_POS   304 /* tried to move before beginning of file */
 error status code tried to move before beginning of file / More...
 
#define NEG_BYTES   306 /* tried to read or write negative bytes */
 error status code tried to read or write negative bytes/ More...
 
#define BAD_ROW_NUM   307 /* illegal starting row number in table */
 error status code illegal starting row number in table/ More...
 
#define BAD_ELEM_NUM   308 /* illegal starting element number in vector */
 error status code illegal starting element number in vector/ More...
 
#define NOT_ASCII_COL   309 /* this is not an ASCII string column */
 error status code this is not an ASCII string column/ More...
 
#define NOT_LOGICAL_COL   310 /* this is not a logical datatype column */
 error status code this is not a logical datatype column/ More...
 
#define BAD_ATABLE_FORMAT   311 /* ASCII table column has wrong format */
 error status code ASCII table column has wrong format/ More...
 
#define BAD_BTABLE_FORMAT   312 /* Binary table column has wrong format */
 error status code Binary table column has wrong format/ More...
 
#define NO_NULL   314 /* null value has not been defined */
 error status code null value has not been defined/ More...
 
#define NOT_VARI_LEN   317 /* this is not a variable length column */
 error status code this is not a variable length column/ More...
 
#define BAD_DIMEN   320 /* illegal number of dimensions in array */
 error status code illegal number of dimensions in array/ More...
 
#define BAD_PIX_NUM   321 /* first pixel number greater than last pixel */
 error status code first pixel number greater than last pixel/ More...
 
#define ZERO_SCALE   322 /* illegal BSCALE or TSCALn keyword = 0 */
 error status code illegal BSCALE or TSCALn keyword = 0/ More...
 
#define NEG_AXIS   323 /* illegal axis length < 1 */
 error status code illegal axis length < 1/ More...
 
#define NOT_GROUP_TABLE   340
 error status code More...
 
#define HDU_ALREADY_MEMBER   341
 error status code More...
 
#define MEMBER_NOT_FOUND   342
 error status code More...
 
#define GROUP_NOT_FOUND   343
 error status code More...
 
#define BAD_GROUP_ID   344
 error status code More...
 
#define TOO_MANY_HDUS_TRACKED   345
 error status code More...
 
#define HDU_ALREADY_TRACKED   346
 error status code More...
 
#define BAD_OPTION   347
 error status code More...
 
#define IDENTICAL_POINTERS   348
 error status code More...
 
#define BAD_GROUP_ATTACH   349
 error status code More...
 
#define BAD_GROUP_DETACH   350
 error status code More...
 
#define BAD_I2C   401 /* bad int to formatted string conversion */
 error status code. bad int to formatted string conversion/ More...
 
#define BAD_F2C   402 /* bad float to formatted string conversion */
 error status code. bad float to formatted string conversion/ More...
 
#define BAD_INTKEY   403 /* can't interprete keyword value as integer */
 error status code. can't interprete keyword value as integer/ More...
 
#define BAD_LOGICALKEY   404 /* can't interprete keyword value as logical */
 error status code. can't interprete keyword value as logical/ More...
 
#define BAD_FLOATKEY   405 /* can't interprete keyword value as float */
 error status code. can't interprete keyword value as float/ More...
 
#define BAD_DOUBLEKEY   406 /* can't interprete keyword value as double */
 error status code. can't interprete keyword value as double/ More...
 
#define BAD_C2I   407 /* bad formatted string to int conversion */
 error status code. bad formatted string to int conversion/ More...
 
#define BAD_C2F   408 /* bad formatted string to float conversion */
 error status code. bad formatted string to float conversion/ More...
 
#define BAD_C2D   409 /* bad formatted string to double conversion */
 error status code. bad formatted string to double conversion/ More...
 
#define BAD_DATATYPE   410 /* bad keyword datatype code */
 error status code. bad keyword datatype code/ More...
 
#define BAD_DECIM   411 /* bad number of decimal places specified */
 error status code. bad number of decimal places specified/ More...
 
#define NUM_OVERFLOW   412 /* overflow during datatype conversion */
 error status code. overflow during datatype conversion/ More...
 
#define DATA_COMPRESSION_ERR   413 /* error in imcompress routines */
 error status code. error in imcompress routines/ More...
 
#define DATA_DECOMPRESSION_ERR   414 /* error in imcompress routines */
 error status code. error in imcompress routines/ More...
 
#define NO_COMPRESSED_TILE   415 /* compressed tile doesn't exist */
 error status code. compressed tile doesn't exist/ More...
 
#define BAD_DATE   420 /* error in date or time conversion */
 error status code. error in date or time conversion/ More...
 
#define PARSE_SYNTAX_ERR   431 /* syntax error in parser expression */
 error status code. syntax error in parser expression/ More...
 
#define PARSE_BAD_TYPE   432 /* expression did not evaluate to desired type */
 error status code. expression did not evaluate to desired type/ More...
 
#define PARSE_LRG_VECTOR   433 /* vector result too large to return in array */
 error status code. vector result too large to return in array/ More...
 
#define PARSE_NO_OUTPUT   434 /* data parser failed not sent an out column */
 error status code. data parser failed not sent an out column/ More...
 
#define PARSE_BAD_COL   435 /* bad data encounter while parsing column */
 error status code. bad data encounter while parsing column/ More...
 
#define PARSE_BAD_OUTPUT   436 /* Output file not of proper type */
 error status code. Output file not of proper type / More...
 
#define ANGLE_TOO_BIG   501 /* celestial angle too large for projection */
 error status code. celestial angle too large for projection/ More...
 
#define BAD_WCS_VAL   502 /* bad celestial coordinate or pixel value */
 error status code. bad celestial coordinate or pixel value/ More...
 
#define WCS_ERROR   503 /* error in celestial coordinate calculation */
 error status code. error in celestial coordinate calculation/ More...
 
#define BAD_WCS_PROJ   504 /* unsupported type of celestial projection */
 error status code. unsupported type of celestial projection/ More...
 
#define NO_WCS_KEY   505 /* celestial coordinate keywords not found */
 error status code. celestial coordinate keywords not found/ More...
 
#define APPROX_WCS_KEY   506 /* approximate WCS keywords were calculated */
 error status code. approximate WCS keywords were calculated/ More...
 
#define NO_CLOSE_ERROR   999 /* special value used internally to switch off */
 error status code. special value used internally to switch off the error message from ffclos and ffchdu More...
 
#define NGP_ERRBASE   (360) /* base chosen so not to interfere with CFITSIO */
 error status code in grparser.c. base chosen so not to interfere with CFITSIO More...
 
#define NGP_OK   (0)
 error status code in grparser.c More...
 
#define NGP_NO_MEMORY   (NGP_ERRBASE + 0) /* malloc failed */
 error status code. in grparser.c malloc failed More...
 
#define NGP_READ_ERR   (NGP_ERRBASE + 1) /* read error from file */
 error status codein grparser.c. read error from file More...
 
#define NGP_NUL_PTR   (NGP_ERRBASE + 2) /* null pointer passed as argument */
 error status code in grparser.c null pointer passed as argument More...
 
#define NGP_EMPTY_CURLINE   (NGP_ERRBASE + 3) /* line read seems to be empty */
 error status code in grparser.c line read seems to be empty More...
 
#define NGP_UNREAD_QUEUE_FULL   (NGP_ERRBASE + 4) /* cannot unread more then 1 line (or single line twice) */
 error status code in grparser.c. cannot unread more then 1 line (or single line twice) More...
 
#define NGP_INC_NESTING   (NGP_ERRBASE + 5) /* too deep include file nesting (inf. loop ?) */
 error status code in grparser.c. too deep include file nesting (inf. loop ?) /*! More...
 
#define NGP_ERR_FOPEN   (NGP_ERRBASE + 6) /* fopen() failed, cannot open file */
 error status code in grparser.c. fopen() failed, cannot open file More...
 
#define NGP_EOF   (NGP_ERRBASE + 7) /* end of file encountered */
 error status code in grparser.c. end of file encountered More...
 
#define NGP_BAD_ARG   (NGP_ERRBASE + 8) /* bad arguments passed */
 error status code in grparser.c. bad arguments passed More...
 
#define NGP_TOKEN_NOT_EXPECT   (NGP_ERRBASE + 9) /* token not expected here */
 error status code in grparser.c. token not expected here More...
 

Typedefs

typedef long long LONGLONG
 

Functions

int CFITS_API fits_read_wcstab (fitsfile *fptr, int nwtb, wtbarr *wtb, int *status)
 
int CFITS2Unit (fitsfile *fptr)
 
CFITS_API fitsfileCUnit2FITS (int unit)
 
int CFITS_API fits_get_token (char **ptr, char *delimiter, char *token, int *isanumber)
 
int CFITS_API fits_get_token2 (char **ptr, char *delimiter, char **token, int *isanumber, int *status)
 
char CFITS_APIfits_split_names (char *list)
 
int CFITS_API ffiurl (char *url, char *urltype, char *infile, char *outfile, char *extspec, char *rowfilter, char *binspec, char *colspec, int *status)
 
int CFITS_API ffifile (char *url, char *urltype, char *infile, char *outfile, char *extspec, char *rowfilter, char *binspec, char *colspec, char *pixfilter, int *status)
 
int CFITS_API ffifile2 (char *url, char *urltype, char *infile, char *outfile, char *extspec, char *rowfilter, char *binspec, char *colspec, char *pixfilter, char *compspec, int *status)
 
int CFITS_API ffrtnm (char *url, char *rootname, int *status)
 
int CFITS_API ffexist (const char *infile, int *exists, int *status)
 
int CFITS_API ffexts (char *extspec, int *extnum, char *extname, int *extvers, int *hdutype, char *colname, char *rowexpress, int *status)
 
int CFITS_API ffextn (char *url, int *extension_num, int *status)
 
int CFITS_API ffurlt (fitsfile *fptr, char *urlType, int *status)
 
int CFITS_API ffbins (char *binspec, int *imagetype, int *haxis, char colname[4][FLEN_VALUE], double *minin, double *maxin, double *binsizein, char minname[4][FLEN_VALUE], char maxname[4][FLEN_VALUE], char binname[4][FLEN_VALUE], double *weight, char *wtname, int *recip, int *status)
 
int CFITS_API ffbinr (char **binspec, char *colname, double *minin, double *maxin, double *binsizein, char *minname, char *maxname, char *binname, int *status)
 
int CFITS_API fits_copy_cell2image (fitsfile *fptr, fitsfile *newptr, char *colname, long rownum, int *status)
 
int CFITS_API fits_copy_image2cell (fitsfile *fptr, fitsfile *newptr, char *colname, long rownum, int copykeyflag, int *status)
 
int CFITS_API fits_copy_pixlist2image (fitsfile *infptr, fitsfile *outfptr, int firstkey, int naxis, int *colnum, int *status)
 
int CFITS_API ffimport_file (char *filename, char **contents, int *status)
 
int CFITS_API ffrwrg (char *rowlist, LONGLONG maxrows, int maxranges, int *numranges, long *minrow, long *maxrow, int *status)
 
int CFITS_API ffrwrgll (char *rowlist, LONGLONG maxrows, int maxranges, int *numranges, LONGLONG *minrow, LONGLONG *maxrow, int *status)
 
int CFITS_API fits_init_cfitsio (void)
 
int CFITS_API ffomem (fitsfile **fptr, const char *name, int mode, void **buffptr, size_t *buffsize, size_t deltasize, void *(*mem_realloc)(void *p, size_t newsize), int *status)
 
int CFITS_API ffopen (fitsfile **fptr, const char *filename, int iomode, int *status)
 
int CFITS_API ffopentest (int soname, fitsfile **fptr, const char *filename, int iomode, int *status)
 
int CFITS_API ffdopn (fitsfile **fptr, const char *filename, int iomode, int *status)
 
int CFITS_API ffeopn (fitsfile **fptr, const char *filename, int iomode, char *extlist, int *hdutype, int *status)
 
int CFITS_API fftopn (fitsfile **fptr, const char *filename, int iomode, int *status)
 
int CFITS_API ffiopn (fitsfile **fptr, const char *filename, int iomode, int *status)
 
int CFITS_API ffdkopn (fitsfile **fptr, const char *filename, int iomode, int *status)
 
int CFITS_API ffreopen (fitsfile *openfptr, fitsfile **newfptr, int *status)
 
int CFITS_API ffinit (fitsfile **fptr, const char *filename, int *status)
 
int CFITS_API ffdkinit (fitsfile **fptr, const char *filename, int *status)
 
int CFITS_API ffimem (fitsfile **fptr, void **buffptr, size_t *buffsize, size_t deltasize, void *(*mem_realloc)(void *p, size_t newsize), int *status)
 
int CFITS_API fftplt (fitsfile **fptr, const char *filename, const char *tempname, int *status)
 
int CFITS_API ffflus (fitsfile *fptr, int *status)
 
int CFITS_API ffflsh (fitsfile *fptr, int clearbuf, int *status)
 
int CFITS_API ffclos (fitsfile *fptr, int *status)
 
int CFITS_API ffdelt (fitsfile *fptr, int *status)
 
int CFITS_API ffflnm (fitsfile *fptr, char *filename, int *status)
 
int CFITS_API ffflmd (fitsfile *fptr, int *filemode, int *status)
 
int CFITS_API fits_delete_iraf_file (const char *filename, int *status)
 
float CFITS_API ffvers (float *version)
 
void CFITS_API ffupch (char *string)
 
void CFITS_API ffgerr (int status, char *errtext)
 
void CFITS_API ffpmsg (const char *err_message)
 
void CFITS_API ffpmrk (void)
 
int CFITS_API ffgmsg (char *err_message)
 
void CFITS_API ffcmsg (void)
 
void CFITS_API ffcmrk (void)
 
void CFITS_API ffrprt (FILE *stream, int status)
 
void CFITS_API ffcmps (char *templt, char *colname, int casesen, int *match, int *exact)
 
int CFITS_API fftkey (const char *keyword, int *status)
 
int CFITS_API fftrec (char *card, int *status)
 
int CFITS_API ffnchk (fitsfile *fptr, int *status)
 
int CFITS_API ffkeyn (const char *keyroot, int value, char *keyname, int *status)
 
int CFITS_API ffnkey (int value, const char *keyroot, char *keyname, int *status)
 
int CFITS_API ffgkcl (char *card)
 
int CFITS_API ffdtyp (const char *cval, char *dtype, int *status)
 
int CFITS_API ffinttyp (char *cval, int *datatype, int *negative, int *status)
 
int CFITS_API ffpsvc (char *card, char *value, char *comm, int *status)
 
int CFITS_API ffgknm (char *card, char *name, int *length, int *status)
 
int CFITS_API ffgthd (char *tmplt, char *card, int *hdtype, int *status)
 
int CFITS_API ffmkky (const char *keyname, char *keyval, const char *comm, char *card, int *status)
 
int CFITS_API fits_translate_keyword (char *inrec, char *outrec, char *patterns[][2], int npat, int n_value, int n_offset, int n_range, int *pat_num, int *i, int *j, int *m, int *n, int *status)
 
int CFITS_API fits_translate_keywords (fitsfile *infptr, fitsfile *outfptr, int firstkey, char *patterns[][2], int npat, int n_value, int n_offset, int n_range, int *status)
 
int CFITS_API ffasfm (char *tform, int *datacode, long *width, int *decim, int *status)
 
int CFITS_API ffbnfm (char *tform, int *datacode, long *repeat, long *width, int *status)
 
int CFITS_API ffbnfmll (char *tform, int *datacode, LONGLONG *repeat, long *width, int *status)
 
int CFITS_API ffgabc (int tfields, char **tform, int space, long *rowlen, long *tbcol, int *status)
 
int CFITS_API fits_get_section_range (char **ptr, long *secmin, long *secmax, long *incre, int *status)
 
int CFITS_API ffmbyt (fitsfile *fptr, LONGLONG bytpos, int ignore_err, int *status)
 
int CFITS_API ffpky (fitsfile *fptr, int datatype, const char *keyname, void *value, const char *comm, int *status)
 
int CFITS_API ffprec (fitsfile *fptr, const char *card, int *status)
 
int CFITS_API ffpcom (fitsfile *fptr, const char *comm, int *status)
 
int CFITS_API ffpunt (fitsfile *fptr, const char *keyname, const char *unit, int *status)
 
int CFITS_API ffphis (fitsfile *fptr, const char *history, int *status)
 
int CFITS_API ffpdat (fitsfile *fptr, int *status)
 
int CFITS_API ffverifydate (int year, int month, int day, int *status)
 
int CFITS_API ffgstm (char *timestr, int *timeref, int *status)
 
int CFITS_API ffgsdt (int *day, int *month, int *year, int *status)
 
int CFITS_API ffdt2s (int year, int month, int day, char *datestr, int *status)
 
int CFITS_API fftm2s (int year, int month, int day, int hour, int minute, double second, int decimals, char *datestr, int *status)
 
int CFITS_API ffs2dt (char *datestr, int *year, int *month, int *day, int *status)
 
int CFITS_API ffs2tm (char *datestr, int *year, int *month, int *day, int *hour, int *minute, double *second, int *status)
 
int CFITS_API ffpkyu (fitsfile *fptr, const char *keyname, const char *comm, int *status)
 
int CFITS_API ffpkys (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffpkls (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffplsw (fitsfile *fptr, int *status)
 
int CFITS_API ffpkyl (fitsfile *fptr, const char *keyname, int value, const char *comm, int *status)
 
int CFITS_API ffpkyj (fitsfile *fptr, const char *keyname, LONGLONG value, const char *comm, int *status)
 
int CFITS_API ffpkyf (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkye (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkyg (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkyd (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkyc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkym (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkfc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkfm (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffpkyt (fitsfile *fptr, const char *keyname, long intval, double frac, const char *comm, int *status)
 
int CFITS_API ffptdm (fitsfile *fptr, int colnum, int naxis, long naxes[], int *status)
 
int CFITS_API ffptdmll (fitsfile *fptr, int colnum, int naxis, LONGLONG naxes[], int *status)
 
int CFITS_API ffpkns (fitsfile *fptr, const char *keyroot, int nstart, int nkey, char *value[], char *comm[], int *status)
 
int CFITS_API ffpknl (fitsfile *fptr, const char *keyroot, int nstart, int nkey, int *value, char *comm[], int *status)
 
int CFITS_API ffpknj (fitsfile *fptr, const char *keyroot, int nstart, int nkey, long *value, char *comm[], int *status)
 
int CFITS_API ffpknjj (fitsfile *fptr, const char *keyroot, int nstart, int nkey, LONGLONG *value, char *comm[], int *status)
 
int CFITS_API ffpknf (fitsfile *fptr, const char *keyroot, int nstart, int nkey, float *value, int decim, char *comm[], int *status)
 
int CFITS_API ffpkne (fitsfile *fptr, const char *keyroot, int nstart, int nkey, float *value, int decim, char *comm[], int *status)
 
int CFITS_API ffpkng (fitsfile *fptr, const char *keyroot, int nstart, int nkey, double *value, int decim, char *comm[], int *status)
 
int CFITS_API ffpknd (fitsfile *fptr, const char *keyroot, int nstart, int nkey, double *value, int decim, char *comm[], int *status)
 
int CFITS_API ffcpky (fitsfile *infptr, fitsfile *outfptr, int incol, int outcol, char *rootname, int *status)
 
int CFITS_API ffphps (fitsfile *fptr, int bitpix, int naxis, long naxes[], int *status)
 
int CFITS_API ffphpsll (fitsfile *fptr, int bitpix, int naxis, LONGLONG naxes[], int *status)
 
int CFITS_API ffphpr (fitsfile *fptr, int simple, int bitpix, int naxis, long naxes[], LONGLONG pcount, LONGLONG gcount, int extend, int *status)
 
int CFITS_API ffphprll (fitsfile *fptr, int simple, int bitpix, int naxis, LONGLONG naxes[], LONGLONG pcount, LONGLONG gcount, int extend, int *status)
 
int CFITS_API ffphtb (fitsfile *fptr, LONGLONG naxis1, LONGLONG naxis2, int tfields, char **ttype, long *tbcol, char **tform, char **tunit, const char *extname, int *status)
 
int CFITS_API ffphbn (fitsfile *fptr, LONGLONG naxis2, int tfields, char **ttype, char **tform, char **tunit, const char *extname, LONGLONG pcount, int *status)
 
int CFITS_API ffphext (fitsfile *fptr, const char *xtension, int bitpix, int naxis, long naxes[], LONGLONG pcount, LONGLONG gcount, int *status)
 
int CFITS_API ffpktp (fitsfile *fptr, const char *filename, int *status)
 
int CFITS_API ffghsp (fitsfile *fptr, int *nexist, int *nmore, int *status)
 
int CFITS_API ffghps (fitsfile *fptr, int *nexist, int *position, int *status)
 
int CFITS_API ffmaky (fitsfile *fptr, int nrec, int *status)
 
int CFITS_API ffmrky (fitsfile *fptr, int nrec, int *status)
 
int CFITS_API ffgnxk (fitsfile *fptr, char **inclist, int ninc, char **exclist, int nexc, char *card, int *status)
 
int CFITS_API ffgrec (fitsfile *fptr, int nrec, char *card, int *status)
 
int CFITS_API ffgcrd (fitsfile *fptr, const char *keyname, char *card, int *status)
 
int CFITS_API ffgstr (fitsfile *fptr, const char *string, char *card, int *status)
 
int CFITS_API ffgunt (fitsfile *fptr, const char *keyname, char *unit, int *status)
 
int CFITS_API ffgkyn (fitsfile *fptr, int nkey, char *keyname, char *keyval, char *comm, int *status)
 
int CFITS_API ffgkey (fitsfile *fptr, const char *keyname, char *keyval, char *comm, int *status)
 
int CFITS_API ffgky (fitsfile *fptr, int datatype, const char *keyname, void *value, char *comm, int *status)
 
int CFITS_API ffgkys (fitsfile *fptr, const char *keyname, char *value, char *comm, int *status)
 
int CFITS_API ffgksl (fitsfile *fptr, const char *keyname, int *length, int *status)
 
int CFITS_API ffgkls (fitsfile *fptr, const char *keyname, char **value, char *comm, int *status)
 
int CFITS_API ffgsky (fitsfile *fptr, const char *keyname, int firstchar, int maxchar, char *value, int *valuelen, char *comm, int *status)
 
int CFITS_API fffree (void *value, int *status)
 
int CFITS_API fffkls (char *value, int *status)
 
int CFITS_API ffgkyl (fitsfile *fptr, const char *keyname, int *value, char *comm, int *status)
 
int CFITS_API ffgkyj (fitsfile *fptr, const char *keyname, long *value, char *comm, int *status)
 
int CFITS_API ffgkyjj (fitsfile *fptr, const char *keyname, LONGLONG *value, char *comm, int *status)
 
int CFITS_API ffgkye (fitsfile *fptr, const char *keyname, float *value, char *comm, int *status)
 
int CFITS_API ffgkyd (fitsfile *fptr, const char *keyname, double *value, char *comm, int *status)
 
int CFITS_API ffgkyc (fitsfile *fptr, const char *keyname, float *value, char *comm, int *status)
 
int CFITS_API ffgkym (fitsfile *fptr, const char *keyname, double *value, char *comm, int *status)
 
int CFITS_API ffgkyt (fitsfile *fptr, const char *keyname, long *ivalue, double *dvalue, char *comm, int *status)
 
int CFITS_API ffgtdm (fitsfile *fptr, int colnum, int maxdim, int *naxis, long naxes[], int *status)
 
int CFITS_API ffgtdmll (fitsfile *fptr, int colnum, int maxdim, int *naxis, LONGLONG naxes[], int *status)
 
int CFITS_API ffdtdm (fitsfile *fptr, char *tdimstr, int colnum, int maxdim, int *naxis, long naxes[], int *status)
 
int CFITS_API ffdtdmll (fitsfile *fptr, char *tdimstr, int colnum, int maxdim, int *naxis, LONGLONG naxes[], int *status)
 
int CFITS_API ffgkns (fitsfile *fptr, const char *keyname, int nstart, int nmax, char *value[], int *nfound, int *status)
 
int CFITS_API ffgknl (fitsfile *fptr, const char *keyname, int nstart, int nmax, int *value, int *nfound, int *status)
 
int CFITS_API ffgknj (fitsfile *fptr, const char *keyname, int nstart, int nmax, long *value, int *nfound, int *status)
 
int CFITS_API ffgknjj (fitsfile *fptr, const char *keyname, int nstart, int nmax, LONGLONG *value, int *nfound, int *status)
 
int CFITS_API ffgkne (fitsfile *fptr, const char *keyname, int nstart, int nmax, float *value, int *nfound, int *status)
 
int CFITS_API ffgknd (fitsfile *fptr, const char *keyname, int nstart, int nmax, double *value, int *nfound, int *status)
 
int CFITS_API ffh2st (fitsfile *fptr, char **header, int *status)
 
int CFITS_API ffhdr2str (fitsfile *fptr, int exclude_comm, char **exclist, int nexc, char **header, int *nkeys, int *status)
 
int CFITS_API ffcnvthdr2str (fitsfile *fptr, int exclude_comm, char **exclist, int nexc, char **header, int *nkeys, int *status)
 
int CFITS_API ffghpr (fitsfile *fptr, int maxdim, int *simple, int *bitpix, int *naxis, long naxes[], long *pcount, long *gcount, int *extend, int *status)
 
int CFITS_API ffghprll (fitsfile *fptr, int maxdim, int *simple, int *bitpix, int *naxis, LONGLONG naxes[], long *pcount, long *gcount, int *extend, int *status)
 
int CFITS_API ffghtb (fitsfile *fptr, int maxfield, long *naxis1, long *naxis2, int *tfields, char **ttype, long *tbcol, char **tform, char **tunit, char *extname, int *status)
 
int CFITS_API ffghtbll (fitsfile *fptr, int maxfield, LONGLONG *naxis1, LONGLONG *naxis2, int *tfields, char **ttype, LONGLONG *tbcol, char **tform, char **tunit, char *extname, int *status)
 
int CFITS_API ffghbn (fitsfile *fptr, int maxfield, long *naxis2, int *tfields, char **ttype, char **tform, char **tunit, char *extname, long *pcount, int *status)
 
int CFITS_API ffghbnll (fitsfile *fptr, int maxfield, LONGLONG *naxis2, int *tfields, char **ttype, char **tform, char **tunit, char *extname, LONGLONG *pcount, int *status)
 
int CFITS_API ffuky (fitsfile *fptr, int datatype, const char *keyname, void *value, const char *comm, int *status)
 
int CFITS_API ffucrd (fitsfile *fptr, const char *keyname, const char *card, int *status)
 
int CFITS_API ffukyu (fitsfile *fptr, const char *keyname, const char *comm, int *status)
 
int CFITS_API ffukys (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffukls (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffukyl (fitsfile *fptr, const char *keyname, int value, const char *comm, int *status)
 
int CFITS_API ffukyj (fitsfile *fptr, const char *keyname, LONGLONG value, const char *comm, int *status)
 
int CFITS_API ffukyf (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffukye (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffukyg (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffukyd (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffukyc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffukym (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffukfc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffukfm (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffmrec (fitsfile *fptr, int nkey, const char *card, int *status)
 
int CFITS_API ffmcrd (fitsfile *fptr, const char *keyname, const char *card, int *status)
 
int CFITS_API ffmnam (fitsfile *fptr, const char *oldname, const char *newname, int *status)
 
int CFITS_API ffmcom (fitsfile *fptr, const char *keyname, const char *comm, int *status)
 
int CFITS_API ffmkyu (fitsfile *fptr, const char *keyname, const char *comm, int *status)
 
int CFITS_API ffmkys (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffmkls (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffmkyl (fitsfile *fptr, const char *keyname, int value, const char *comm, int *status)
 
int CFITS_API ffmkyj (fitsfile *fptr, const char *keyname, LONGLONG value, const char *comm, int *status)
 
int CFITS_API ffmkyf (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkye (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkyg (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkyd (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkyc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkym (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkfc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffmkfm (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffirec (fitsfile *fptr, int nkey, const char *card, int *status)
 
int CFITS_API ffikey (fitsfile *fptr, const char *card, int *status)
 
int CFITS_API ffikyu (fitsfile *fptr, const char *keyname, const char *comm, int *status)
 
int CFITS_API ffikys (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffikls (fitsfile *fptr, const char *keyname, const char *value, const char *comm, int *status)
 
int CFITS_API ffikyl (fitsfile *fptr, const char *keyname, int value, const char *comm, int *status)
 
int CFITS_API ffikyj (fitsfile *fptr, const char *keyname, LONGLONG value, const char *comm, int *status)
 
int CFITS_API ffikyf (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffikye (fitsfile *fptr, const char *keyname, float value, int decim, const char *comm, int *status)
 
int CFITS_API ffikyg (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffikyd (fitsfile *fptr, const char *keyname, double value, int decim, const char *comm, int *status)
 
int CFITS_API ffikyc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffikym (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffikfc (fitsfile *fptr, const char *keyname, float *value, int decim, const char *comm, int *status)
 
int CFITS_API ffikfm (fitsfile *fptr, const char *keyname, double *value, int decim, const char *comm, int *status)
 
int CFITS_API ffdkey (fitsfile *fptr, const char *keyname, int *status)
 
int CFITS_API ffdstr (fitsfile *fptr, const char *string, int *status)
 
int CFITS_API ffdrec (fitsfile *fptr, int keypos, int *status)
 
int CFITS_API ffghdn (fitsfile *fptr, int *chdunum)
 
int CFITS_API ffghdt (fitsfile *fptr, int *exttype, int *status)
 
int CFITS_API ffghad (fitsfile *fptr, long *headstart, long *datastart, long *dataend, int *status)
 
int CFITS_API ffghadll (fitsfile *fptr, LONGLONG *headstart, LONGLONG *datastart, LONGLONG *dataend, int *status)
 
int CFITS_API ffghof (fitsfile *fptr, OFF_T *headstart, OFF_T *datastart, OFF_T *dataend, int *status)
 
int CFITS_API ffgipr (fitsfile *fptr, int maxaxis, int *imgtype, int *naxis, long *naxes, int *status)
 
int CFITS_API ffgiprll (fitsfile *fptr, int maxaxis, int *imgtype, int *naxis, LONGLONG *naxes, int *status)
 
int CFITS_API ffgidt (fitsfile *fptr, int *imgtype, int *status)
 
int CFITS_API ffgiet (fitsfile *fptr, int *imgtype, int *status)
 
int CFITS_API ffgidm (fitsfile *fptr, int *naxis, int *status)
 
int CFITS_API ffgisz (fitsfile *fptr, int nlen, long *naxes, int *status)
 
int CFITS_API ffgiszll (fitsfile *fptr, int nlen, LONGLONG *naxes, int *status)
 
int CFITS_API ffmahd (fitsfile *fptr, int hdunum, int *exttype, int *status)
 
int CFITS_API ffmrhd (fitsfile *fptr, int hdumov, int *exttype, int *status)
 
int CFITS_API ffmnhd (fitsfile *fptr, int exttype, char *hduname, int hduvers, int *status)
 
int CFITS_API ffthdu (fitsfile *fptr, int *nhdu, int *status)
 
int CFITS_API ffcrhd (fitsfile *fptr, int *status)
 
int CFITS_API ffcrim (fitsfile *fptr, int bitpix, int naxis, long *naxes, int *status)
 
int CFITS_API ffcrimll (fitsfile *fptr, int bitpix, int naxis, LONGLONG *naxes, int *status)
 
int CFITS_API ffcrtb (fitsfile *fptr, int tbltype, LONGLONG naxis2, int tfields, char **ttype, char **tform, char **tunit, const char *extname, int *status)
 
int CFITS_API ffiimg (fitsfile *fptr, int bitpix, int naxis, long *naxes, int *status)
 
int CFITS_API ffiimgll (fitsfile *fptr, int bitpix, int naxis, LONGLONG *naxes, int *status)
 
int CFITS_API ffitab (fitsfile *fptr, LONGLONG naxis1, LONGLONG naxis2, int tfields, char **ttype, long *tbcol, char **tform, char **tunit, const char *extname, int *status)
 
int CFITS_API ffibin (fitsfile *fptr, LONGLONG naxis2, int tfields, char **ttype, char **tform, char **tunit, const char *extname, LONGLONG pcount, int *status)
 
int CFITS_API ffrsim (fitsfile *fptr, int bitpix, int naxis, long *naxes, int *status)
 
int CFITS_API ffrsimll (fitsfile *fptr, int bitpix, int naxis, LONGLONG *naxes, int *status)
 
int CFITS_API ffdhdu (fitsfile *fptr, int *hdutype, int *status)
 
int CFITS_API ffcopy (fitsfile *infptr, fitsfile *outfptr, int morekeys, int *status)
 
int CFITS_API ffcpfl (fitsfile *infptr, fitsfile *outfptr, int prev, int cur, int follow, int *status)
 
int CFITS_API ffcphd (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API ffcpdt (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API ffchfl (fitsfile *fptr, int *status)
 
int CFITS_API ffcdfl (fitsfile *fptr, int *status)
 
int CFITS_API ffwrhdu (fitsfile *fptr, FILE *outstream, int *status)
 
int CFITS_API ffrdef (fitsfile *fptr, int *status)
 
int CFITS_API ffhdef (fitsfile *fptr, int morekeys, int *status)
 
int CFITS_API ffpthp (fitsfile *fptr, long theap, int *status)
 
int CFITS_API ffcsum (fitsfile *fptr, long nrec, unsigned long *sum, int *status)
 
void CFITS_API ffesum (unsigned long sum, int complm, char *ascii)
 
unsigned long CFITS_API ffdsum (char *ascii, int complm, unsigned long *sum)
 
int CFITS_API ffpcks (fitsfile *fptr, int *status)
 
int CFITS_API ffupck (fitsfile *fptr, int *status)
 
int CFITS_API ffvcks (fitsfile *fptr, int *datastatus, int *hdustatus, int *status)
 
int CFITS_API ffgcks (fitsfile *fptr, unsigned long *datasum, unsigned long *hdusum, int *status)
 
int CFITS_API ffpscl (fitsfile *fptr, double scale, double zeroval, int *status)
 
int CFITS_API ffpnul (fitsfile *fptr, LONGLONG nulvalue, int *status)
 
int CFITS_API fftscl (fitsfile *fptr, int colnum, double scale, double zeroval, int *status)
 
int CFITS_API fftnul (fitsfile *fptr, int colnum, LONGLONG nulvalue, int *status)
 
int CFITS_API ffsnul (fitsfile *fptr, int colnum, char *nulstring, int *status)
 
int CFITS_API ffgcno (fitsfile *fptr, int casesen, char *templt, int *colnum, int *status)
 
int CFITS_API ffgcnn (fitsfile *fptr, int casesen, char *templt, char *colname, int *colnum, int *status)
 
int CFITS_API ffgtcl (fitsfile *fptr, int colnum, int *typecode, long *repeat, long *width, int *status)
 
int CFITS_API ffgtclll (fitsfile *fptr, int colnum, int *typecode, LONGLONG *repeat, LONGLONG *width, int *status)
 
int CFITS_API ffeqty (fitsfile *fptr, int colnum, int *typecode, long *repeat, long *width, int *status)
 
int CFITS_API ffeqtyll (fitsfile *fptr, int colnum, int *typecode, LONGLONG *repeat, LONGLONG *width, int *status)
 
int CFITS_API ffgncl (fitsfile *fptr, int *ncols, int *status)
 
int CFITS_API ffgnrw (fitsfile *fptr, long *nrows, int *status)
 
int CFITS_API ffgnrwll (fitsfile *fptr, LONGLONG *nrows, int *status)
 
int CFITS_API ffgacl (fitsfile *fptr, int colnum, char *ttype, long *tbcol, char *tunit, char *tform, double *tscal, double *tzero, char *tnull, char *tdisp, int *status)
 
int CFITS_API ffgbcl (fitsfile *fptr, int colnum, char *ttype, char *tunit, char *dtype, long *repeat, double *tscal, double *tzero, long *tnull, char *tdisp, int *status)
 
int CFITS_API ffgbclll (fitsfile *fptr, int colnum, char *ttype, char *tunit, char *dtype, LONGLONG *repeat, double *tscal, double *tzero, LONGLONG *tnull, char *tdisp, int *status)
 
int CFITS_API ffgrsz (fitsfile *fptr, long *nrows, int *status)
 
int CFITS_API ffgcdw (fitsfile *fptr, int colnum, int *width, int *status)
 
int CFITS_API ffgpxv (fitsfile *fptr, int datatype, long *firstpix, LONGLONG nelem, void *nulval, void *array, int *anynul, int *status)
 
int CFITS_API ffgpxvll (fitsfile *fptr, int datatype, LONGLONG *firstpix, LONGLONG nelem, void *nulval, void *array, int *anynul, int *status)
 
int CFITS_API ffgpxf (fitsfile *fptr, int datatype, long *firstpix, LONGLONG nelem, void *array, char *nullarray, int *anynul, int *status)
 
int CFITS_API ffgpxfll (fitsfile *fptr, int datatype, LONGLONG *firstpix, LONGLONG nelem, void *array, char *nullarray, int *anynul, int *status)
 
int CFITS_API ffgsv (fitsfile *fptr, int datatype, long *blc, long *trc, long *inc, void *nulval, void *array, int *anynul, int *status)
 
int CFITS_API ffgpv (fitsfile *fptr, int datatype, LONGLONG firstelem, LONGLONG nelem, void *nulval, void *array, int *anynul, int *status)
 
int CFITS_API ffgpf (fitsfile *fptr, int datatype, LONGLONG firstelem, LONGLONG nelem, void *array, char *nullarray, int *anynul, int *status)
 
int CFITS_API ffgpvb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned char nulval, unsigned char *array, int *anynul, int *status)
 
int CFITS_API ffgpvsb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, signed char nulval, signed char *array, int *anynul, int *status)
 
int CFITS_API ffgpvui (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned short nulval, unsigned short *array, int *anynul, int *status)
 
int CFITS_API ffgpvi (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, short nulval, short *array, int *anynul, int *status)
 
int CFITS_API ffgpvuj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned long nulval, unsigned long *array, int *anynul, int *status)
 
int CFITS_API ffgpvj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, long nulval, long *array, int *anynul, int *status)
 
int CFITS_API ffgpvjj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, LONGLONG nulval, LONGLONG *array, int *anynul, int *status)
 
int CFITS_API ffgpvuk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned int nulval, unsigned int *array, int *anynul, int *status)
 
int CFITS_API ffgpvk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, int nulval, int *array, int *anynul, int *status)
 
int CFITS_API ffgpve (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, float nulval, float *array, int *anynul, int *status)
 
int CFITS_API ffgpvd (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, double nulval, double *array, int *anynul, int *status)
 
int CFITS_API ffgpfb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned char *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfsb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, signed char *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfui (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned short *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfi (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, short *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfuj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned long *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, long *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfjj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, LONGLONG *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfuk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned int *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, int *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfe (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, float *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgpfd (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, double *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffg2db (fitsfile *fptr, long group, unsigned char nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned char *array, int *anynul, int *status)
 
int CFITS_API ffg2dsb (fitsfile *fptr, long group, signed char nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, signed char *array, int *anynul, int *status)
 
int CFITS_API ffg2dui (fitsfile *fptr, long group, unsigned short nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned short *array, int *anynul, int *status)
 
int CFITS_API ffg2di (fitsfile *fptr, long group, short nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, short *array, int *anynul, int *status)
 
int CFITS_API ffg2duj (fitsfile *fptr, long group, unsigned long nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned long *array, int *anynul, int *status)
 
int CFITS_API ffg2dj (fitsfile *fptr, long group, long nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, long *array, int *anynul, int *status)
 
int CFITS_API ffg2djj (fitsfile *fptr, long group, LONGLONG nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, LONGLONG *array, int *anynul, int *status)
 
int CFITS_API ffg2duk (fitsfile *fptr, long group, unsigned int nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned int *array, int *anynul, int *status)
 
int CFITS_API ffg2dk (fitsfile *fptr, long group, int nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, int *array, int *anynul, int *status)
 
int CFITS_API ffg2de (fitsfile *fptr, long group, float nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, float *array, int *anynul, int *status)
 
int CFITS_API ffg2dd (fitsfile *fptr, long group, double nulval, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, double *array, int *anynul, int *status)
 
int CFITS_API ffg3db (fitsfile *fptr, long group, unsigned char nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned char *array, int *anynul, int *status)
 
int CFITS_API ffg3dsb (fitsfile *fptr, long group, signed char nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, signed char *array, int *anynul, int *status)
 
int CFITS_API ffg3dui (fitsfile *fptr, long group, unsigned short nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned short *array, int *anynul, int *status)
 
int CFITS_API ffg3di (fitsfile *fptr, long group, short nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, short *array, int *anynul, int *status)
 
int CFITS_API ffg3duj (fitsfile *fptr, long group, unsigned long nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned long *array, int *anynul, int *status)
 
int CFITS_API ffg3dj (fitsfile *fptr, long group, long nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, long *array, int *anynul, int *status)
 
int CFITS_API ffg3djj (fitsfile *fptr, long group, LONGLONG nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, LONGLONG *array, int *anynul, int *status)
 
int CFITS_API ffg3duk (fitsfile *fptr, long group, unsigned int nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned int *array, int *anynul, int *status)
 
int CFITS_API ffg3dk (fitsfile *fptr, long group, int nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, int *array, int *anynul, int *status)
 
int CFITS_API ffg3de (fitsfile *fptr, long group, float nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, float *array, int *anynul, int *status)
 
int CFITS_API ffg3dd (fitsfile *fptr, long group, double nulval, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, double *array, int *anynul, int *status)
 
int CFITS_API ffgsvb (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned char nulval, unsigned char *array, int *anynul, int *status)
 
int CFITS_API ffgsvsb (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, signed char nulval, signed char *array, int *anynul, int *status)
 
int CFITS_API ffgsvui (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned short nulval, unsigned short *array, int *anynul, int *status)
 
int CFITS_API ffgsvi (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, short nulval, short *array, int *anynul, int *status)
 
int CFITS_API ffgsvuj (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned long nulval, unsigned long *array, int *anynul, int *status)
 
int CFITS_API ffgsvj (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, long nulval, long *array, int *anynul, int *status)
 
int CFITS_API ffgsvjj (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, LONGLONG nulval, LONGLONG *array, int *anynul, int *status)
 
int CFITS_API ffgsvuk (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned int nulval, unsigned int *array, int *anynul, int *status)
 
int CFITS_API ffgsvk (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, int nulval, int *array, int *anynul, int *status)
 
int CFITS_API ffgsve (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, float nulval, float *array, int *anynul, int *status)
 
int CFITS_API ffgsvd (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, double nulval, double *array, int *anynul, int *status)
 
int CFITS_API ffgsfb (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned char *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfsb (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, signed char *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfui (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned short *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfi (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, short *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfuj (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned long *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfj (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, long *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfjj (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, LONGLONG *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfuk (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, unsigned int *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfk (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, int *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfe (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, float *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffgsfd (fitsfile *fptr, int colnum, int naxis, long *naxes, long *blc, long *trc, long *inc, double *array, char *flagval, int *anynul, int *status)
 
int CFITS_API ffggpb (fitsfile *fptr, long group, long firstelem, long nelem, unsigned char *array, int *status)
 
int CFITS_API ffggpsb (fitsfile *fptr, long group, long firstelem, long nelem, signed char *array, int *status)
 
int CFITS_API ffggpui (fitsfile *fptr, long group, long firstelem, long nelem, unsigned short *array, int *status)
 
int CFITS_API ffggpi (fitsfile *fptr, long group, long firstelem, long nelem, short *array, int *status)
 
int CFITS_API ffggpuj (fitsfile *fptr, long group, long firstelem, long nelem, unsigned long *array, int *status)
 
int CFITS_API ffggpj (fitsfile *fptr, long group, long firstelem, long nelem, long *array, int *status)
 
int CFITS_API ffggpjj (fitsfile *fptr, long group, long firstelem, long nelem, LONGLONG *array, int *status)
 
int CFITS_API ffggpuk (fitsfile *fptr, long group, long firstelem, long nelem, unsigned int *array, int *status)
 
int CFITS_API ffggpk (fitsfile *fptr, long group, long firstelem, long nelem, int *array, int *status)
 
int CFITS_API ffggpe (fitsfile *fptr, long group, long firstelem, long nelem, float *array, int *status)
 
int CFITS_API ffggpd (fitsfile *fptr, long group, long firstelem, long nelem, double *array, int *status)
 
int CFITS_API ffgcv (fitsfile *fptr, int datatype, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, void *nulval, void *array, int *anynul, int *status)
 
int CFITS_API ffgcf (fitsfile *fptr, int datatype, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, void *array, char *nullarray, int *anynul, int *status)
 
int CFITS_API ffgcvs (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char *nulval, char **array, int *anynul, int *status)
 
int CFITS_API ffgcl (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char *array, int *status)
 
int CFITS_API ffgcvl (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char nulval, char *array, int *anynul, int *status)
 
int CFITS_API ffgcvb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned char nulval, unsigned char *array, int *anynul, int *status)
 
int CFITS_API ffgcvsb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, signed char nulval, signed char *array, int *anynul, int *status)
 
int CFITS_API ffgcvui (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned short nulval, unsigned short *array, int *anynul, int *status)
 
int CFITS_API ffgcvi (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, short nulval, short *array, int *anynul, int *status)
 
int CFITS_API ffgcvuj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned long nulval, unsigned long *array, int *anynul, int *status)
 
int CFITS_API ffgcvj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, long nulval, long *array, int *anynul, int *status)
 
int CFITS_API ffgcvjj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, LONGLONG nulval, LONGLONG *array, int *anynul, int *status)
 
int CFITS_API ffgcvuk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned int nulval, unsigned int *array, int *anynul, int *status)
 
int CFITS_API ffgcvk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, int nulval, int *array, int *anynul, int *status)
 
int CFITS_API ffgcve (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float nulval, float *array, int *anynul, int *status)
 
int CFITS_API ffgcvd (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double nulval, double *array, int *anynul, int *status)
 
int CFITS_API ffgcvc (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float nulval, float *array, int *anynul, int *status)
 
int CFITS_API ffgcvm (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double nulval, double *array, int *anynul, int *status)
 
int CFITS_API ffgcx (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstbit, LONGLONG nbits, char *larray, int *status)
 
int CFITS_API ffgcxui (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG nrows, long firstbit, int nbits, unsigned short *array, int *status)
 
int CFITS_API ffgcxuk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG nrows, long firstbit, int nbits, unsigned int *array, int *status)
 
int CFITS_API ffgcfs (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char **array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfl (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned char *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfsb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, signed char *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfui (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned short *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfi (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, short *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfuj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned long *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, long *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfjj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, LONGLONG *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfuk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned int *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, int *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfe (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfd (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfc (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgcfm (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double *array, char *nularray, int *anynul, int *status)
 
int CFITS_API ffgdes (fitsfile *fptr, int colnum, LONGLONG rownum, long *length, long *heapaddr, int *status)
 
int CFITS_API ffgdesll (fitsfile *fptr, int colnum, LONGLONG rownum, LONGLONG *length, LONGLONG *heapaddr, int *status)
 
int CFITS_API ffgdess (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG nrows, long *length, long *heapaddr, int *status)
 
int CFITS_API ffgdessll (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG nrows, LONGLONG *length, LONGLONG *heapaddr, int *status)
 
int CFITS_API ffpdes (fitsfile *fptr, int colnum, LONGLONG rownum, LONGLONG length, LONGLONG heapaddr, int *status)
 
int CFITS_API fftheap (fitsfile *fptr, LONGLONG *heapsize, LONGLONG *unused, LONGLONG *overlap, int *valid, int *status)
 
int CFITS_API ffcmph (fitsfile *fptr, int *status)
 
int CFITS_API ffgtbb (fitsfile *fptr, LONGLONG firstrow, LONGLONG firstchar, LONGLONG nchars, unsigned char *values, int *status)
 
int CFITS_API ffgextn (fitsfile *fptr, LONGLONG offset, LONGLONG nelem, void *array, int *status)
 
int CFITS_API ffpextn (fitsfile *fptr, LONGLONG offset, LONGLONG nelem, void *array, int *status)
 
int CFITS_API ffppx (fitsfile *fptr, int datatype, long *firstpix, LONGLONG nelem, void *array, int *status)
 
int CFITS_API ffppxll (fitsfile *fptr, int datatype, LONGLONG *firstpix, LONGLONG nelem, void *array, int *status)
 
int CFITS_API ffppxn (fitsfile *fptr, int datatype, long *firstpix, LONGLONG nelem, void *array, void *nulval, int *status)
 
int CFITS_API ffppxnll (fitsfile *fptr, int datatype, LONGLONG *firstpix, LONGLONG nelem, void *array, void *nulval, int *status)
 
int CFITS_API ffppr (fitsfile *fptr, int datatype, LONGLONG firstelem, LONGLONG nelem, void *array, int *status)
 
int CFITS_API ffpprb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned char *array, int *status)
 
int CFITS_API ffpprsb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, signed char *array, int *status)
 
int CFITS_API ffpprui (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned short *array, int *status)
 
int CFITS_API ffppri (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, short *array, int *status)
 
int CFITS_API ffppruj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned long *array, int *status)
 
int CFITS_API ffpprj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, long *array, int *status)
 
int CFITS_API ffppruk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned int *array, int *status)
 
int CFITS_API ffpprk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, int *array, int *status)
 
int CFITS_API ffppre (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, float *array, int *status)
 
int CFITS_API ffpprd (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, double *array, int *status)
 
int CFITS_API ffpprjj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, LONGLONG *array, int *status)
 
int CFITS_API ffppru (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, int *status)
 
int CFITS_API ffpprn (fitsfile *fptr, LONGLONG firstelem, LONGLONG nelem, int *status)
 
int CFITS_API ffppn (fitsfile *fptr, int datatype, LONGLONG firstelem, LONGLONG nelem, void *array, void *nulval, int *status)
 
int CFITS_API ffppnb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned char *array, unsigned char nulval, int *status)
 
int CFITS_API ffppnsb (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, signed char *array, signed char nulval, int *status)
 
int CFITS_API ffppnui (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned short *array, unsigned short nulval, int *status)
 
int CFITS_API ffppni (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, short *array, short nulval, int *status)
 
int CFITS_API ffppnj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, long *array, long nulval, int *status)
 
int CFITS_API ffppnuj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned long *array, unsigned long nulval, int *status)
 
int CFITS_API ffppnuk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, unsigned int *array, unsigned int nulval, int *status)
 
int CFITS_API ffppnk (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, int *array, int nulval, int *status)
 
int CFITS_API ffppne (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, float *array, float nulval, int *status)
 
int CFITS_API ffppnd (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, double *array, double nulval, int *status)
 
int CFITS_API ffppnjj (fitsfile *fptr, long group, LONGLONG firstelem, LONGLONG nelem, LONGLONG *array, LONGLONG nulval, int *status)
 
int CFITS_API ffp2db (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned char *array, int *status)
 
int CFITS_API ffp2dsb (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, signed char *array, int *status)
 
int CFITS_API ffp2dui (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned short *array, int *status)
 
int CFITS_API ffp2di (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, short *array, int *status)
 
int CFITS_API ffp2duj (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned long *array, int *status)
 
int CFITS_API ffp2dj (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, long *array, int *status)
 
int CFITS_API ffp2duk (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, unsigned int *array, int *status)
 
int CFITS_API ffp2dk (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, int *array, int *status)
 
int CFITS_API ffp2de (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, float *array, int *status)
 
int CFITS_API ffp2dd (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, double *array, int *status)
 
int CFITS_API ffp2djj (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG naxis1, LONGLONG naxis2, LONGLONG *array, int *status)
 
int CFITS_API ffp3db (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned char *array, int *status)
 
int CFITS_API ffp3dsb (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, signed char *array, int *status)
 
int CFITS_API ffp3dui (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned short *array, int *status)
 
int CFITS_API ffp3di (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, short *array, int *status)
 
int CFITS_API ffp3duj (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned long *array, int *status)
 
int CFITS_API ffp3dj (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, long *array, int *status)
 
int CFITS_API ffp3duk (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, unsigned int *array, int *status)
 
int CFITS_API ffp3dk (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, int *array, int *status)
 
int CFITS_API ffp3de (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, float *array, int *status)
 
int CFITS_API ffp3dd (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, double *array, int *status)
 
int CFITS_API ffp3djj (fitsfile *fptr, long group, LONGLONG ncols, LONGLONG nrows, LONGLONG naxis1, LONGLONG naxis2, LONGLONG naxis3, LONGLONG *array, int *status)
 
int CFITS_API ffpss (fitsfile *fptr, int datatype, long *fpixel, long *lpixel, void *array, int *status)
 
int CFITS_API ffpssb (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, unsigned char *array, int *status)
 
int CFITS_API ffpsssb (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, signed char *array, int *status)
 
int CFITS_API ffpssui (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, unsigned short *array, int *status)
 
int CFITS_API ffpssi (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, short *array, int *status)
 
int CFITS_API ffpssuj (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, unsigned long *array, int *status)
 
int CFITS_API ffpssj (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, long *array, int *status)
 
int CFITS_API ffpssuk (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, unsigned int *array, int *status)
 
int CFITS_API ffpssk (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, int *array, int *status)
 
int CFITS_API ffpsse (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, float *array, int *status)
 
int CFITS_API ffpssd (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, double *array, int *status)
 
int CFITS_API ffpssjj (fitsfile *fptr, long group, long naxis, long *naxes, long *fpixel, long *lpixel, LONGLONG *array, int *status)
 
int CFITS_API ffpgpb (fitsfile *fptr, long group, long firstelem, long nelem, unsigned char *array, int *status)
 
int CFITS_API ffpgpsb (fitsfile *fptr, long group, long firstelem, long nelem, signed char *array, int *status)
 
int CFITS_API ffpgpui (fitsfile *fptr, long group, long firstelem, long nelem, unsigned short *array, int *status)
 
int CFITS_API ffpgpi (fitsfile *fptr, long group, long firstelem, long nelem, short *array, int *status)
 
int CFITS_API ffpgpuj (fitsfile *fptr, long group, long firstelem, long nelem, unsigned long *array, int *status)
 
int CFITS_API ffpgpj (fitsfile *fptr, long group, long firstelem, long nelem, long *array, int *status)
 
int CFITS_API ffpgpuk (fitsfile *fptr, long group, long firstelem, long nelem, unsigned int *array, int *status)
 
int CFITS_API ffpgpk (fitsfile *fptr, long group, long firstelem, long nelem, int *array, int *status)
 
int CFITS_API ffpgpe (fitsfile *fptr, long group, long firstelem, long nelem, float *array, int *status)
 
int CFITS_API ffpgpd (fitsfile *fptr, long group, long firstelem, long nelem, double *array, int *status)
 
int CFITS_API ffpgpjj (fitsfile *fptr, long group, long firstelem, long nelem, LONGLONG *array, int *status)
 
int CFITS_API fits_iter_set_by_name (iteratorCol *col, fitsfile *fptr, char *colname, int datatype, int iotype)
 
int CFITS_API fits_iter_set_by_num (iteratorCol *col, fitsfile *fptr, int colnum, int datatype, int iotype)
 
int CFITS_API fits_iter_set_file (iteratorCol *col, fitsfile *fptr)
 
int CFITS_API fits_iter_set_colname (iteratorCol *col, char *colname)
 
int CFITS_API fits_iter_set_colnum (iteratorCol *col, int colnum)
 
int CFITS_API fits_iter_set_datatype (iteratorCol *col, int datatype)
 
int CFITS_API fits_iter_set_iotype (iteratorCol *col, int iotype)
 
CFITS_API fitsfilefits_iter_get_file (iteratorCol *col)
 
char CFITS_APIfits_iter_get_colname (iteratorCol *col)
 
int CFITS_API fits_iter_get_colnum (iteratorCol *col)
 
int CFITS_API fits_iter_get_datatype (iteratorCol *col)
 
int CFITS_API fits_iter_get_iotype (iteratorCol *col)
 
void CFITS_APIfits_iter_get_array (iteratorCol *col)
 
long CFITS_API fits_iter_get_tlmin (iteratorCol *col)
 
long CFITS_API fits_iter_get_tlmax (iteratorCol *col)
 
long CFITS_API fits_iter_get_repeat (iteratorCol *col)
 
char CFITS_APIfits_iter_get_tunit (iteratorCol *col)
 
char CFITS_APIfits_iter_get_tdisp (iteratorCol *col)
 
int CFITS_API ffiter (int ncols, iteratorCol *data, long offset, long nPerLoop, int(*workFn)(long totaln, long offset, long firstn, long nvalues, int narrays, iteratorCol *data, void *userPointer), void *userPointer, int *status)
 
int CFITS_API ffpcl (fitsfile *fptr, int datatype, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, void *array, int *status)
 
int CFITS_API ffpcls (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char **array, int *status)
 
int CFITS_API ffpcll (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char *array, int *status)
 
int CFITS_API ffpclb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned char *array, int *status)
 
int CFITS_API ffpclsb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, signed char *array, int *status)
 
int CFITS_API ffpclui (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned short *array, int *status)
 
int CFITS_API ffpcli (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, short *array, int *status)
 
int CFITS_API ffpcluj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned long *array, int *status)
 
int CFITS_API ffpclj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, long *array, int *status)
 
int CFITS_API ffpcluk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned int *array, int *status)
 
int CFITS_API ffpclk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, int *array, int *status)
 
int CFITS_API ffpcle (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float *array, int *status)
 
int CFITS_API ffpcld (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double *array, int *status)
 
int CFITS_API ffpclc (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float *array, int *status)
 
int CFITS_API ffpclm (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double *array, int *status)
 
int CFITS_API ffpclu (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, int *status)
 
int CFITS_API ffprwu (fitsfile *fptr, LONGLONG firstrow, LONGLONG nrows, int *status)
 
int CFITS_API ffpcljj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, LONGLONG *array, int *status)
 
int CFITS_API ffpclx (fitsfile *fptr, int colnum, LONGLONG frow, long fbit, long nbit, char *larray, int *status)
 
int CFITS_API ffpcn (fitsfile *fptr, int datatype, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, void *array, void *nulval, int *status)
 
int CFITS_API ffpcns (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char **array, char *nulvalue, int *status)
 
int CFITS_API ffpcnl (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, char *array, char nulvalue, int *status)
 
int CFITS_API ffpcnb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned char *array, unsigned char nulvalue, int *status)
 
int CFITS_API ffpcnsb (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, signed char *array, signed char nulvalue, int *status)
 
int CFITS_API ffpcnui (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned short *array, unsigned short nulvalue, int *status)
 
int CFITS_API ffpcni (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, short *array, short nulvalue, int *status)
 
int CFITS_API ffpcnuj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned long *array, unsigned long nulvalue, int *status)
 
int CFITS_API ffpcnj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, long *array, long nulvalue, int *status)
 
int CFITS_API ffpcnuk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, unsigned int *array, unsigned int nulvalue, int *status)
 
int CFITS_API ffpcnk (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, int *array, int nulvalue, int *status)
 
int CFITS_API ffpcne (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, float *array, float nulvalue, int *status)
 
int CFITS_API ffpcnd (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, double *array, double nulvalue, int *status)
 
int CFITS_API ffpcnjj (fitsfile *fptr, int colnum, LONGLONG firstrow, LONGLONG firstelem, LONGLONG nelem, LONGLONG *array, LONGLONG nulvalue, int *status)
 
int CFITS_API ffptbb (fitsfile *fptr, LONGLONG firstrow, LONGLONG firstchar, LONGLONG nchars, unsigned char *values, int *status)
 
int CFITS_API ffirow (fitsfile *fptr, LONGLONG firstrow, LONGLONG nrows, int *status)
 
int CFITS_API ffdrow (fitsfile *fptr, LONGLONG firstrow, LONGLONG nrows, int *status)
 
int CFITS_API ffdrrg (fitsfile *fptr, char *ranges, int *status)
 
int CFITS_API ffdrws (fitsfile *fptr, long *rownum, long nrows, int *status)
 
int CFITS_API ffdrwsll (fitsfile *fptr, LONGLONG *rownum, LONGLONG nrows, int *status)
 
int CFITS_API fficol (fitsfile *fptr, int numcol, char *ttype, char *tform, int *status)
 
int CFITS_API fficls (fitsfile *fptr, int firstcol, int ncols, char **ttype, char **tform, int *status)
 
int CFITS_API ffmvec (fitsfile *fptr, int colnum, LONGLONG newveclen, int *status)
 
int CFITS_API ffdcol (fitsfile *fptr, int numcol, int *status)
 
int CFITS_API ffcpcl (fitsfile *infptr, fitsfile *outfptr, int incol, int outcol, int create_col, int *status)
 
int CFITS_API ffcprw (fitsfile *infptr, fitsfile *outfptr, LONGLONG firstrow, LONGLONG nrows, int *status)
 
int CFITS_API ffgics (fitsfile *fptr, double *xrval, double *yrval, double *xrpix, double *yrpix, double *xinc, double *yinc, double *rot, char *type, int *status)
 
int CFITS_API ffgicsa (fitsfile *fptr, char version, double *xrval, double *yrval, double *xrpix, double *yrpix, double *xinc, double *yinc, double *rot, char *type, int *status)
 
int CFITS_API ffgtcs (fitsfile *fptr, int xcol, int ycol, double *xrval, double *yrval, double *xrpix, double *yrpix, double *xinc, double *yinc, double *rot, char *type, int *status)
 
int CFITS_API ffwldp (double xpix, double ypix, double xref, double yref, double xrefpix, double yrefpix, double xinc, double yinc, double rot, char *type, double *xpos, double *ypos, int *status)
 
int CFITS_API ffxypx (double xpos, double ypos, double xref, double yref, double xrefpix, double yrefpix, double xinc, double yinc, double rot, char *type, double *xpix, double *ypix, int *status)
 
int CFITS_API ffgiwcs (fitsfile *fptr, char **header, int *status)
 
int CFITS_API ffgtwcs (fitsfile *fptr, int xcol, int ycol, char **header, int *status)
 
int CFITS_API fftexp (fitsfile *fptr, char *expr, int maxdim, int *datatype, long *nelem, int *naxis, long *naxes, int *status)
 
int CFITS_API fffrow (fitsfile *infptr, char *expr, long firstrow, long nrows, long *n_good_rows, char *row_status, int *status)
 
int CFITS_API ffffrw (fitsfile *fptr, char *expr, long *rownum, int *status)
 
int CFITS_API fffrwc (fitsfile *fptr, char *expr, char *timeCol, char *parCol, char *valCol, long ntimes, double *times, char *time_status, int *status)
 
int CFITS_API ffsrow (fitsfile *infptr, fitsfile *outfptr, char *expr, int *status)
 
int CFITS_API ffcrow (fitsfile *fptr, int datatype, char *expr, long firstrow, long nelements, void *nulval, void *array, int *anynul, int *status)
 
int CFITS_API ffcalc_rng (fitsfile *infptr, char *expr, fitsfile *outfptr, char *parName, char *parInfo, int nRngs, long *start, long *end, int *status)
 
int CFITS_API ffcalc (fitsfile *infptr, char *expr, fitsfile *outfptr, char *parName, char *parInfo, int *status)
 
int CFITS_API ffhist (fitsfile **fptr, char *outfile, int imagetype, int naxis, char colname[4][FLEN_VALUE], double *minin, double *maxin, double *binsizein, char minname[4][FLEN_VALUE], char maxname[4][FLEN_VALUE], char binname[4][FLEN_VALUE], double weightin, char wtcol[FLEN_VALUE], int recip, char *rowselect, int *status)
 
int CFITS_API ffhist2 (fitsfile **fptr, char *outfile, int imagetype, int naxis, char colname[4][FLEN_VALUE], double *minin, double *maxin, double *binsizein, char minname[4][FLEN_VALUE], char maxname[4][FLEN_VALUE], char binname[4][FLEN_VALUE], double weightin, char wtcol[FLEN_VALUE], int recip, char *rowselect, int *status)
 
CFITS_API fitsfileffhist3 (fitsfile *fptr, char *outfile, int imagetype, int naxis, char colname[4][FLEN_VALUE], double *minin, double *maxin, double *binsizein, char minname[4][FLEN_VALUE], char maxname[4][FLEN_VALUE], char binname[4][FLEN_VALUE], double weightin, char wtcol[FLEN_VALUE], int recip, char *selectrow, int *status)
 
int CFITS_API fits_select_image_section (fitsfile **fptr, char *outfile, char *imagesection, int *status)
 
int CFITS_API fits_copy_image_section (fitsfile *infptr, fitsfile *outfile, char *imagesection, int *status)
 
int CFITS_API fits_calc_binning (fitsfile *fptr, int naxis, char colname[4][FLEN_VALUE], double *minin, double *maxin, double *binsizein, char minname[4][FLEN_VALUE], char maxname[4][FLEN_VALUE], char binname[4][FLEN_VALUE], int *colnum, long *haxes, float *amin, float *amax, float *binsize, int *status)
 
int CFITS_API fits_write_keys_histo (fitsfile *fptr, fitsfile *histptr, int naxis, int *colnum, int *status)
 
int CFITS_API fits_rebin_wcs (fitsfile *fptr, int naxis, float *amin, float *binsize, int *status)
 
int CFITS_API fits_make_hist (fitsfile *fptr, fitsfile *histptr, int bitpix, int naxis, long *naxes, int *colnum, float *amin, float *amax, float *binsize, float weight, int wtcolnum, int recip, char *selectrow, int *status)
 
int CFITS_API fits_pixel_filter (PixelFilter *filter, int *status)
 
int CFITS_API ffgtcr (fitsfile *fptr, char *grpname, int grouptype, int *status)
 
int CFITS_API ffgtis (fitsfile *fptr, char *grpname, int grouptype, int *status)
 
int CFITS_API ffgtch (fitsfile *gfptr, int grouptype, int *status)
 
int CFITS_API ffgtrm (fitsfile *gfptr, int rmopt, int *status)
 
int CFITS_API ffgtcp (fitsfile *infptr, fitsfile *outfptr, int cpopt, int *status)
 
int CFITS_API ffgtmg (fitsfile *infptr, fitsfile *outfptr, int mgopt, int *status)
 
int CFITS_API ffgtcm (fitsfile *gfptr, int cmopt, int *status)
 
int CFITS_API ffgtvf (fitsfile *gfptr, long *firstfailed, int *status)
 
int CFITS_API ffgtop (fitsfile *mfptr, int group, fitsfile **gfptr, int *status)
 
int CFITS_API ffgtam (fitsfile *gfptr, fitsfile *mfptr, int hdupos, int *status)
 
int CFITS_API ffgtnm (fitsfile *gfptr, long *nmembers, int *status)
 
int CFITS_API ffgmng (fitsfile *mfptr, long *nmembers, int *status)
 
int CFITS_API ffgmop (fitsfile *gfptr, long member, fitsfile **mfptr, int *status)
 
int CFITS_API ffgmcp (fitsfile *gfptr, fitsfile *mfptr, long member, int cpopt, int *status)
 
int CFITS_API ffgmtf (fitsfile *infptr, fitsfile *outfptr, long member, int tfopt, int *status)
 
int CFITS_API ffgmrm (fitsfile *fptr, long member, int rmopt, int *status)
 
int CFITS_API fits_execute_template (fitsfile *ff, char *ngp_template, int *status)
 
int CFITS_API fits_img_stats_short (short *array, long nx, long ny, int nullcheck, short nullvalue, long *ngoodpix, short *minvalue, short *maxvalue, double *mean, double *sigma, double *noise1, double *noise2, double *noise3, double *noise5, int *status)
 
int CFITS_API fits_img_stats_int (int *array, long nx, long ny, int nullcheck, int nullvalue, long *ngoodpix, int *minvalue, int *maxvalue, double *mean, double *sigma, double *noise1, double *noise2, double *noise3, double *noise5, int *status)
 
int CFITS_API fits_img_stats_float (float *array, long nx, long ny, int nullcheck, float nullvalue, long *ngoodpix, float *minvalue, float *maxvalue, double *mean, double *sigma, double *noise1, double *noise2, double *noise3, double *noise5, int *status)
 
int CFITS_API fits_set_compression_type (fitsfile *fptr, int ctype, int *status)
 
int CFITS_API fits_set_tile_dim (fitsfile *fptr, int ndim, long *dims, int *status)
 
int CFITS_API fits_set_noise_bits (fitsfile *fptr, int noisebits, int *status)
 
int CFITS_API fits_set_quantize_level (fitsfile *fptr, float qlevel, int *status)
 
int CFITS_API fits_set_hcomp_scale (fitsfile *fptr, float scale, int *status)
 
int CFITS_API fits_set_hcomp_smooth (fitsfile *fptr, int smooth, int *status)
 
int CFITS_API fits_set_quantize_method (fitsfile *fptr, int method, int *status)
 
int CFITS_API fits_set_quantize_dither (fitsfile *fptr, int dither, int *status)
 
int CFITS_API fits_set_dither_seed (fitsfile *fptr, int seed, int *status)
 
int CFITS_API fits_set_dither_offset (fitsfile *fptr, int offset, int *status)
 
int CFITS_API fits_set_lossy_int (fitsfile *fptr, int lossy_int, int *status)
 
int CFITS_API fits_set_huge_hdu (fitsfile *fptr, int huge, int *status)
 
int CFITS_API fits_set_compression_pref (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API fits_get_compression_type (fitsfile *fptr, int *ctype, int *status)
 
int CFITS_API fits_get_tile_dim (fitsfile *fptr, int ndim, long *dims, int *status)
 
int CFITS_API fits_get_quantize_level (fitsfile *fptr, float *qlevel, int *status)
 
int CFITS_API fits_get_noise_bits (fitsfile *fptr, int *noisebits, int *status)
 
int CFITS_API fits_get_hcomp_scale (fitsfile *fptr, float *scale, int *status)
 
int CFITS_API fits_get_hcomp_smooth (fitsfile *fptr, int *smooth, int *status)
 
int CFITS_API fits_get_dither_seed (fitsfile *fptr, int *seed, int *status)
 
int CFITS_API fits_img_compress (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API fits_compress_img (fitsfile *infptr, fitsfile *outfptr, int compress_type, long *tilesize, int parm1, int parm2, int *status)
 
int CFITS_API fits_is_compressed_image (fitsfile *fptr, int *status)
 
int CFITS_API fits_is_reentrant (void)
 
int CFITS_API fits_decompress_img (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API fits_img_decompress_header (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API fits_img_decompress (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API fits_hcompress (int *a, int nx, int ny, int scale, char *output, long *nbytes, int *status)
 
int CFITS_API fits_hcompress64 (LONGLONG *a, int nx, int ny, int scale, char *output, long *nbytes, int *status)
 
int CFITS_API fits_hdecompress (unsigned char *input, int smooth, int *a, int *nx, int *ny, int *scale, int *status)
 
int CFITS_API fits_hdecompress64 (unsigned char *input, int smooth, LONGLONG *a, int *nx, int *ny, int *scale, int *status)
 
int CFITS_API fits_compress_table (fitsfile *infptr, fitsfile *outfptr, int *status)
 
int CFITS_API fits_uncompress_table (fitsfile *infptr, fitsfile *outfptr, int *status)
 

Macro Definition Documentation

#define ANGLE_TOO_BIG   501 /* celestial angle too large for projection */

error status code. celestial angle too large for projection/

#define ANY_HDU   -1 /* matches any HDU type */

matches any HDU type

#define APPROX_WCS_KEY   506 /* approximate WCS keywords were calculated */

error status code. approximate WCS keywords were calculated/

#define ARRAY_TOO_BIG   111 /* array dimensions exceed internal limit */

error status code. array dimensions exceed internal limit/

#define ASCII_TBL   1 /* ASCII table HDU */

ASCII table HDU

#define BAD_ATABLE_FORMAT   311 /* ASCII table column has wrong format */

error status code ASCII table column has wrong format/

#define BAD_BITPIX   211 /* illegal BITPIX keyword value*/

error status code illegal BITPIX keyword value

#define BAD_BTABLE_FORMAT   312 /* Binary table column has wrong format */

error status code Binary table column has wrong format/

#define BAD_C2D   409 /* bad formatted string to double conversion */

error status code. bad formatted string to double conversion/

#define BAD_C2F   408 /* bad formatted string to float conversion */

error status code. bad formatted string to float conversion/

#define BAD_C2I   407 /* bad formatted string to int conversion */

error status code. bad formatted string to int conversion/

#define BAD_COL_NUM   302 /* column number < 1 or > tfields */

error status code column number < 1 or > tfields/

#define BAD_DATA_FILL   255 /* Data fill area not blank or zero */

error status code Data fill area not blank or zero

#define BAD_DATATYPE   410 /* bad keyword datatype code */

error status code. bad keyword datatype code/

#define BAD_DATE   420 /* error in date or time conversion */

error status code. error in date or time conversion/

#define BAD_DECIM   411 /* bad number of decimal places specified */

error status code. bad number of decimal places specified/

#define BAD_DIMEN   320 /* illegal number of dimensions in array */

error status code illegal number of dimensions in array/

#define BAD_DOUBLEKEY   406 /* can't interprete keyword value as double */

error status code. can't interprete keyword value as double/

#define BAD_ELEM_NUM   308 /* illegal starting element number in vector */

error status code illegal starting element number in vector/

#define BAD_F2C   402 /* bad float to formatted string conversion */

error status code. bad float to formatted string conversion/

#define BAD_FILEPTR   114 /* invalid fitsfile pointer */

error status code. invalid fitsfile pointer/

#define BAD_FLOATKEY   405 /* can't interprete keyword value as float */

error status code. can't interprete keyword value as float/

#define BAD_GCOUNT   215 /* illegal GCOUNT keyword value */

error status code illegal GCOUNT keyword value/

#define BAD_GROUP_ATTACH   349

error status code

#define BAD_GROUP_DETACH   350

error status code

#define BAD_GROUP_ID   344

error status code

#define BAD_HDU_NUM   301 /* HDU number < 1 or > MAXHDU */

error status code HDU number < 1 or > MAXHDU/

#define BAD_HEADER_FILL   254 /* Header fill area not blank */

error status code Header fill area not blank

#define BAD_HEAP_PTR   264 /* invalid BINTABLE heap address */

error status code invalid BINTABLE heap address/

#define BAD_I2C   401 /* bad int to formatted string conversion */

error status code. bad int to formatted string conversion/

#define BAD_INDEX_KEY   206 /* illegal indexed keyword name */

error status code illegal indexed keyword name/

#define BAD_INTKEY   403 /* can't interprete keyword value as integer */

error status code. can't interprete keyword value as integer/

#define BAD_KEYCHAR   207 /* illegal character in keyword name or card */

error status code illegal character in keyword name or card/

#define BAD_LOGICALKEY   404 /* can't interprete keyword value as logical */

error status code. can't interprete keyword value as logical/

#define BAD_NAXES   213 /* illegal NAXISn keyword value */

error status code illegal NAXISn keyword value/

#define BAD_NAXIS   212 /* illegal NAXIS keyword value */

error status code illegal NAXIS keyword value/

#define BAD_OPTION   347

error status code

#define BAD_ORDER   208 /* required keywords out of order */

error status code required keywords out of order/

#define BAD_PCOUNT   214 /* illegal PCOUNT keyword value */

error status code illegal PCOUNT keyword value/

#define BAD_PIX_NUM   321 /* first pixel number greater than last pixel */

error status code first pixel number greater than last pixel/

#define BAD_ROW_NUM   307 /* illegal starting row number in table */

error status code illegal starting row number in table/

#define BAD_ROW_WIDTH   241 /* sum of column widths not = NAXIS1 */

error status code sum of column widths not = NAXIS1/

#define BAD_SIMPLE   220 /* illegal value of SIMPLE keyword */

error status code illegal value of SIMPLE keyword /

#define BAD_TBCOL   234 /* TBCOLn keyword value < 0 or > rowlength */

error status code TBCOLn keyword value < 0 or > rowlength/

#define BAD_TDIM   263 /* illegal TDIMn keyword value */

error status code illegal TDIMn keyword value/

#define BAD_TFIELDS   216 /* illegal TFIELDS keyword value */

error status code illegal TFIELDS keyword value/

#define BAD_TFORM   261 /* illegal TFORM format code */

error status code illegal TFORM format code

#define BAD_TFORM_DTYPE   262 /* unrecognizable TFORM datatype code */

error status code unrecognizable TFORM datatype code/

#define BAD_URL_PREFIX   121 /* invalid URL prefix on file name */

error status code. invalid URL prefix on file name/

#define BAD_WCS_PROJ   504 /* unsupported type of celestial projection */

error status code. unsupported type of celestial projection/

#define BAD_WCS_VAL   502 /* bad celestial coordinate or pixel value */

error status code. bad celestial coordinate or pixel value/

#define BINARY_TBL   2 /* Binary table HDU */

Binary table HDU

#define BYTE_IMG   8 /* BITPIX code values for FITS image types */

BITPIX code value for FITS image type

#define BZIP2_1   51 /* not publicly supported; only for test purposes */

Compression algorithm code. not publicly supported; only for test purposes

#define CASEINSEN   0 /* do case-insensitive string match */

do case-insensitive string match

#define CASESEN   1 /* do case-sensitive string match */

do case-sensitive string match

#define CFITS_API
#define CFITSIO_MAJOR   3
#define CFITSIO_MINOR   39

Subversion number

#define CFITSIO_SONAME   5

the SONAME is incremented in a new release if the binary shared library (on linux and Mac systems) is not backward compatible with the previous release of CFITSIO

#define CFITSIO_VERSION   3.39

major version number

#define COL_NOT_FOUND   219 /* column with this name not found in table */

error status code column with this name not found in table/

#define COL_NOT_UNIQUE   237 /* more than 1 column name matches template */

error status code more than 1 column name matches template/

#define COL_TOO_WIDE   236 /* column is too wide to fit in table */

error status code column is too wide to fit in table/

#define CREATE_DISK_FILE   -106 /* create disk file, without extended filename syntax */

error status code. create disk file, without extended filename syntax/

#define DATA_COMPRESSION_ERR   413 /* error in imcompress routines */

error status code. error in imcompress routines/

#define DATA_DECOMPRESSION_ERR   414 /* error in imcompress routines */

error status code. error in imcompress routines/

#define DOUBLE_IMG   -64

BITPIX code value for FITS image type

#define DOUBLENULLVALUE   -9.1191291391491E-36

a hopefully obscure number to use as a null value flag could be problems if the FITS files contain data with these values

#define DRIVER_INIT_FAILED   123 /* driver initialization failed */

error status code. driver initialization failed/

#define END_JUNK   253 /* END keyword is not blank */

error status code END keyword is not blank

#define END_OF_FILE   107 /* tried to move past end of file */

error status code. tried to move past end of file/

#define FALSE   0

Integer Value false (in the C sense)

#define FILE_NOT_CLOSED   110 /* could not close the file */

error status code. could not close the file/

#define FILE_NOT_CREATED   105 /* could not create the named file */

error status code. could not create the named file/

#define FILE_NOT_OPENED   104 /* could not open the named file */
#define FLEN_CARD   81 /* length of a FITS header card */

length of a FITS header card

#define FLEN_COMMENT   73 /* max length of a keyword comment string */

max length of a keyword comment string

#define FLEN_ERRMSG   81 /* max length of a FITSIO error message */

max length of a FITSIO error message

#define FLEN_FILENAME   1025 /* max length of a filename */

max length of a filename

#define FLEN_KEYWORD   75 /* max length of a keyword (HIERARCH convention) */

max length of a keyword (HIERARCH convention)

#define FLEN_STATUS   31 /* max length of a FITSIO status text string */

max length of a FITSIO status text string

#define FLEN_VALUE   71 /* max length of a keyword value string */

max length of a keyword value string

#define FLOAT_IMG   -32

BITPIX code value for FITS image type

#define FLOATNULLVALUE   -9.11912E-36F

a hopefully obscure number to use as a null value flag could be problems if the FITS files contain data with these values

#define GROUP_NOT_FOUND   343

error status code

#define GT_ID_ALL   3

Hierarchical grouping parameter

#define GT_ID_ALL_URI   0 /* hierarchical grouping parameters */

Hierarchical grouping parameter

#define GT_ID_POS   2

Hierarchical grouping parameter

#define GT_ID_POS_URI   12

Hierarchical grouping parameter

#define GT_ID_REF   1

Hierarchical grouping parameter

#define GT_ID_REF_URI   11

Hierarchical grouping parameter

#define GZIP_1   21

Compression algorithm code

#define GZIP_2   22

Compression algorithm code

#define HCOMPRESS_1   41

Compression algorithm code

#define HDU_ALREADY_MEMBER   341

error status code

#define HDU_ALREADY_TRACKED   346

error status code

#define HEADER_NOT_EMPTY   201 /* header already contains keywords */

error status code header already contains keywords/

#define IDENTICAL_POINTERS   348

error status code

#define IMAGE_HDU   0 /* Primary Array or IMAGE HDU */

Primary Array or IMAGE HDU

#define InputCol   0 /* flag for input only iterator column */

flag for input only iterator column

#define InputOutputCol   1 /* flag for input and output iterator column */

flag for input and output iterator column

#define INT32BIT   int /* 32-bit integer datatype. Currently this */

32-bit integer datatype. Currently this datatype is an 'int' on all useful platforms however, it is possible that that are cases where 'int' is a 2-byte integer, in which case INT32BIT would need to be defined as 'long'.

#define IOBUFLEN   2880 /* size in bytes of each IO buffer (DONT CHANGE!) */
#define KEY_NO_EXIST   202 /* keyword not found in header */

error status code keyword not found in header/

#define KEY_OUT_BOUNDS   203 /* keyword record number is out of bounds */

error status code keyword record number is out of bounds/

#define LONG_IMG   32

BITPIX code value for FITS image type

#define LONGLONG_IMG   64

BITPIX code value for FITS image type

#define LONGLONG_MAX   9223372036854775807LL /* max 64-bit integer */

Maximum number fitting into a 64bit integer

#define LONGLONG_MIN   (-LONGLONG_MAX -1LL) /* min 64-bit integer */

Minum (large negative) number fitting into a 64bit integer

#define LONGLONG_TYPE
#define MAX_COMPRESS_DIM   6

Compression algorithm code

#define MEMBER_NOT_FOUND   342

error status code

#define MEMORY_ALLOCATION   113 /* Could not allocate memory */

error status code. Could not allocate memory/

#define NEG_AXIS   323 /* illegal axis length < 1 */

error status code illegal axis length < 1/

#define NEG_BYTES   306 /* tried to read or write negative bytes */

error status code tried to read or write negative bytes/

#define NEG_FILE_POS   304 /* tried to move before beginning of file */

error status code tried to move before beginning of file /

#define NEG_ROWS   218 /* negative number of rows in table */

error status code negative number of rows in table/

#define NEG_WIDTH   217 /* negative table row size */

error status code negative table row size/

#define NGP_BAD_ARG   (NGP_ERRBASE + 8) /* bad arguments passed */

error status code in grparser.c. bad arguments passed

#define NGP_EMPTY_CURLINE   (NGP_ERRBASE + 3) /* line read seems to be empty */

error status code in grparser.c line read seems to be empty

#define NGP_EOF   (NGP_ERRBASE + 7) /* end of file encountered */

error status code in grparser.c. end of file encountered

#define NGP_ERR_FOPEN   (NGP_ERRBASE + 6) /* fopen() failed, cannot open file */

error status code in grparser.c. fopen() failed, cannot open file

#define NGP_ERRBASE   (360) /* base chosen so not to interfere with CFITSIO */

error status code in grparser.c. base chosen so not to interfere with CFITSIO

#define NGP_INC_NESTING   (NGP_ERRBASE + 5) /* too deep include file nesting (inf. loop ?) */

error status code in grparser.c. too deep include file nesting (inf. loop ?) /*!

#define NGP_NO_MEMORY   (NGP_ERRBASE + 0) /* malloc failed */

error status code. in grparser.c malloc failed

#define NGP_NUL_PTR   (NGP_ERRBASE + 2) /* null pointer passed as argument */

error status code in grparser.c null pointer passed as argument

#define NGP_OK   (0)

error status code in grparser.c

#define NGP_READ_ERR   (NGP_ERRBASE + 1) /* read error from file */

error status codein grparser.c. read error from file

#define NGP_TOKEN_NOT_EXPECT   (NGP_ERRBASE + 9) /* token not expected here */

error status code in grparser.c. token not expected here

#define NGP_UNREAD_QUEUE_FULL   (NGP_ERRBASE + 4) /* cannot unread more then 1 line (or single line twice) */

error status code in grparser.c. cannot unread more then 1 line (or single line twice)

#define NIOBUF   40 /* number of IO buffers to create (default = 40) */

number of IO buffers to create (default = 40) !! Significantly increasing NIOBUF may degrade performance !!

#define NO_BITPIX   222 /* Second keyword not BITPIX */

error status code Second keyword not BITPIX/

#define NO_CLOSE_ERROR   999 /* special value used internally to switch off */

error status code. special value used internally to switch off the error message from ffclos and ffchdu

#define NO_COMPRESSED_TILE   415 /* compressed tile doesn't exist */

error status code. compressed tile doesn't exist/

#define NO_DITHER   -1

Compression algorithm code

#define NO_END   210 /* couldn't find END keyword */

error status code couldn't find END keyword/

#define NO_GCOUNT   229 /* couldn't find GCOUNT keyword */

error status code couldn't find GCOUNT keyword/

#define NO_MATCHING_DRIVER   124 /* matching driver is not registered */

error status code. matching driver is not registered/

#define NO_NAXES   224 /* Couldn't find all the NAXISn keywords */

error status code Couldn't find all the NAXISn keywords/

#define NO_NAXIS   223 /* Third keyword not NAXIS */

error status code Third keyword not NAXIS/

#define NO_NULL   314 /* null value has not been defined */

error status code null value has not been defined/

#define NO_PCOUNT   228 /* couldn't find PCOUNT keyword */

error status code couldn't find PCOUNT keyword/

#define NO_QUOTE   205 /* string is missing the closing quote */

error status code string is missing the closing quote/

#define NO_SIMPLE   221 /* Primary array doesn't start with SIMPLE */

error status code Primary array doesn't start with SIMPLE/

#define NO_TBCOL   231 /* couldn't find TBCOLn keyword */

error status code couldn't find TBCOLn keyword/

#define NO_TFIELDS   230 /* couldn't find TFIELDS keyword */

error status code couldn't find TFIELDS keyword/

#define NO_TFORM   232 /* couldn't find TFORMn keyword */

error status code couldn't find TFORMn keyword/

#define NO_WCS_KEY   505 /* celestial coordinate keywords not found */

error status code. celestial coordinate keywords not found/

#define NO_XTENSION   225 /* HDU doesn't start with XTENSION keyword */

error status code HDU doesn't start with XTENSION keyword/

#define NOCOMPRESS   -1

Compression algorithm code

#define NOT_ASCII_COL   309 /* this is not an ASCII string column */

error status code this is not an ASCII string column/

#define NOT_ATABLE   226 /* the CHDU is not an ASCII table extension */

error status code the CHDU is not an ASCII table extension/

#define NOT_BTABLE   227 /* the CHDU is not a binary table extension */

error status code the CHDU is not a binary table extension/

#define NOT_GROUP_TABLE   340

error status code

#define NOT_IMAGE   233 /* the CHDU is not an IMAGE extension */

error status code the CHDU is not an IMAGE extension/

#define NOT_LOGICAL_COL   310 /* this is not a logical datatype column */

error status code this is not a logical datatype column/

#define NOT_POS_INT   209 /* keyword value is not a positive integer */

error status code keyword value is not a positive integer/

#define NOT_TABLE   235 /* the CHDU is not a table */

error status code the CHDU is not a table/

#define NOT_VARI_LEN   317 /* this is not a variable length column */

error status code this is not a variable length column/

#define NULL_INPUT_PTR   115 /* NULL input pointer to routine */

error status code. NULL input pointer to routine/

#define NUM_OVERFLOW   412 /* overflow during datatype conversion */

error status code. overflow during datatype conversion/

#define OFF_T   long

Define the datatype for variables which store file offset values. The newer 'off_t' datatype should be used for this purpose, but some older compilers do not recognize this type, in which case we use 'long' instead. Note that _OFF_T is defined (or not) in stdio.h depending on whether _LARGEFILE_SOURCE is defined in sys/feature_tests.h (at least on Solaris platforms using cc)

#define OPEN_DISK_FILE   -105 /* open disk file, without extended filename syntax */

error status code. open disk file, without extended filename syntax/

#define OPT_CMT_MBR   1

Hierarchical grouping parameter

#define OPT_CMT_MBR_DEL   11

Hierarchical grouping parameter

#define OPT_GCP_ALL   2

Hierarchical grouping parameter

#define OPT_GCP_GPT   0

Hierarchical grouping parameter

#define OPT_GCP_MBR   1

Hierarchical grouping parameter

#define OPT_MCP_ADD   0

Hierarchical grouping parameter

#define OPT_MCP_MOV   3

Hierarchical grouping parameter

#define OPT_MCP_NADD   1

Hierarchical grouping parameter

#define OPT_MCP_REPL   2

Hierarchical grouping parameter

#define OPT_MRG_COPY   0

Hierarchical grouping parameter

#define OPT_MRG_MOV   1

Hierarchical grouping parameter

#define OPT_RM_ALL   3

Hierarchical grouping parameter

#define OPT_RM_ENTRY   1

Hierarchical grouping parameter

#define OPT_RM_GPT   0

Hierarchical grouping parameter

#define OPT_RM_MBR   2

Hierarchical grouping parameter

#define OutputCol   2 /* flag for output only iterator column */

flag for output only iterator column

#define OVERFLOW_ERR   -11 /* overflow during datatype conversion */

error status code. overflow during datatype conversion/

#define PARSE_BAD_COL   435 /* bad data encounter while parsing column */

error status code. bad data encounter while parsing column/

#define PARSE_BAD_OUTPUT   436 /* Output file not of proper type */

error status code. Output file not of proper type /

#define PARSE_BAD_TYPE   432 /* expression did not evaluate to desired type */

error status code. expression did not evaluate to desired type/

#define PARSE_LRG_VECTOR   433 /* vector result too large to return in array */

error status code. vector result too large to return in array/

#define PARSE_NO_OUTPUT   434 /* data parser failed not sent an out column */

error status code. data parser failed not sent an out column/

#define PARSE_SYNTAX_ERR   431 /* syntax error in parser expression */

error status code. syntax error in parser expression/

#define PLIO_1   31

Compression algorithm code

#define PREPEND_PRIMARY   -9 /* used in ffiimg to insert new primary array */

error status code. used in ffiimg to insert new primary array/

#define RANGE_PARSE_ERROR   126 /* failed to parse input file URL */

error status code. failed to parse input file URL/

#define READ_ERROR   108 /* error reading from FITS file */

error status code. error reading from FITS file/

#define READONLY   0 /* options when opening a file */

Option when opening a file

#define READONLY_FILE   112 /* Cannot write to readonly file */

error status code. Cannot write to readonly file/

#define READWRITE   1

Option when opening a file

#define RICE_1   11

Compression algorithm code

#define SAME_FILE   101 /* input and output files are the same */

error status code. input and output files are the same/

#define SBYTE_IMG   10

BITPIX code value for FITS image type not a true FITS datatypes; these codes are only used internally within cfitsio to make it easier for users to deal with unsigned integers.

#define SEEK_ERROR   116 /* error seeking position in file */

error status code. error seeking position in file/

#define SHARED_AGAIN   (SHARED_ERRBASE + 7)

error status code

#define SHARED_BADARG   (SHARED_ERRBASE + 1)

error status code

#define SHARED_ERRBASE   (150)

error status code

#define SHARED_IPCERR   (SHARED_ERRBASE + 5)

error status code

#define SHARED_NOFILE   (SHARED_ERRBASE + 8)

error status code

#define SHARED_NOMEM   (SHARED_ERRBASE + 6)

error status code

#define SHARED_NORESIZE   (SHARED_ERRBASE + 9)

error status code

#define SHARED_NOTINIT   (SHARED_ERRBASE + 4)

error status code

#define SHARED_NULPTR   (SHARED_ERRBASE + 2)

error status code

#define SHARED_TABFULL   (SHARED_ERRBASE + 3)

error status code

#define SHORT_IMG   16

BITPIX code value for FITS image type

#define SKIP_IMAGE   -103 /* move to 1st table when opening file */

error status code. move to 1st table when opening file/

#define SKIP_NULL_PRIMARY   -102 /* skip null primary array when opening file */

error status code. skip null primary array when opening file/

#define SKIP_TABLE   -104 /* move to 1st image when opening file */

error status code. move to 1st image when opening file/

#define SUBTRACTIVE_DITHER_1   1

Compression algorithm code

#define SUBTRACTIVE_DITHER_2   2

Compression algorithm code

#define TBIT   1 /* codes for FITS table data types */

FITS table data type

#define TBYTE   11

FITS table data type

#define TCOMPLEX   83

FITS table data type

#define TDBLCOMPLEX   163

FITS table data type

#define TDOUBLE   82

FITS table data type

#define TFLOAT   42

FITS table data type

#define TINT   31

FITS table data type

#define TINT32BIT   41 /* used when returning datatype of a column */

used when returning datatype of a column FITS table data type

#define TLOGICAL   14

FITS table data type

#define TLONG   41

FITS table data type

#define TLONGLONG   81

FITS table data type

#define TOO_MANY_DRIVERS   122 /* tried to register too many IO drivers */

error status code. tried to register too many IO drivers/

#define TOO_MANY_FILES   103 /* tried to open too many FITS files */

error status code. tried to open too many FITS files/

#define TOO_MANY_HDUS_TRACKED   345

error status code

#define TRUE   1

Integer Value true (in the C sense)

#define TSBYTE   12

FITS table data type

#define TSHORT   21

FITS table data type

#define TSTRING   16

FITS table data type

#define TUINT   30

FITS table data type

#define TULONG   40

FITS table data type

#define TUSHORT   20

FITS table data type

#define TYP_CKSUM_KEY   100

FITS table data type

#define TYP_CMPRS_KEY   20

FITS table data type

#define TYP_COMM_KEY   130

FITS table data type

#define TYP_CONT_KEY   140

FITS table data type

#define TYP_DIM_KEY   50

FITS table data type

#define TYP_DISP_KEY   80

FITS table data type

#define TYP_HDUID_KEY   90

FITS table data type

#define TYP_NULL_KEY   40

FITS table data type

#define TYP_RANG_KEY   60

FITS table data type

#define TYP_REFSYS_KEY   120

FITS table data type

#define TYP_SCAL_KEY   30

FITS table data type

#define TYP_STRUC_KEY   10

FITS table data type

#define TYP_UNIT_KEY   70

FITS table data type

#define TYP_USER_KEY   150

FITS table data type

#define TYP_WCS_KEY   110

FITS table data type

#define ULONG_IMG   40

BITPIX code value for FITS image type

#define UNKNOWN_EXT   251 /* unrecognizable FITS extension type */

error status code unrecognizable FITS extension type

#define UNKNOWN_REC   252 /* unrecognizable FITS record */

error status code unrecognizable FITS record

#define URL_PARSE_ERROR   125 /* failed to parse input file URL */

error status code. failed to parse input file URL/

#define USE_LL_SUFFIX   1

this block determines if the the string function name is strtol or strtoll, and whether to use ld or lld in printf statements

#define USE_MEM_BUFF   -101 /* use memory buffer when opening file */

error status code. use memory buffer when opening file/

#define USHORT_IMG   20

BITPIX code value for FITS image type Not a true FITS datatypes; these codes are only used internally within cfitsio to make it easier for users to deal with unsigned integers.

#define VALIDSTRUC   555 /* magic value used to identify if structure is valid */

magic value used to identify if structure is valid

/*!

#define VALUE_UNDEFINED   204 /* keyword value field is blank */

error status code keyword value field is blank/

#define WCS_ERROR   503 /* error in celestial coordinate calculation */

error status code. error in celestial coordinate calculation/

#define WCSLIB_GETWCSTAB
#define WRITE_ERROR   106 /* error writing to FITS file */

error status code. error writing to FITS file/

#define ZERO_SCALE   322 /* illegal BSCALE or TSCALn keyword = 0 */

error status code illegal BSCALE or TSCALn keyword = 0/

Typedef Documentation

typedef long long LONGLONG

Function Documentation

int CFITS2Unit ( fitsfile fptr)

Here is the call graph for this function:

CFITS_API fitsfile* CUnit2FITS ( int  unit)

Here is the call graph for this function:

int CFITS_API ffasfm ( char *  tform,
int *  dtcode,
long *  twidth,
int *  decimals,
int *  status 
)

parse the ASCII table TFORM column format to determine the data type, the field width, and number of decimal places (if relevant)

Parameters
[in]tformformat code from the TFORMn keyword
[out]dtcodenumerical datatype code
[out]twidthwidth of the field, in chars
[out]decimalsnumber of decimal places (F, E, D format)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffbinr ( char **  binspec,
char *  colname,
double *  minin,
double *  maxin,
double *  binsizein,
char *  minname,
char *  maxname,
char *  binname,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffbins ( char *  binspec,
int *  imagetype,
int *  haxis,
char  colname[4][FLEN_VALUE],
double *  minin,
double *  maxin,
double *  binsizein,
char  minname[4][FLEN_VALUE],
char  maxname[4][FLEN_VALUE],
char  binname[4][FLEN_VALUE],
double *  weight,
char *  wtname,
int *  recip,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffbnfm ( char *  tform,
int *  dtcode,
long *  trepeat,
long *  twidth,
int *  status 
)

parse the binary table TFORM column format to determine the data type, repeat count, and the field width (if it is an ASCII (A) field)

Parameters
[in]tformformat code from the TFORMn keyword
[out]dtcodenumerical datatype code
[out]trepeatrepeat count of the field
[out]twidthwidth of the field, in chars
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffbnfmll ( char *  tform,
int *  dtcode,
LONGLONG trepeat,
long *  twidth,
int *  status 
)

parse the binary table TFORM column format to determine the data type, repeat count, and the field width (if it is an ASCII (A) field)

Parameters
[in]tformformat code from the TFORMn keyword
[out]dtcodenumerical datatype code
[out]trepeatrepeat count of the field
[out]twidthwidth of the field, in chars
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcalc ( fitsfile infptr,
char *  expr,
fitsfile outfptr,
char *  parName,
char *  parInfo,
int *  status 
)
int CFITS_API ffcalc_rng ( fitsfile infptr,
char *  expr,
fitsfile outfptr,
char *  parName,
char *  parInfo,
int  nRngs,
long *  start,
long *  end,
int *  status 
)
int CFITS_API ffcdfl ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffchfl ( fitsfile fptr,
int *  status 
)

Check Header Fill values

  Check that the header unit is correctly filled with blanks from
  the END card to the end of the current FITS 2880-byte block

Translated ftchfl into C by Peter Wilson, Oct. 1997
Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffclos ( fitsfile fptr,
int *  status 
)

close the FITS file by completing the current HDU, flushing it to disk, then calling the system dependent routine to physically close the FITS file

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcmph ( fitsfile fptr,
int *  status 
)

compress the binary table heap by reordering the contents heap and recovering any unused space

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffcmps ( char *  templt,
char *  colname,
int  casesen,
int *  match,
int *  exact 
)

compare the template to the string and test if they match. The strings are limited to 68 characters or less (the max. length of a FITS string keyword value. This routine reports whether the two strings match and whether the match is exact or involves wildcards.

This algorithm is very similar to the way unix filename wildcards work except that this first treats a wild card as a literal character when looking for a match. If there is no literal match, then it interpretes it as a wild card. So the template 'AB*DE' is considered to be an exact rather than a wild card match to the string 'AB*DE'. The '#' wild card in the template string will match any consecutive string of decimal digits in the colname.

Parameters
[in]templtinput template (may have wildcards)
[in]colnamefull column name up to 68 + 1 chars long
[in]casesencase sensitive string comparison? 1=yes
[out]matchdo template and colname match? 1=yes
[out]exact)do strings exactly match, or wildcards

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffcmrk ( void  )

erase newest messages in the error stack, stopping if a marker is found. The marker is also erased in this case.

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffcmsg ( void  )

erase all messages in the error stack

Here is the call graph for this function:

Here is the caller graph for this function:

int ffcnvthdr2str ( fitsfile fptr,
int  exclude_comm,
char **  exclist,
int  nexc,
char **  header,
int *  nkeys,
int *  status 
)

Same as ffhdr2str, except that if the input HDU is a tile compressed image (stored in a binary table) then it will first convert that header back to that of a normal uncompressed FITS image before concatenating the header keyword records.

Parameters
[in]fptrFITS file pointer
[in]exclude_commif TRUE, exclude commentary keywords
[in]exclistlist of excluded keyword names
[in]nexcnumber of names in exclist
[out]headerreturned header string
[out]nkeysreturned number of 80-char keywords
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffcopy ( fitsfile infptr,
fitsfile outfptr,
int  morekeys,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcpcl ( fitsfile infptr,
fitsfile outfptr,
int  incol,
int  outcol,
int  create_col,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcpdt ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcpfl ( fitsfile infptr,
fitsfile outfptr,
int  prev,
int  cur,
int  follow,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffcphd ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcpky ( fitsfile infptr,
fitsfile outfptr,
int  incol,
int  outcol,
char *  rootname,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcprw ( fitsfile infptr,
fitsfile outfptr,
LONGLONG  firstrow,
LONGLONG  nrows,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffcrhd ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffcrim ( fitsfile fptr,
int  bitpix,
int  naxis,
long *  naxes,
int *  status 
)

create an IMAGE extension following the current HDU. If the current HDU is empty (contains no header keywords), then simply write the required image (or primary array) keywords to the current HDU.

Parameters
[in]fptrFITS file pointer
[in]bitpixbits per pixel
[in]naxisnumber of axes in the array
[in]naxessize of each axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffcrimll ( fitsfile fptr,
int  bitpix,
int  naxis,
LONGLONG naxes,
int *  status 
)

create an IMAGE extension following the current HDU. If the current HDU is empty (contains no header keywords), then simply write the required image (or primary array) keywords to the current HDU.

Parameters
[in]fptrFITS file pointer
[in]bitpixbits per pixel
[in]naxisnumber of axes in the array
[in]naxessize of each axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcrow ( fitsfile fptr,
int  datatype,
char *  expr,
long  firstrow,
long  nelements,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)
int ffcrtb ( fitsfile fptr,
int  tbltype,
LONGLONG  naxis2,
int  tfields,
char **  ttype,
char **  tform,
char **  tunit,
const char *  extnm,
int *  status 
)

Create a table extension in a FITS file.

Parameters
[in]fptrFITS file pointer
[in]tbltypetype of table to create
[in]naxis2number of rows in the table
[in]tfieldsnumber of columns in the table
[in]ttypename of each column
[in]tformvalue of TFORMn keyword for each column
[in]tunitvalue of TUNITn keyword for each column
[in]extnmvalue of EXTNAME keyword, if any
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffcsum ( fitsfile fptr,
long  nrec,
unsigned long *  sum,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdcol ( fitsfile fptr,
int  numcol,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdelt ( fitsfile fptr,
int *  status 
)

close and DELETE the FITS file.

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdhdu ( fitsfile fptr,
int *  hdutype,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdkey ( fitsfile fptr,
const char *  keyname,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdkinit ( fitsfile **  fptr,
const char *  name,
int *  status 
)

Create and initialize a new FITS file on disk. This routine differs from ffinit in that the input 'name' is literally taken as the name of the disk file to be created, and it does not support CFITSIO's extended filename syntax.

Parameters
[out]fptrFITS file pointer
[in]namename of file to create
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdkopn ( fitsfile **  fptr,
const char *  name,
int  mode,
int *  status 
)

Open an existing FITS file on magnetic disk with either readonly or read/write access. The routine does not support CFITSIO's extended filename syntax and simply uses the entire input 'name' string as the name of the file.

Parameters
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode0 = open readonly; 1 = read/write
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdopn ( fitsfile **  fptr,
const char *  name,
int  mode,
int *  status 
)

Open an existing FITS file with either readonly or read/write access. and move to the first HDU that contains 'interesting' data, if the primary array contains a null image (i.e., NAXIS = 0).

Parameters
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode0 = open readonly; 1 = read/write
[in]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdrec ( fitsfile fptr,
int  keypos,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdrow ( fitsfile fptr,
LONGLONG  firstrow,
LONGLONG  nrows,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdrrg ( fitsfile fptr,
char *  ranges,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffdrws ( fitsfile fptr,
long *  rownum,
long  nrows,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdrwsll ( fitsfile fptr,
LONGLONG rownum,
LONGLONG  nrows,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffdstr ( fitsfile fptr,
const char *  string,
int *  status 
)

Here is the call graph for this function:

unsigned long CFITS_API ffdsum ( char *  ascii,
int  complm,
unsigned long *  sum 
)

Here is the caller graph for this function:

int ffdt2s ( int  year,
int  month,
int  day,
char *  datestr,
int *  status 
)

Construct a date character string

Parameters
[in]yearyear (0 - 9999)
[in]monthmonth (1 - 12)
[in]dayday (1 - 31)
[in,out]datestrdate string: "YYYY-MM-DD"
[in,out]statuserror status

Here is the call graph for this function:

int ffdtdm ( fitsfile fptr,
char *  tdimstr,
int  colnum,
int  maxdim,
int *  naxis,
long  naxes[],
int *  status 
)

decode the TDIMnnn keyword to get the dimensionality of a column. Check that the value is legal and consistent with the TFORM value. If colnum = 0, then the validity checking is disabled.

Parameters
[in]fptrFITS file pointer
[in]tdimstrTDIMn keyword value string. e.g. (10,10)
[in]colnumnumber of the column
[in]maxdimmaximum no. of dimensions to read;
[out]naxisnumber of axes in the data array
[out]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffdtdmll ( fitsfile fptr,
char *  tdimstr,
int  colnum,
int  maxdim,
int *  naxis,
LONGLONG  naxes[],
int *  status 
)

decode the TDIMnnn keyword to get the dimensionality of a column. Check that the value is legal and consistent with the TFORM value.

Parameters
[in]fptrFITS file pointer
[in]tdimstrTDIMn keyword value string. e.g. (10,10)
[in]colnumnumber of the column
[in]maxdimmaximum no. of dimensions to read;
[out]naxisnumber of axes in the data array
[out]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffdtyp ( const char *  cval,
char *  dtype,
int *  status 
)

determine implicit datatype of input string. This assumes that the string conforms to the FITS standard for keyword values, so may not detect all invalid formats.

Parameters
[in]cvalformatted string representation of the value
[out]dtypedatatype code: C, L, F, I, or X
[in,out]statuserror status

Here is the caller graph for this function:

int CFITS_API ffeopn ( fitsfile **  fptr,
const char *  name,
int  mode,
char *  extlist,
int *  hdutype,
int *  status 
)

Open an existing FITS file with either readonly or read/write access. and if the primary array contains a null image (i.e., NAXIS = 0) then attempt to move to the first extension named in the extlist of extension names. If none are found, then simply move to the 2nd extension.

Parameters
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode0 = open readonly; 1 = read/write
[in]extlistlist of 'good' extensions to move to
[out]hdutypetype of extension that is moved to
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffeqty ( fitsfile fptr,
int  colnum,
int *  typecode,
long *  repeat,
long *  width,
int *  status 
)

Get the 'equivalent' table column type.

This routine is similar to the ffgtcl routine (which returns the physical datatype of the column, as stored in the FITS file) except that if the TSCALn and TZEROn keywords are defined for the column, then it returns the 'equivalent' datatype. Thus, if the column is defined as '1I' (short integer) this routine may return the type as 'TUSHORT' or as 'TFLOAT' depending on the TSCALn and TZEROn values.

Returns the datatype code of the column, as well as the vector repeat count and (if it is an ASCII character column) the width of the field or a unit string within the field. This supports the TFORMn = 'rAw' syntax for specifying arrays of substrings, so if TFORMn = '60A12' then repeat = 60 and width = 12.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[out]typecodedatatype code (21 = short, etc)
[out]repeatrepeat count of field
[out]widthif ASCII, width of field or unit string
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffeqtyll ( fitsfile fptr,
int  colnum,
int *  typecode,
LONGLONG repeat,
LONGLONG width,
int *  status 
)

Get the 'equivalent' table column type.

This routine is similar to the ffgtcl routine (which returns the physical datatype of the column, as stored in the FITS file) except that if the TSCALn and TZEROn keywords are defined for the column, then it returns the 'equivalent' datatype. Thus, if the column is defined as '1I' (short integer) this routine may return the type as 'TUSHORT' or as 'TFLOAT' depending on the TSCALn and TZEROn values.

Returns the datatype code of the column, as well as the vector repeat count and (if it is an ASCII character column) the width of the field or a unit string within the field. This supports the TFORMn = 'rAw' syntax for specifying arrays of substrings, so if TFORMn = '60A12' then repeat = 60 and width = 12.

Parameters
[in]fptrfile pointer
[in]colnumcolumn number
[out]typecodedatatype code (21 = short, etc)
[out]repeatrepeat count of field
[out]widthif ASCII, width of field or unit string
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffesum ( unsigned long  sum,
int  complm,
char *  ascii 
)

Here is the caller graph for this function:

int CFITS_API ffexist ( const char *  infile,
int *  exists,
int *  status 
)

test if the input file specifier is an existing file on disk If the specified file can't be found, it then searches for a compressed version of the file.

Parameters
[in]infileinput filename or URL
[out]exists2 = a compressed version of file exists 1 = yes, disk file exists 0 = no, disk file could not be found -1 = infile is not a disk file (could be a http, ftp, gsiftp, smem, or stdin file)
[in,out]statusO status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffextn ( char *  url,
int *  extension_num,
int *  status 
)

Parse the input url string and return the number of the extension that CFITSIO would automatically move to if CFITSIO were to open this input URL. The extension numbers are one's based, so 1 = the primary array, 2 = the first extension, etc.

The extension number that gets returned is determined by the following algorithm:

  1. If the input URL includes a binning specification (e.g. 'myfile.fits[3][bin X,Y]') then the returned extension number will always = 1, since CFITSIO would create a temporary primary image on the fly in this case. The same is true if an image within a single cell of a binary table is opened.
  2. Else if the input URL specifies an extension number (e.g., 'myfile.fits[3]' or 'myfile.fits+3') then the specified extension number (+ 1) is returned.
  3. Else if the extension name is specified in brackets (e.g., this 'myfile.fits[EVENTS]') then the file will be opened and searched for the extension number. If the input URL is '-' (reading from the stdin file stream) this is not possible and an error will be returned.
  4. Else if the URL does not specify an extension (e.g. 'myfile.fits') then a special extension number = -99 will be returned to signal that no extension was specified. This feature is mainly for compatibility with existing FTOOLS software. CFITSIO would open the primary array by default (extension_num = 1) in this case.
    Parameters
    [in]urlinput filename/URL
    [out]extension_numreturned extension number

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffexts ( char *  extspec,
int *  extnum,
char *  extname,
int *  extvers,
int *  hdutype,
char *  imagecolname,
char *  rowexpress,
int *  status 
)

Parse the input extension specification string, returning either the extension number or the values of the EXTNAME, EXTVERS, and XTENSION keywords in desired extension. Also return the name of the column containing an image, and an expression to be used to determine which row to use, if present.

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffffrw ( fitsfile fptr,
char *  expr,
long *  rownum,
int *  status 
)
int CFITS_API fffkls ( char *  value,
int *  status 
)
int CFITS_API ffflmd ( fitsfile fptr,
int *  filemode,
int *  status 
)

return the access mode of the FITS file

Parameters
[in]fptrFITS file pointer
[out]filemodeopen mode of the file
[in,out]statuserror status

Here is the caller graph for this function:

int CFITS_API ffflnm ( fitsfile fptr,
char *  filename,
int *  status 
)

return the name of the FITS file

Parameters
[in]fptrFITS file pointer
[out]filenamename of the file
[in,out]statuserror status

Here is the caller graph for this function:

int CFITS_API ffflsh ( fitsfile fptr,
int  clearbuf,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffflus ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fffree ( void *  value,
int *  status 
)

Free the memory that was previously allocated by CFITSIO, such as by ffgkls or fits_hdr2str

Parameters
[in]valuepointer to keyword value
[in,out]statuserror status
int CFITS_API fffrow ( fitsfile infptr,
char *  expr,
long  firstrow,
long  nrows,
long *  n_good_rows,
char *  row_status,
int *  status 
)
int CFITS_API fffrwc ( fitsfile fptr,
char *  expr,
char *  timeCol,
char *  parCol,
char *  valCol,
long  ntimes,
double *  times,
char *  time_status,
int *  status 
)
int CFITS_API ffg2db ( fitsfile fptr,
long  group,
unsigned char  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2dd ( fitsfile fptr,
long  group,
double  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
double *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2de ( fitsfile fptr,
long  group,
float  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
float *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2di ( fitsfile fptr,
long  group,
short  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg2dj ( fitsfile fptr,
long  group,
long  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2djj ( fitsfile fptr,
long  group,
LONGLONG  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2dk ( fitsfile fptr,
long  group,
int  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2dsb ( fitsfile fptr,
long  group,
signed char  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
signed char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2dui ( fitsfile fptr,
long  group,
unsigned short  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2duj ( fitsfile fptr,
long  group,
unsigned long  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg2duk ( fitsfile fptr,
long  group,
unsigned int  nulval,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffg3db ( fitsfile fptr,
long  group,
unsigned char  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3dd ( fitsfile fptr,
long  group,
double  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
double *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3de ( fitsfile fptr,
long  group,
float  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
float *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3di ( fitsfile fptr,
long  group,
short  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3dj ( fitsfile fptr,
long  group,
long  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3djj ( fitsfile fptr,
long  group,
LONGLONG  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
LONGLONG array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3dk ( fitsfile fptr,
long  group,
int  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3dsb ( fitsfile fptr,
long  group,
signed char  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
signed char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3dui ( fitsfile fptr,
long  group,
unsigned short  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3duj ( fitsfile fptr,
long  group,
unsigned long  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffg3duk ( fitsfile fptr,
long  group,
unsigned int  nulval,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgabc ( int  tfields,
char **  tform,
int  space,
long *  rowlen,
long *  tbcol,
int *  status 
)

calculate the starting byte offset of each column of an ASCII table and the total length of a row, in bytes. The input space value determines how many blank spaces to leave between each column (1 is recommended).

Parameters
[in]tfieldsnumber of columns in the table
[in]tformvalue of TFORMn keyword for each column
[in]spacenumber of spaces to leave between cols
[out]rowlentotal width of a table row
[out]tbcolstarting byte in row for each column
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgacl ( fitsfile fptr,
int  colnum,
char *  ttype,
long *  tbcol,
char *  tunit,
char *  tform,
double *  tscal,
double *  tzero,
char *  tnull,
char *  tdisp,
int *  status 
)

get ASCII column keyword values

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[out]ttypeTTYPEn keyword value
[out]tbcolTBCOLn keyword value
[out]tunitTUNITn keyword value
[out]tformTFORMn keyword value
[out]tscalTSCALn keyword value
[out]tzeroTZEROn keyword value
[out]tnullTNULLn keyword value
[out]tdispTDISPn keyword value
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgbcl ( fitsfile fptr,
int  colnum,
char *  ttype,
char *  tunit,
char *  dtype,
long *  repeat,
double *  tscal,
double *  tzero,
long *  tnull,
char *  tdisp,
int *  status 
)

get BINTABLE column keyword values

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[out]ttypeTTYPEn keyword value
[out]tunitTUNITn keyword value
[out]dtypedatatype char: I, J, E, D, etc.
[out]repeatvector column repeat count
[out]tscalTSCALn keyword value
[out]tzeroTZEROn keyword value
[out]tnullTNULLn keyword value integer cols only
[out]tdispTDISPn keyword value
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgbclll ( fitsfile fptr,
int  colnum,
char *  ttype,
char *  tunit,
char *  dtype,
LONGLONG repeat,
double *  tscal,
double *  tzero,
LONGLONG tnull,
char *  tdisp,
int *  status 
)

get BINTABLE column keyword values

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[out]ttypeTTYPEn keyword value
[out]tunitTUNITn keyword value
[out]dtypedatatype char: I, J, E, D, etc.
[out]repeatvector column repeat count
[out]tscalTSCALn keyword value
[out]tzeroTZEROn keyword value
[out]tnullTNULLn keyword value integer cols only
[out]tdispTDISPn keyword value
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcdw ( fitsfile fptr,
int  colnum,
int *  width,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcf ( fitsfile fptr,
int  datatype,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  array,
char *  nullarray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcfb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfc ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfd ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfe ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfi ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
short *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
long *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcfjj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfl ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfm ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfs ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char **  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcfsb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcfui ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcfuj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcfuk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcks ( fitsfile fptr,
unsigned long *  datasum,
unsigned long *  hdusum,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcl ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcnn ( fitsfile fptr,
int  casesen,
char *  templt,
char *  colname,
int *  colnum,
int *  status 
)

Return the full column name and column number of the next column whose TTYPEn keyword value matches the input template string. The template may contain the * and ? wildcards. Status = 237 is returned if the match is not unique. If so, one may call this routine again with input status=237 to get the next match. A status value of 219 is returned when there are no more matching columns.

Parameters
[in]fptrFITS file pointer
[in]casesencase sensitive string comparison? 0=no
[in]templtinput name of column (w/wildcards)
[out]colnamefull column name up to 68 + 1 chars long
[out]colnumnumber of the named column; 1=first col
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcno ( fitsfile fptr,
int  casesen,
char *  templt,
int *  colnum,
int *  status 
)

Determine the column number corresponding to an input column name. The first column of the table = column 1; This supports the * and ? wild cards in the input template.

Parameters
[in]fptrFITS file pionter
[in]casesencase sensitive string comparison? 0=no
[in]templtinput name of column (w/wildcards)
[out]colnumnumber of the named column; 1=first col
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgcrd ( fitsfile fptr,
const char *  name,
char *  card,
int *  status 
)

Read (get) the named keyword, returning the entire keyword card up to 80 characters long. The returned card value is null terminated with any trailing blank characters removed.

If the input name contains wild cards ('?' matches any single char and '*' matches any sequence of chars, # matches any string of decimal digits) then the search ends once the end of header is reached and does not automatically resume from the top of the header.

Parameters
[in]fptrFITS file pointer
[in]namename of keyword to read
[out]cardkeyword card
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcv ( fitsfile fptr,
int  datatype,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char  nulval,
unsigned char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvc ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float  nulval,
float *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvd ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double  nulval,
double *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcve ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float  nulval,
float *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvi ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
short  nulval,
short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
long  nulval,
long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvjj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG  nulval,
LONGLONG array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcvk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
int  nulval,
int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvl ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char  nulval,
char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvm ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double  nulval,
double *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvs ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char *  nulval,
char **  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvsb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char  nulval,
signed char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcvui ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short  nulval,
unsigned short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcvuj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long  nulval,
unsigned long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgcvuk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int  nulval,
unsigned int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcx ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstbit,
LONGLONG  nbits,
char *  larray,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcxui ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  nrows,
long  firstbit,
int  nbits,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgcxuk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  nrows,
long  firstbit,
int  nbits,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgdes ( fitsfile fptr,
int  colnum,
LONGLONG  rownum,
long *  length,
long *  heapaddr,
int *  status 
)

get (read) the variable length vector descriptor from the table.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number (1 = 1st column of table)
[in]rownumrow number (1 = 1st row of table)
[in]lengthnumber of elements in the row
[in]heapaddrheap pointer to the data
[in]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgdesll ( fitsfile fptr,
int  colnum,
LONGLONG  rownum,
LONGLONG length,
LONGLONG heapaddr,
int *  status 
)

get (read) the variable length vector descriptor from the binary table. This is similar to ffgdes, except it supports the full 8-byte range of the length and offset values in 'Q' columns, as well as 'P' columns.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number (1 = 1st column of table)
[in]rownumrow number (1 = 1st row of table)
[out]lengthnumber of elements in the row
[out]heapaddrheap pointer to the data
[in,out]*statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgdess ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  nrows,
long *  length,
long *  heapaddr,
int *  status 
)

get (read) a range of variable length vector descriptors from the table.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number (1 = 1st column of table)
[in]firstrowfirst row (1 = 1st row of table)
[in]nrowsnumber or rows to read
[out]lengthnumber of elements in the row
[out]heapaddrheap pointer to the data
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffgdessll ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  nrows,
LONGLONG length,
LONGLONG heapaddr,
int *  status 
)

get (read) a range of variable length vector descriptors from the table.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number (1 = 1st column of table)
[in]firstrowfirst row (1 = 1st row of table)
[in]nrowsnumber or rows to read
[out]lengthnumber of elements in the row
[out]heapaddrheap pointer to the data
[in,out]statuserror status

Here is the call graph for this function:

void CFITS_API ffgerr ( int  status,
char *  errtext 
)

Return a short descriptive error message that corresponds to the input error status value. The message may be up to 30 characters long, plus the terminating null character.

Parameters
[in]statuserror status value
[out]errtexterror message (max 30 char long + null)

Here is the caller graph for this function:

int CFITS_API ffgextn ( fitsfile fptr,
LONGLONG  offset,
LONGLONG  nelem,
void *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpb ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpd ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
double *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpe ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
float *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpi ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
short *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpj ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
long *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpjj ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpk ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
int *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpsb ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpui ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpuj ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffggpuk ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffghad ( fitsfile fptr,
long *  headstart,
long *  datastart,
long *  dataend,
int *  status 
)

Return the address (= byte offset) in the FITS file to the beginning of the current HDU, the beginning of the data unit, and the end of the data unit.

Parameters
[in]fptrFITS file pointer
[out]headstartbyte offset to beginning of CHDU
[out]datastartbyte offset to beginning of next HDU
[out]dataendbyte offset to beginning of next HDU
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffghadll ( fitsfile fptr,
LONGLONG headstart,
LONGLONG datastart,
LONGLONG dataend,
int *  status 
)

Return the address (= byte offset) in the FITS file to the beginning of the current HDU, the beginning of the data unit, and the end of the data unit.

Parameters
[in]fptrFITS file pointer
[out]headstartbyte offset to beginning of CHDU
[out]datastartbyte offset to beginning of next HDU
[out]dataendbyte offset to beginning of next HDU
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghbn ( fitsfile fptr,
int  maxfield,
long *  naxis2,
int *  tfields,
char **  ttype,
char **  tform,
char **  tunit,
char *  extnm,
long *  pcount,
int *  status 
)

Get keywords from the Header of the BiNary table: Check that the keywords conform to the FITS standard and return the parameters which describe the table.

Parameters
[in]fptrFITS file pointer
[in]maxfieldmaximum no. of columns to read;
[out]naxis2number of rows in the table
[out]tfieldsnumber of columns in the table
[out]ttypename of each column
[out]tformTFORMn value for each column
[out]tunitTUNITn value for each column
[out]extnmvalue of EXTNAME keyword, if any
[out]pcountvalue of PCOUNT keyword
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghbnll ( fitsfile fptr,
int  maxfield,
LONGLONG naxis2,
int *  tfields,
char **  ttype,
char **  tform,
char **  tunit,
char *  extnm,
LONGLONG pcount,
int *  status 
)

Get keywords from the Header of the BiNary table: Check that the keywords conform to the FITS standard and return the parameters which describe the table.

Parameters
[in]fptrFITS file pointer
[in]maxfieldmaximum no. of columns to read;
[out]naxis2number of rows in the table
[out]tfieldsnumber of columns in the table
[out]ttypename of each column
[out]tformTFORMn value for each column
[out]tunitTUNITn value for each column
[out]extnmvalue of EXTNAME keyword, if any
[out]pcountvalue of PCOUNT keyword
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffghdn ( fitsfile fptr,
int *  chdunum 
)

Return the number of the Current HDU in the FITS file. The primary array is HDU number 1. Note that this is one of the few cfitsio routines that does not return the error status value as the value of the function.

Parameters
[in]fptrFITS file pointer
[out]chdunumnumber of the CHDU; 1 = primary array

Here is the caller graph for this function:

int CFITS_API ffghdt ( fitsfile fptr,
int *  exttype,
int *  status 
)

Return the type of the CHDU. This returns the 'logical' type of the HDU, not necessarily the physical type, so in the case of a compressed image stored in a binary table, this will return the type as an Image, not a binary table.

Parameters
[in]fptrFITS file pointer
[out]exttypetype of extension, 0, 1, or 2 for IMAGE_HDU, ASCII_TBL, or BINARY_TBL
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffghof ( fitsfile fptr,
OFF_T headstart,
OFF_T datastart,
OFF_T dataend,
int *  status 
)

Return the address (= byte offset) in the FITS file to the beginning of the current HDU, the beginning of the data unit, and the end of the data unit.

Parameters
[in]fptrFITS file pointer
[out]headstartbyte offset to beginning of CHDU
[out]datastartbyte offset to beginning of next HDU
[out]dataendbyte offset to beginning of next HDU
[in,out]statuserror status

Here is the call graph for this function:

int ffghpr ( fitsfile fptr,
int  maxdim,
int *  simple,
int *  bitpix,
int *  naxis,
long  naxes[],
long *  pcount,
long *  gcount,
int *  extend,
int *  status 
)

Get keywords from the Header of the PRimary array: Check that the keywords conform to the FITS standard and return the parameters which determine the size and structure of the primary array or IMAGE extension.

Parameters
[in]fptrFITS file pointer
[in]maxdimmaximum no. of dimensions to read;
[out]simpledoes file conform to FITS standard? 1/0
[out]bitpixnumber of bits per data value pixel
[out]naxisnumber of axes in the data array
[out]naxeslength of each data axis
[out]pcountnumber of group parameters (usually 0)
[out]gcountnumber of random groups (usually 1 or 0)
[out]extendmay FITS file haave extensions?
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghprll ( fitsfile fptr,
int  maxdim,
int *  simple,
int *  bitpix,
int *  naxis,
LONGLONG  naxes[],
long *  pcount,
long *  gcount,
int *  extend,
int *  status 
)

Get keywords from the Header of the PRimary array: Check that the keywords conform to the FITS standard and return the parameters which determine the size and structure of the primary array or IMAGE extension.

Parameters
[in]fptrFITS file pointer
[in]maxdimmaximum no. of dimensions to read;
[out]simpledoes file conform to FITS standard? 1/0
[out]bitpixnumber of bits per data value pixel
[out]naxisnumber of axes in the data array
[out]naxeslength of each data axis
[out]pcountnumber of group parameters (usually 0)
[out]gcountnumber of random groups (usually 1 or 0)
[out]extendmay FITS file haave extensions?
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghps ( fitsfile fptr,
int *  nexist,
int *  position,
int *  status 
)

return the number of existing keywords and the position of the next keyword that will be read.

Parameters
[in]fptrFITS file pointer
[out]nexistnumber of existing keywords in header
[out]nmoreposition of next keyword to be read
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghsp ( fitsfile fptr,
int *  nexist,
int *  nmore,
int *  status 
)

returns the number of existing keywords (not counting the END keyword) and the number of more keyword that will fit in the current header without having to insert more FITS blocks.

Parameters
[in]fptrFITS file pointer
[out]nexistnumber of existing keywords in header
[out]nmorehow many more keywords will fit
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghtb ( fitsfile fptr,
int  maxfield,
long *  naxis1,
long *  naxis2,
int *  tfields,
char **  ttype,
long *  tbcol,
char **  tform,
char **  tunit,
char *  extnm,
int *  status 
)

Get keywords from the Header of the ASCII TaBle: Check that the keywords conform to the FITS standard and return the parameters which describe the table.

Parameters
[in]fptrFITS file pointer
[in]maxfieldmaximum no. of columns to read;
[out]naxis1length of table row in bytes
[out]naxis2number of rows in the table
[out]tfieldsnumber of columns in the table
[out]ttypename of each column
[out]tbcolbyte offset in row to each column
[out]tformvalue of TFORMn keyword for each column
[out]tunitvalue of TUNITn keyword for each column
[out]extnmvalue of EXTNAME keyword, if any
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffghtbll ( fitsfile fptr,
int  maxfield,
LONGLONG naxis1,
LONGLONG naxis2,
int *  tfields,
char **  ttype,
LONGLONG tbcol,
char **  tform,
char **  tunit,
char *  extnm,
int *  status 
)

Get keywords from the Header of the ASCII TaBle: Check that the keywords conform to the FITS standard and return the parameters which describe the table.

Parameters
[in]fptrFITS file pointer
[in]maxfieldmaximum no. of columns to read;
[out]naxis1length of table row in bytes
[out]naxis2number of rows in the table
[out]tfieldsnumber of columns in the table
[out]ttypename of each column
[out]tbcolbyte offset in row to each column
[out]tformvalue of TFORMn keyword for each column
[out]tunitvalue of TUNITn keyword for each column
[out]extnmvalue of EXTNAME keyword, if any
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffgics ( fitsfile fptr,
double *  xrval,
double *  yrval,
double *  xrpix,
double *  yrpix,
double *  xinc,
double *  yinc,
double *  rot,
char *  type,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgicsa ( fitsfile fptr,
char  version,
double *  xrval,
double *  yrval,
double *  xrpix,
double *  yrpix,
double *  xinc,
double *  yinc,
double *  rot,
char *  type,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgidm ( fitsfile fptr,
int *  naxis,
int *  status 
)

Get the dimension of the image (= NAXIS keyword for normal image, or ZNAXIS for a compressed image) These values are cached for faster access.

Parameters
[in]fptrFITS file pointer
[out]naxisimage dimension (NAXIS value)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgidt ( fitsfile fptr,
int *  imgtype,
int *  status 
)

Get the datatype of the image (= BITPIX keyword for normal image, or ZBITPIX for a compressed image)

Parameters
[in]fptrFITS file pointer
[out]imgtypeimage data type
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgiet ( fitsfile fptr,
int *  imgtype,
int *  status 
)

Get the effective datatype of the image (= BITPIX keyword for normal image, or ZBITPIX for a compressed image)

Parameters
[in]fptrFITS file pointer
[out]imgtypeimage data type
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgipr ( fitsfile infptr,
int  maxaxis,
int *  bitpix,
int *  naxis,
long *  naxes,
int *  status 
)

get the datatype and size of the input image

Parameters
[in]infptrFITS file pointer
[in]maxaxismax number of axes to return
[out]bitpiximage data type
[out]naxisimage dimension (NAXIS value)
[out]naxessize of image dimensions
[in,out]statuserror status
int CFITS_API ffgiprll ( fitsfile infptr,
int  maxaxis,
int *  bitpix,
int *  naxis,
LONGLONG naxes,
int *  status 
)

get the datatype and size of the input image

Parameters
[in]infptrFITS file pointer
[in]maxaxismax number of axes to return
[out]bitpiximage data type
[out]naxisimage dimension (NAXIS value)
[out]naxessize of image dimensions
[in,out]statuserror status

Here is the caller graph for this function:

int CFITS_API ffgisz ( fitsfile fptr,
int  nlen,
long *  naxes,
int *  status 
)

Get the size of the image dimensions (= NAXISn keywords for normal image, or ZNAXISn for a compressed image) These values are cached for faster access.

Parameters
[in]fptrFITS file pointer
[in]nlennumber of axes to return
[out]naxessize of image dimensions
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgiszll ( fitsfile fptr,
int  nlen,
LONGLONG naxes,
int *  status 
)

Get the size of the image dimensions (= NAXISn keywords for normal image, or ZNAXISn for a compressed image)

Parameters
[in]fptrFITS file pointer
[in]nlennumber of axes to return
[out]naxessize of image dimensions
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgiwcs ( fitsfile fptr,
char **  header,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgkcl ( char *  tcard)

Return the type classification of the input header record

TYP_STRUC_KEY: SIMPLE, BITPIX, NAXIS, NAXISn, EXTEND, BLOCKED, GROUPS, PCOUNT, GCOUNT, END XTENSION, TFIELDS, TTYPEn, TBCOLn, TFORMn, THEAP, and the first 4 COMMENT keywords in the primary array that define the FITS format.

TYP_CMPRS_KEY: The keywords used in the compressed image format ZIMAGE, ZCMPTYPE, ZNAMEn, ZVALn, ZTILEn, ZBITPIX, ZNAXISn, ZSCALE, ZZERO, ZBLANK, EXTNAME = 'COMPRESSED_IMAGE' ZSIMPLE, ZTENSION, ZEXTEND, ZBLOCKED, ZPCOUNT, ZGCOUNT ZQUANTIZ, ZDITHER0

TYP_SCAL_KEY: BSCALE, BZERO, TSCALn, TZEROn

TYP_NULL_KEY: BLANK, TNULLn

TYP_DIM_KEY: TDIMn

TYP_RANG_KEY: TLMINn, TLMAXn, TDMINn, TDMAXn, DATAMIN, DATAMAX

TYP_UNIT_KEY: BUNIT, TUNITn

TYP_DISP_KEY: TDISPn

TYP_HDUID_KEY: EXTNAME, EXTVER, EXTLEVEL, HDUNAME, HDUVER, HDULEVEL

TYP_CKSUM_KEY CHECKSUM, DATASUM

TYP_WCS_KEY: Primary array: WCAXES, CTYPEn, CUNITn, CRVALn, CRPIXn, CROTAn, CDELTn CDj_is, PVj_ms, LONPOLEs, LATPOLEs

Pixel list: TCTYPn, TCTYns, TCUNIn, TCUNns, TCRVLn, TCRVns, TCRPXn, TCRPks, TCDn_k, TCn_ks, TPVn_m, TPn_ms, TCDLTn, TCROTn

Bintable vector: jCTYPn, jCTYns, jCUNIn, jCUNns, jCRVLn, jCRVns, iCRPXn, iCRPns, jiCDn, jiCDns, jPVn_m, jPn_ms, jCDLTn, jCROTn

TYP_REFSYS_KEY: EQUINOXs, EPOCH, MJD-OBSs, RADECSYS, RADESYSs

TYP_COMM_KEY: COMMENT, HISTORY, (blank keyword)

TYP_CONT_KEY: CONTINUE

TYP_USER_KEY: all other keywords

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkey ( fitsfile fptr,
const char *  keyname,
char *  keyval,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the keyword value and comment. The value is just the literal string of characters in the value field of the keyword. In the case of a string valued keyword, the returned value includes the leading and closing quote characters. The value may be up to 70 characters long, and the comment may be up to 72 characters long. If the keyword has no value (no equal sign in column 9) then a null value is returned.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]keyvalkeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkls ( fitsfile fptr,
const char *  keyname,
char **  value,
char *  comm,
int *  status 
)

This is the original routine for reading long string keywords that use the CONTINUE keyword convention. In 2016 a new routine called ffgsky / fits_read_string_key was added, which may provide a more convenient user interface for most applications.

Get Keyword with possible Long String value: Read (get) the named keyword, returning the value and comment. The returned value string may be arbitrarily long (by using the HEASARC convention for continuing long string values over multiple keywords) so this routine allocates the required memory for the returned string value. It is up to the calling routine to free the memory once it is finished with the value string. The returned comment string may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuepointer to keyword value
[out]commkeyword comment (may be NULL)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgknd ( fitsfile fptr,
const char *  keyname,
int  nstart,
int  nmax,
double *  value,
int *  nfound,
int *  status 
)

Read (get) an indexed array of keywords with index numbers between NSTART and (NSTART + NMAX -1) inclusive.

Parameters
[in]fptrFITS file pointer
[in]keynameroot name of keywords to read
[in]nstartstarting index number
[in]nmaxmaximum number of keywords to return
[out]valuearray of keyword values
[out]nfoundnumber of values that were returned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkne ( fitsfile fptr,
const char *  keyname,
int  nstart,
int  nmax,
float *  value,
int *  nfound,
int *  status 
)

Read (get) an indexed array of keywords with index numbers between NSTART and (NSTART + NMAX -1) inclusive.

Parameters
[in]fptrFITS file pointer
[in]keynameroot name of keywords to read
[in]nstartstarting index number
[in]nmaxmaximum number of keywords to return
[out]valuearray of keyword values
[out]nfoundnumber of values that were returned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgknj ( fitsfile fptr,
const char *  keyname,
int  nstart,
int  nmax,
long *  value,
int *  nfound,
int *  status 
)

Read (get) an indexed array of keywords with index numbers between NSTART and (NSTART + NMAX -1) inclusive.

Parameters
[in]fptrFITS file pointer
[in]keynameroot name of keywords to read
[in]nstartstarting index number
[in]nmaxmaximum number of keywords to return
[out]valuearray of keyword values
[out]nfoundnumber of values that were returned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgknjj ( fitsfile fptr,
const char *  keyname,
int  nstart,
int  nmax,
LONGLONG value,
int *  nfound,
int *  status 
)

Read (get) an indexed array of keywords with index numbers between NSTART and (NSTART + NMAX -1) inclusive.

Parameters
[in]fptrFITS file pointer
[in]keynameroot name of keywords to read
[in]nstartstarting index number
[in]nmaxmaximum number of keywords to return
[out]valuearray of keyword values
[out]nfoundnumber of values that were returned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgknl ( fitsfile fptr,
const char *  keyname,
int  nstart,
int  nmax,
int *  value,
int *  nfound,
int *  status 
)

Read (get) an indexed array of keywords with index numbers between NSTART and (NSTART + NMAX -1) inclusive. The returned value = 1 if the keyword is true, else = 0 if false.

Parameters
[in]fptrFITS file pointer
[in]keynameroot name of keywords to read
[in]nstartstarting index number
[in]nmaxmaximum number of keywords to return
[out]valuearray of keyword values
[out]nfoundnumber of values that were returned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgknm ( char *  card,
char *  name,
int *  length,
int *  status 
)

Return the name of the keyword, and the name length. This supports the ESO HIERARCH convention where keyword names may be > 8 characters long.

Parameters
[in]cardkeyword card
[out]namename of the keyword
[out]lengthlength of the keyword name
[in,out]statuserror status

Here is the caller graph for this function:

int ffgkns ( fitsfile fptr,
const char *  keyname,
int  nstart,
int  nmax,
char *  value[],
int *  nfound,
int *  status 
)

Read (get) an indexed array of keywords with index numbers between NSTART and (NSTART + NMAX -1) inclusive. This routine does NOT support the HEASARC long string convention.

Parameters
[in]fptrFITS file pointer
[in]keynameroot name of keywords to read
[in]nstartstarting index number
[in]nmaxmaximum number of keywords to return
[out]valuearray of pointers to keyword values
[out]nfoundnumber of values that were returned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgksl ( fitsfile fptr,
const char *  keyname,
int *  length,
int *  status 
)

Get the length of the keyword value string. This routine explicitly supports the CONTINUE convention for long string values.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]lengthlength of the string value
[in,out]statuserror status

Here is the call graph for this function:

int ffgky ( fitsfile fptr,
int  datatype,
const char *  keyname,
void *  value,
char *  comm,
int *  status 
)

Read (get) the keyword value and comment from the FITS header. Reads a keyword value with the datatype specified by the 2nd argument.

Parameters
[in]fptrFITS file pointer
[in]datatypedatatype of the value
[in]keynamename of keyword to read
[out]valuekeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyc ( fitsfile fptr,
const char *  keyname,
float *  value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The keyword must have a complex value. No implicit data conversion will be performed.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuekeyword value (real,imag)
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyd ( fitsfile fptr,
const char *  keyname,
double *  value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The value will be implicitly converted to a double if it not already of this datatype. The comment may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuekeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkye ( fitsfile fptr,
const char *  keyname,
float *  value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The value will be implicitly converted to a float if it not already of this datatype. The comment may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuekeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyj ( fitsfile fptr,
const char *  keyname,
long *  value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The value will be implicitly converted to a (long) integer if it not already of this datatype. The comment may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuekeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyjj ( fitsfile fptr,
const char *  keyname,
LONGLONG value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The value will be implicitly converted to a (long) integer if it not already of this datatype. The comment may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuekeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyl ( fitsfile fptr,
const char *  keyname,
int *  value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The returned value = 1 if the keyword is true, else = 0 if false. The comment may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[in]valuekeyword value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkym ( fitsfile fptr,
const char *  keyname,
double *  value,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The keyword must have a complex value. No implicit data conversion will be performed.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]valuekeyword value (real,imag)
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyn ( fitsfile fptr,
int  nkey,
char *  keyname,
char *  value,
char *  comm,
int *  status 
)

Read (get) the nkey-th keyword returning the keyword name, value and comment. The value is just the literal string of characters in the value field of the keyword. In the case of a string valued keyword, the returned value includes the leading and closing quote characters. The value may be up to 70 characters long, and the comment may be up to 72 characters long. If the keyword has no value (no equal sign in column 9) then a null value is returned. If comm = NULL, then do not return the comment string.

Parameters
[in]fptrFITS file pointer
[in]nkeynumber of the keyword to read
[out]keynamename of the keyword
[out]valuekeyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgkys ( fitsfile fptr,
const char *  keyname,
char *  value,
char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgkyt ( fitsfile fptr,
const char *  keyname,
long *  ivalue,
double *  fraction,
char *  comm,
int *  status 
)

Read (get) the named keyword, returning the value and comment. The integer and fractional parts of the value are returned in separate variables, to allow more numerical precision to be passed. This effectively passes a 'triple' precision value, with a 4-byte integer and an 8-byte fraction. The comment may be up to 69 characters long.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]ivalueinteger part of keyword value
[out]fractionfractional part of keyword value
[out]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgmcp ( fitsfile gfptr,
fitsfile mfptr,
long  member,
int  cpopt,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgmng ( fitsfile mfptr,
long *  nmembers,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgmop ( fitsfile gfptr,
long  member,
fitsfile **  mfptr,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgmrm ( fitsfile fptr,
long  member,
int  rmopt,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgmsg ( char *  err_message)

get oldest message from error stack, ignoring markers

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgmtf ( fitsfile infptr,
fitsfile outfptr,
long  member,
int  tfopt,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgncl ( fitsfile fptr,
int *  ncols,
int *  status 
)

Get the number of columns in the table (= TFIELDS keyword)

Parameters
[in]fptrFITS file pointer
[out]ncolsnumber of columns in the table
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgnrw ( fitsfile fptr,
long *  nrows,
int *  status 
)

Get the number of rows in the table (= NAXIS2 keyword)

Parameters
[in]fptrFITS file pointer
[out]nrowsnumber of rows in the table
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgnrwll ( fitsfile fptr,
LONGLONG nrows,
int *  status 
)

Get the number of rows in the table (= NAXIS2 keyword)

Parameters
[in]fptrFITS file pointer
[out]nrowsnumber of rows in the table
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgnxk ( fitsfile fptr,
char **  inclist,
int  ninc,
char **  exclist,
int  nexc,
char *  card,
int *  status 
)

Return the next keyword that matches one of the names in inclist but does not match any of the names in exclist. The search goes from the current position to the end of the header, only. Wild card characters may be used in the name lists ('*', '?' and '#').

Parameters
[in]fptrFITS file pointer
[in]inclistlist of included keyword names
[in]nincnumber of names in inclist
[in]exclistlist of excluded keyword names
[in]nexcnumber of names in exclist
[out]cardfirst matching keyword
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpf ( fitsfile fptr,
int  datatype,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  array,
char *  nullarray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgpfb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfd ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfe ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfi ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
short *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
long *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfjj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfsb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfui ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfuj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpfuk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int *  array,
char *  nularray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpv ( fitsfile fptr,
int  datatype,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char  nulval,
unsigned char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvd ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
double  nulval,
double *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpve ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
float  nulval,
float *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvi ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
short  nulval,
short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
long  nulval,
long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvjj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG  nulval,
LONGLONG array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
int  nulval,
int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvsb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char  nulval,
signed char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvui ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short  nulval,
unsigned short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvuj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long  nulval,
unsigned long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpvuk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int  nulval,
unsigned int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpxf ( fitsfile fptr,
int  datatype,
long *  firstpix,
LONGLONG  nelem,
void *  array,
char *  nullarray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgpxfll ( fitsfile fptr,
int  datatype,
LONGLONG firstpix,
LONGLONG  nelem,
void *  array,
char *  nullarray,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpxv ( fitsfile fptr,
int  datatype,
long *  firstpix,
LONGLONG  nelem,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgpxvll ( fitsfile fptr,
int  datatype,
LONGLONG firstpix,
LONGLONG  nelem,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgrec ( fitsfile fptr,
int  nrec,
char *  card,
int *  status 
)

Read (get) the nrec-th keyword, returning the entire keyword card up to 80 characters long. The first keyword in the header has nrec = 1, not 0. The returned card value is null terminated with any trailing blank characters removed. If nrec = 0, then this routine simply moves the current header pointer to the top of the header.

Parameters
[in]fptrFITS file pointer
[in]nrecnumber of keyword to read
[out]cardkeyword card
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgrsz ( fitsfile fptr,
long *  nrows,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgsdt ( int *  day,
int *  month,
int *  year,
int *  status 
)

Get current System DaTe (GMT if available). Return integer values of the day, month, and year. This routine is included for backward compatibility with the Fortran FITSIO library.

Parameters
[in]dayDay of the month
[in]monthNumerical month (1=Jan, etc.)
[in]yearYear (1999, 2000, etc.)
[in,out]statuserror status
int CFITS_API ffgsfb ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned char *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsfd ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
double *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsfe ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
float *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsfi ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
short *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsfj ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
long *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgsfjj ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
LONGLONG array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsfk ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
int *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsfsb ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
signed char *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgsfui ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned short *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgsfuj ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned long *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgsfuk ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned int *  array,
char *  flagval,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int ffgsky ( fitsfile fptr,
const char *  keyname,
int  firstchar,
int  maxchar,
char *  value,
int *  valuelen,
char *  comm,
int *  status 
)

Read and return the value of the specified string-valued keyword.

This new routine was added in 2016 to provide a more convenient user interface than the older ffgkls routine.

Read a string keyword, returning up to 'naxchars' characters of the value starting with the 'firstchar' character. The input 'value' string must be allocated at least 1 char bigger to allow for the terminating null character.

This routine may be used to read continued string keywords that use the CONTINUE keyword convention, as well as normal string keywords that are contained within a single header record.

This routine differs from the ffkls routine in that it does not internally allocate memory for the returned value string, and consequently the calling routine does not need to call fffree to free the memory.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[in]firstcharfirst character of string to return
[in]maxcharmaximum length of string to return (string will be null terminated)
[out]valuepointer to keyword value
[out]valuelentotal length of the keyword value string The returned 'value' string may only contain a piece of the total string, depending on the value of firstchar and maxchar
[out]commkeyword comment (may be NULL)
[in,out]statuserror status

Here is the call graph for this function:

int ffgstm ( char *  timestr,
int *  timeref,
int *  status 
)

Returns the current date and time in format 'yyyy-mm-ddThh:mm:ss'.

Parameters
[in,out]timestrreturned system date and time string
[in,out]timerefGMT = 0, Local time = 1
[in,out]statuserror status

Here is the caller graph for this function:

int ffgstr ( fitsfile fptr,
const char *  string,
char *  card,
int *  status 
)

Read (get) the next keyword record that contains the input character string, returning the entire keyword card up to 80 characters long. The returned card value is null terminated with any trailing blank characters removed.

Parameters
[in]fptrFITS file pointer
[in]string
[out]card
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsv ( fitsfile fptr,
int  datatype,
long *  blc,
long *  trc,
long *  inc,
void *  nulval,
void *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgsvb ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned char  nulval,
unsigned char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvd ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
double  nulval,
double *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsve ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
float  nulval,
float *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvi ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
short  nulval,
short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvj ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
long  nulval,
long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvjj ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
LONGLONG  nulval,
LONGLONG array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvk ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
int  nulval,
int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvsb ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
signed char  nulval,
signed char *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvui ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned short  nulval,
unsigned short *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvuj ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned long  nulval,
unsigned long *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgsvuk ( fitsfile fptr,
int  colnum,
int  naxis,
long *  naxes,
long *  blc,
long *  trc,
long *  inc,
unsigned int  nulval,
unsigned int *  array,
int *  anynul,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgtam ( fitsfile gfptr,
fitsfile mfptr,
int  hdupos,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtbb ( fitsfile fptr,
LONGLONG  firstrow,
LONGLONG  firstchar,
LONGLONG  nchars,
unsigned char *  values,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgtch ( fitsfile gfptr,
int  grouptype,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtcl ( fitsfile fptr,
int  colnum,
int *  typecode,
long *  repeat,
long *  width,
int *  status 
)

Get Type of table column. Returns the datatype code of the column, as well as the vector repeat count and (if it is an ASCII character column) the width of the field or a unit string within the field. This supports the TFORMn = 'rAw' syntax for specifying arrays of substrings, so if TFORMn = '60A12' then repeat = 60 and width = 12.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[out]typecodedatatype code (21 = short, etc)
[out]repeatrepeat count of field
[out]widthif ASCII, width of field or unit string
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgtclll ( fitsfile fptr,
int  colnum,
int *  typecode,
LONGLONG repeat,
LONGLONG width,
int *  status 
)

Get Type of table column. Returns the datatype code of the column, as well as the vector repeat count and (if it is an ASCII character column) the width of the field or a unit string within the field. This supports the TFORMn = 'rAw' syntax for specifying arrays of substrings, so if TFORMn = '60A12' then repeat = 60 and width = 12.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[out]typecodedatatype code (21 = short, etc)
[out]repeatrepeat count of field
[out]widthif ASCII, width of field or unit string
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgtcm ( fitsfile gfptr,
int  cmopt,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtcp ( fitsfile infptr,
fitsfile outfptr,
int  cpopt,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtcr ( fitsfile fptr,
char *  grpname,
int  grouptype,
int *  status 
)
int CFITS_API ffgtcs ( fitsfile fptr,
int  xcol,
int  ycol,
double *  xrval,
double *  yrval,
double *  xrpix,
double *  yrpix,
double *  xinc,
double *  yinc,
double *  rot,
char *  type,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgtdm ( fitsfile fptr,
int  colnum,
int  maxdim,
int *  naxis,
long  naxes[],
int *  status 
)

read and parse the TDIMnnn keyword to get the dimensionality of a column

Parameters
[in]fptrFITS file pointer
[in]colnumnumber of the column to read
[in]maxdimmaximum no. of dimensions to read;
[out]naxisnumber of axes in the data array
[out]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffgtdmll ( fitsfile fptr,
int  colnum,
int  maxdim,
int *  naxis,
LONGLONG  naxes[],
int *  status 
)

read and parse the TDIMnnn keyword to get the dimensionality of a column

Parameters
[in]fptrFITS file pointer
[in]colnumnumber of the column to read
[in]maxdimmaximum no. of dimensions to read;
[out]naxisnumber of axes in the data array
[out]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgthd ( char *  tmplt,
char *  card,
int *  hdtype,
int *  status 
)

'Get Template HeaDer' parse a template header line and create a formated character string which is suitable for appending to a FITS header

Parameters
[in]tmpltinput header template string
[out]cardreturned FITS header record
[out]hdtypehow to interpreter the returned card string -2 = modify the name of a keyword; the old keyword name is returned starting at address chars[0]; the new name is returned starting at address char[40] (to be consistent with the Fortran version). Both names are null terminated. -1 = card contains the name of a keyword that is to be deleted 0 = append this keyword if it doesn't already exist, or modify the value if the keyword already exists. 1 = append this comment keyword ('HISTORY', 'COMMENT', or blank keyword name) 2 = this is the END keyword; do not write it to the header
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffgtis ( fitsfile fptr,
char *  grpname,
int  grouptype,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtmg ( fitsfile infptr,
fitsfile outfptr,
int  mgopt,
int *  status 
)
int CFITS_API ffgtnm ( fitsfile gfptr,
long *  nmembers,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtop ( fitsfile mfptr,
int  group,
fitsfile **  gfptr,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtrm ( fitsfile gfptr,
int  rmopt,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtvf ( fitsfile gfptr,
long *  firstfailed,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffgtwcs ( fitsfile fptr,
int  xcol,
int  ycol,
char **  header,
int *  status 
)

Here is the call graph for this function:

int ffgunt ( fitsfile fptr,
const char *  keyname,
char *  unit,
int *  status 
)

Read (get) the units string from the comment field of the existing keyword. This routine uses a local FITS convention (not defined in the official FITS standard) in which the units are enclosed in square brackets following the '/' comment field delimiter, e.g.:

KEYWORD = 12 / [kpc] comment string goes here

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to read
[out]unitkeyword units
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffh2st ( fitsfile fptr,
char **  header,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffhdef ( fitsfile fptr,
int  morekeys,
int *  status 
)

based on the number of keywords which have already been written, plus the number of keywords to reserve space for, we then can define where the data unit should start (it must start at the beginning of a 2880-byte logical block).

This routine will only have any effect if the starting location of the data unit following the header is not already defined. In any case, it is always possible to add more keywords to the header even if the data has already been written. It is just more efficient to reserve the space in advance.

Parameters
[in]fptrFITS file pointer
[in]morekeysreserve space for this many keywords
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffhdr2str ( fitsfile fptr,
int  exclude_comm,
char **  exclist,
int  nexc,
char **  header,
int *  nkeys,
int *  status 
)

read header keywords into a long string of chars. This routine allocates memory for the string, so the calling routine must eventually free the memory when it is not needed any more. If exclude_comm is TRUE, then all the COMMENT, HISTORY, and <blank> keywords will be excluded from the output string of keywords. Any other list of keywords to be excluded may be specified with the exclist parameter.

Parameters
[in]fptrFITS file pointer
[in]exclude_commif TRUE, exclude commentary keywords
[in]exclistlist of excluded keyword names
[in]nexcnumber of names in exclist
[out]headerreturned header string
[out]nkeysreturned number of 80-char keywords
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffhist ( fitsfile **  fptr,
char *  outfile,
int  imagetype,
int  naxis,
char  colname[4][FLEN_VALUE],
double *  minin,
double *  maxin,
double *  binsizein,
char  minname[4][FLEN_VALUE],
char  maxname[4][FLEN_VALUE],
char  binname[4][FLEN_VALUE],
double  weightin,
char  wtcol[FLEN_VALUE],
int  recip,
char *  rowselect,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffhist2 ( fitsfile **  fptr,
char *  outfile,
int  imagetype,
int  naxis,
char  colname[4][FLEN_VALUE],
double *  minin,
double *  maxin,
double *  binsizein,
char  minname[4][FLEN_VALUE],
char  maxname[4][FLEN_VALUE],
char  binname[4][FLEN_VALUE],
double  weightin,
char  wtcol[FLEN_VALUE],
int  recip,
char *  rowselect,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

CFITS_API fitsfile* ffhist3 ( fitsfile fptr,
char *  outfile,
int  imagetype,
int  naxis,
char  colname[4][FLEN_VALUE],
double *  minin,
double *  maxin,
double *  binsizein,
char  minname[4][FLEN_VALUE],
char  maxname[4][FLEN_VALUE],
char  binname[4][FLEN_VALUE],
double  weightin,
char  wtcol[FLEN_VALUE],
int  recip,
char *  selectrow,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffibin ( fitsfile fptr,
LONGLONG  naxis2,
int  tfields,
char **  ttype,
char **  tform,
char **  tunit,
const char *  extname,
LONGLONG  pcount,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fficls ( fitsfile fptr,
int  firstcol,
int  ncols,
char **  ttype,
char **  tform,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fficol ( fitsfile fptr,
int  numcol,
char *  ttype,
char *  tform,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffifile ( char *  url,
char *  urltype,
char *  infilex,
char *  outfile,
char *  extspec,
char *  rowfilterx,
char *  binspec,
char *  colspec,
char *  pixfilter,
int *  status 
)

fits_parse_input_filename parse the input URL into its basic components. This routine does not support the compspec component.

Parameters
[in]urlinput filename
[in]urltypee.g., 'file://', 'http://', 'mem://'
[in]infilexroot filename (may be complete path)
[in]outfileoptional output file name
[in]extspecextension spec: +n or [extname, extver]
[in]rowfilterxboolean row filter expression
[in]binspechistogram binning specifier
[in]colspeccolumn or keyword modifier expression
[in]pixfilterpixel filter expression

Here is the call graph for this function:

int CFITS_API ffifile2 ( char *  url,
char *  urltype,
char *  infilex,
char *  outfile,
char *  extspec,
char *  rowfilterx,
char *  binspec,
char *  colspec,
char *  pixfilter,
char *  compspec,
int *  status 
)

fits_parse_input_filename parse the input URL into its basic components. This routine is big and ugly and should be redesigned someday!

Parameters
[in]urlinput filename
[in]urltypee.g., 'file://', 'http://', 'mem://'
[in]infilexroot filename (may be complete path)
[in]outfileoptional output file name
[in]extspecextension spec: +n or [extname, extver]
[in]rowfilterxboolean row filter expression
[in]binspechistogram binning specifier
[in]colspeccolumn or keyword modifier expression
[in]pixfilterpixel filter expression
[in]compspecimage compression specification

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffiimg ( fitsfile fptr,
int  bitpix,
int  naxis,
long *  naxes,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffiimgll ( fitsfile fptr,
int  bitpix,
int  naxis,
LONGLONG naxes,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikey ( fitsfile fptr,
const char *  card,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikfc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikfm ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikls ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyd ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikye ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyf ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyg ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyj ( fitsfile fptr,
const char *  keyname,
LONGLONG  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyl ( fitsfile fptr,
const char *  keyname,
int  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikym ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikys ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffikyu ( fitsfile fptr,
const char *  keyname,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffimem ( fitsfile **  fptr,
void **  buffptr,
size_t *  buffsize,
size_t  deltasize,
void *(*)(void *p, size_t newsize)  mem_realloc,
int *  status 
)

Create and initialize a new FITS file in memory

Parameters
[out]fptrFITS file pointer
[in]buffptraddress of memory pointer
[in]buffsizesize of buffer, in bytes
[in]deltasizeincrement for future realloc's
[in]mem_reallocfunction
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffimport_file ( char *  filename,
char **  contents,
int *  status 
)

Read and concatenate all the lines from the given text file. User must free the pointer returned in contents. Pointer is guaranteed to hold 2 characters more than the length of the text... allows the calling routine to append (or prepend) a newline (or quotes?) without reallocating memory.

Parameters
[in]filenameText file to read
[in]contentsPointer to pointer to hold file
[in]statusCFITSIO error code

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffinit ( fitsfile **  fptr,
const char *  name,
int *  status 
)

Create and initialize a new FITS file.

Parameters
[out]fptrFITS file pointer
[in]namename of file to create
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffinttyp ( char *  cval,
int *  dtype,
int *  negative,
int *  status 
)

determine implicit datatype of input integer string. This assumes that the string conforms to the FITS standard for integer keyword value, so may not detect all invalid formats.

Parameters
[in]cvalformatted string representation of the integer
[out]dtypedatatype code: TBYTE, TSHORT, TUSHORT, etc
[out]negativeis cval negative?
[in,out]statuserror status
int CFITS_API ffiopn ( fitsfile **  fptr,
const char *  name,
int  mode,
int *  status 
)

Open an existing FITS file with either readonly or read/write access. and move to the first HDU that contains 'interesting' image (not an table).

Parameters
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode0 = open readonly; 1 = read/write
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffirec ( fitsfile fptr,
int  nkey,
const char *  card,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffirow ( fitsfile fptr,
LONGLONG  firstrow,
LONGLONG  nrows,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffitab ( fitsfile fptr,
LONGLONG  naxis1,
LONGLONG  naxis2,
int  tfields,
char **  ttype,
long *  tbcol,
char **  tform,
char **  tunit,
const char *  extname,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffiter ( int  ncols,
iteratorCol data,
long  offset,
long  nPerLoop,
int(*)(long totaln, long offset, long firstn, long nvalues, int narrays, iteratorCol *data, void *userPointer)  workFn,
void *  userPointer,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API ffiurl ( char *  url,
char *  urltype,
char *  infilex,
char *  outfile,
char *  extspec,
char *  rowfilterx,
char *  binspec,
char *  colspec,
int *  status 
)

parse the input URL into its basic components. This routine does not support the pixfilter or compspec components.

Parameters
[in]urlinput filename
[in]urltypee.g., 'file://', 'http://', 'mem://'
[in]infilexroot filename (may be complete path)
[in]outfileoptional output file name
[in]extspecextension spec: +n or [extname, extver]
[in]rowfilterxboolean row filter expression
[in]binspechistogram binning specifier
[in]colspeccolumn or keyword modifier expression

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffkeyn ( const char *  keyroot,
int  value,
char *  keyname,
int *  status 
)

Construct a keyword name string by appending the index number to the root. e.g., if root = "TTYPE" and value = 12 then keyname = "TTYPE12". Note: this allows keyword names longer than 8 characters.

Parameters
[in]keyrootroot string for keyword name keyword name
[in]valueindex number to be appended to root name
[out]keynameoutput root + index keyword name
[in,out]statuserror status

Here is the caller graph for this function:

int CFITS_API ffmahd ( fitsfile fptr,
int  hdunum,
int *  exttype,
int *  status 
)

Move to Absolute Header Data unit. Move to the specified HDU and read the header to initialize the table structure. Note that extnum is one based, so the primary array is extnum = 1.

Parameters
[in]fptrFITS file pointer
[in]hdunumnumber of the HDU to move to
[out]exttypetype of extension, 0, 1, or 2
[in,out]statuserror status

Here is the call graph for this function:

int ffmaky ( fitsfile fptr,
int  nrec,
int *  status 
)
Parameters
[in]fptrFITS file pointer
[in]nrecone-based keyword number to move to
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmbyt ( fitsfile fptr,
LONGLONG  bytpos,
int  ignore_err,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffmcom ( fitsfile fptr,
const char *  keyname,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmcrd ( fitsfile fptr,
const char *  keyname,
const char *  card,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkfc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkfm ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkky ( const char *  keyname,
char *  value,
const char *  comm,
char *  card,
int *  status 
)

Make a complete FITS 80-byte keyword card from the input name, value and comment strings. Output card is null terminated without any trailing blanks.

Parameters
[in]keynamekeyword name
[in]valuekeyword value
[in]commkeyword comment
[out]cardconstructed keyword card
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkls ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyd ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkye ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyf ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyg ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyj ( fitsfile fptr,
const char *  keyname,
LONGLONG  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyl ( fitsfile fptr,
const char *  keyname,
int  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkym ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkys ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmkyu ( fitsfile fptr,
const char *  keyname,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmnam ( fitsfile fptr,
const char *  oldname,
const char *  newname,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmnhd ( fitsfile fptr,
int  exttype,
char *  hduname,
int  hduver,
int *  status 
)

Move to the next HDU with a given extension type (IMAGE_HDU, ASCII_TBL, BINARY_TBL, or ANY_HDU), extension name (EXTNAME or HDUNAME keyword), and EXTVERS keyword values. If hduvers = 0, then move to the first HDU with the given type and name regardless of EXTVERS value. If no matching HDU is found in the file, then the current open HDU will remain unchanged.

Parameters
[in]fptrFITS file pointer
[in]exttypetype of extension, 0, 1, or 2
[in]hdunamedesired EXTNAME value for the HDU
[in]hduverdesired EXTVERS value for the HDU
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmrec ( fitsfile fptr,
int  nkey,
const char *  card,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmrhd ( fitsfile fptr,
int  hdumov,
int *  exttype,
int *  status 
)

Move a Relative number of Header Data units. Offset to the specified extension and read the header to initialize the HDU structure.

Parameters
[in]fptrFITS file pointer
[in]hdumovrel. no. of HDUs to move by (+ or -)
[out]exttypetype of extension, 0, 1, or 2
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffmrky ( fitsfile fptr,
int  nmove,
int *  status 
)
Parameters
[in]fptrFITS file pointer
[in]nmoverelative number of keywords to move
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffmvec ( fitsfile fptr,
int  colnum,
LONGLONG  newveclen,
int *  status 
)

Here is the call graph for this function:

int ffnchk ( fitsfile fptr,
int *  status 
)

function returns the position of the first null character (ASCII 0), if any, in the current header. Null characters are illegal, but the other CFITSIO routines that read the header will not detect this error, because the null gets interpreted as a normal end of string character.

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffnkey ( int  value,
const char *  keyroot,
char *  keyname,
int *  status 
)

Construct a keyword name string by appending the root string to the index number. e.g., if root = "TTYPE" and value = 12 then keyname = "12TTYPE".

Parameters
[in]valueindex number to be appended to root name
[in]keyrootroot string for keyword name
[out]keynameoutput root + index keyword name
[in,out]statuserror status

Here is the caller graph for this function:

int CFITS_API ffomem ( fitsfile **  fptr,
const char *  name,
int  mode,
void **  buffptr,
size_t *  buffsize,
size_t  deltasize,
void *(*)(void *p, size_t newsize)  mem_realloc,
int *  status 
)

Open an existing FITS file in core memory. This is a specialized version of ffopen.

Parameters
[out]fptrFITS file pointer
[in]namename of file to open
[in]mode0 = open readonly; 1 = read/write
[in]buffptraddress of memory pointer
[in]buffsizesize of buffer, in bytes
[in]deltasizeincrement for future realloc's
[in]mem_reallocfunction
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffopen ( fitsfile **  fptr,
const char *  name,
int  mode,
int *  status 
)

Open an existing FITS file with either readonly or read/write access.

Parameters
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode0 = open readonly; 1 = read/write
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffopentest ( int  soname,
fitsfile **  fptr,
const char *  name,
int  mode,
int *  status 
)

Open an existing FITS file with either readonly or read/write access. First test that the SONAME of fitsio.h used to build the CFITSIO library is the same as was used in compiling the application program that links to the library.

Parameters
[in]sonameCFITSIO shared library version application program (fitsio.h file)
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode/* I - 0 = open readonly; 1 = read/write
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffp2db ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2dd ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
double *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2de ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
float *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2di ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp2dj ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
long *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2djj ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2dk ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
int *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2dsb ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2dui ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2duj ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp2duk ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  naxis1,
LONGLONG  naxis2,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffp3db ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3dd ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
double *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3de ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
float *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3di ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3dj ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3djj ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3dk ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3dsb ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3dui ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3duj ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffp3duk ( fitsfile fptr,
long  group,
LONGLONG  ncols,
LONGLONG  nrows,
LONGLONG  naxis1,
LONGLONG  naxis2,
LONGLONG  naxis3,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcks ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcl ( fitsfile fptr,
int  datatype,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclc ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcld ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcle ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcli ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcljj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcll ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclm ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcls ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char **  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclsb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclu ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclui ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcluj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcluk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpclx ( fitsfile fptr,
int  colnum,
LONGLONG  frow,
long  fbit,
long  nbit,
char *  larray,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcn ( fitsfile fptr,
int  datatype,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  array,
void *  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char *  array,
unsigned char  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnd ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
double  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcne ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
float  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcni ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
short *  array,
short  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
long *  array,
long  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnjj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG array,
LONGLONG  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  array,
int  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnl ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char *  array,
char  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcns ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
char **  array,
char *  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnsb ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char *  array,
signed char  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnui ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short *  array,
unsigned short  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnuj ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long *  array,
unsigned long  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpcnuk ( fitsfile fptr,
int  colnum,
LONGLONG  firstrow,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int *  array,
unsigned int  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpcom ( fitsfile fptr,
const char *  comm,
int *  status 
)

Write 1 or more COMMENT keywords. If the comment string is too long to fit on a single keyword (72 chars) then it will automatically be continued on multiple CONTINUE keywords.

Parameters
[in]fptrFITS file pointer
[in]commcomment string
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpdat ( fitsfile fptr,
int *  status 
)

Write the DATE keyword into the FITS header. If the keyword already exists then the date will simply be updated in the existing keyword.

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpdes ( fitsfile fptr,
int  colnum,
LONGLONG  rownum,
LONGLONG  length,
LONGLONG  heapaddr,
int *  status 
)

put (write) the variable length vector descriptor to the table.

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number (1 = 1st column of table)
[in]rownumrow number (1 = 1st row of table)
[in]lengthnumber of elements in the row
[in]heapaddrheap pointer to the data
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpextn ( fitsfile fptr,
LONGLONG  offset,
LONGLONG  nelem,
void *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpb ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpd ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
double *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpe ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
float *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpi ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
short *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpj ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
long *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpjj ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpk ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
int *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpsb ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpui ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpuj ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpgpuk ( fitsfile fptr,
long  group,
long  firstelem,
long  nelem,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

int ffphbn ( fitsfile fptr,
LONGLONG  naxis2,
int  tfields,
char **  ttype,
char **  tform,
char **  tunit,
const char *  extnmx,
LONGLONG  pcount,
int *  status 
)

Put required Header keywords into the Binary Table:

Parameters
[in]fptrFITS file pointer
[in]naxis2number of rows in the table
[in]tfieldsnumber of columns in the table
[in]ttypename of each column
[in]tformvalue of TFORMn keyword for each column
[in]tunitvalue of TUNITn keyword for each column
[in]extnmxvalue of EXTNAME keyword, if any
[in]pcountsize of the variable length heap area
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffphext ( fitsfile fptr,
const char *  xtensionx,
int  bitpix,
int  naxis,
long  naxes[],
LONGLONG  pcount,
LONGLONG  gcount,
int *  status 
)

Put required Header keywords into a conforming extension:

Parameters
[in]fptrFITS file pointer
[in]xtensionxvalue for the XTENSION keyword
[in]bitpixvalue for the BIXPIX keyword
[in]naxisvalue for the NAXIS keyword
[in]naxesvalue for the NAXISn keywords
[in]pcountvalue for the PCOUNT keyword
[in]gcountvalue for the GCOUNT keyword
[in,out]statuserror status

Here is the call graph for this function:

int ffphis ( fitsfile fptr,
const char *  history,
int *  status 
)

Write 1 or more HISTORY keywords. If the history string is too long to fit on a single keyword (72 chars) then it will automatically be continued on multiple HISTORY keywords.

Parameters
[in]fptrFITS file pointer
[in]historyhistory string
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffphpr ( fitsfile fptr,
int  simple,
int  bitpix,
int  naxis,
long  naxes[],
LONGLONG  pcount,
LONGLONG  gcount,
int  extend,
int *  status 
)

write required primary header keywords

Parameters
[in]fptrFITS file pointer
[in]simpledoes file conform to FITS standard? 1/0
[in]bitpixnumber of bits per data value pixel
[in]naxisnumber of axes in the data array
[in]naxeslength of each data axis
[in]pcountnumber of group parameters (usually 0)
[in]gcountnumber of random groups (usually 1 or 0)
[in]extendmay FITS file have extensions?
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffphprll ( fitsfile fptr,
int  simple,
int  bitpix,
int  naxis,
LONGLONG  naxes[],
LONGLONG  pcount,
LONGLONG  gcount,
int  extend,
int *  status 
)

write required primary header keywords

Parameters
[in]fptrFITS file pointer
[in]simpledoes file conform to FITS standard? 1/0
[in]bitpixnumber of bits per data value pixel
[in]naxisnumber of axes in the data array
[in]naxeslength of each data axis
[in]pcountnumber of group parameters (usually 0)
[in]gcountnumber of random groups (usually 1 or 0
[in]extendmay FITS file have extensions?
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffphps ( fitsfile fptr,
int  bitpix,
int  naxis,
long  naxes[],
int *  status 
)

write STANDARD set of required primary header keywords

Parameters
[in]fptrFITS file pointer
[in]bitpixnumber of bits per data value pixel
[in]naxisnumber of axes in the data array
[in]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffphpsll ( fitsfile fptr,
int  bitpix,
int  naxis,
LONGLONG  naxes[],
int *  status 
)

write STANDARD set of required primary header keywords

Parameters
[in]fptrFITS file pointer
[in]bitpixnumber of bits per data value pixel
[in]naxisnumber of axes in the data array
[in]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

int ffphtb ( fitsfile fptr,
LONGLONG  naxis1,
LONGLONG  naxis2,
int  tfields,
char **  ttype,
long *  tbcol,
char **  tform,
char **  tunit,
const char *  extnmx,
int *  status 
)

Put required Header keywords into the ASCII TaBle:

Parameters
[in]fptrFITS file pointer
[in]naxis1width of row in the table
[in]naxis2number of rows in the table
[in]tfieldsnumber of columns in the table
[in]ttypename of each column
[in]tbcolbyte offset in row to each column
[in]tformvalue of TFORMn keyword for each column
[in]tunitvalue of TUNITn keyword for each column
[in]extnmxvalue of EXTNAME keyword, if any
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpkfc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpkfm ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkls ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. This routine is a modified version of ffpkys which supports the HEASARC long string convention and can write arbitrarily long string keyword values. The value is continued over multiple keywords that have the name COMTINUE without an equal sign in column 9 of the card. This routine also supports simple string keywords which are less than 69 characters in length.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]valuekeyword value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpknd ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
double *  value,
int  decim,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Writes exponential double values.

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]decimnumber of decimals to display
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkne ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
float *  value,
int  decim,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Writes exponential float values.

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]decimnumber of decimals to display
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpknf ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
float *  value,
int  decim,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Writes fixed float values.

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]decimnumber of decimals to display
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkng ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
double *  value,
int  decim,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Writes fixed double values.

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]decimnumber of decimals to display
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpknj ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
long *  value,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Write integer keywords

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpknjj ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
LONGLONG value,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Write integer keywords

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

int ffpknl ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
int *  value,
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Writes logical keywords Values equal to zero will be written as a False FITS keyword value; any other non-zero value will result in a True FITS keyword.

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of keyword values
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkns ( fitsfile fptr,
const char *  keyroot,
int  nstart,
int  nkey,
char *  value[],
char *  comm[],
int *  status 
)

Write (put) an indexed array of keywords with index numbers between NSTART and (NSTART + NKEY -1) inclusive. Writes string keywords. The value strings will be truncated at 68 characters, and the HEASARC long string keyword convention is not supported by this routine.

Parameters
[in]fptrFITS file pointer
[in]keyrootroot name of keywords to write
[in]nstartstarting index number
[in]nkeynumber of keywords to write
[in]valuearray of pointers to keyword values
[in]commarray of pointers to keyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpktp ( fitsfile fptr,
const char *  filename,
int *  status 
)

read keywords from template file and append to the FITS file

Parameters
[in]fptrFITS file pointer
[in]filenamename of template file
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpky ( fitsfile fptr,
int  datatype,
const char *  keyname,
void *  value,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. Writes a keyword value with the datatype specified by the 2nd argument.

Parameters
[in]fptrFITS file pointer
[in]datatypedatatype of the value
[in]keynamename of keyword to write
[in]valuekeyword value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpkyc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpkyd ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkye ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. Writes an exponential float keyword value.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]valuekeyword value
[in]decimnumber of decimal places to display
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkyf ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. Writes a fixed float keyword value.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]valuekeyword value
[in]decimnumber of decimal places to display
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkyg ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. Writes a fixed double keyword value.

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkyj ( fitsfile fptr,
const char *  keyname,
LONGLONG  value,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. Writes an integer keyword value.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]valuekeyword value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkyl ( fitsfile fptr,
const char *  keyname,
int  value,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. Values equal to 0 will result in a False FITS keyword; any other non-zero value will result in a True FITS keyword.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]valuekeyword value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpkym ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkys ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Write (put) the keyword, value and comment into the FITS header. The value string will be truncated at 68 characters which is the maximum length that will fit on a single FITS keyword.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]valuekeyword value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkyt ( fitsfile fptr,
const char *  keyname,
long  intval,
double  fraction,
const char *  comm,
int *  status 
)

Write (put) a 'triple' precision keyword where the integer and fractional parts of the value are passed in separate parameters to increase the total amount of numerical precision.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]intvalinteger part of value
[in]fractionfractional part of value
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffpkyu ( fitsfile fptr,
const char *  keyname,
const char *  comm,
int *  status 
)

Write (put) a null-valued keyword and comment into the FITS header.

Parameters
[in]fptrFITS file pointer
[in]keynamename of keyword to write
[in]commkeyword comment
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffplsw ( fitsfile fptr,
int *  status 
)

Write the LONGSTRN keyword and a series of related COMMENT keywords which document that this FITS header may contain long string keyword values which are continued over multiple keywords using the HEASARC long string keyword convention. If the LONGSTRN keyword already exists then this routine simple returns without doing anything.

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffpmrk ( void  )

write a marker to the stack. It is then possible to pop only those messages following the marker off of the stack, leaving the previous messages unaffected.

The marker is ignored by the ffgmsg routine.

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffpmsg ( const char *  err_message)

put message on to error stack

int CFITS_API ffpnul ( fitsfile fptr,
LONGLONG  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppn ( fitsfile fptr,
int  datatype,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  array,
void *  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char *  array,
unsigned char  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnd ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
double  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppne ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
float  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppni ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
short *  array,
short  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
long *  array,
long  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnjj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG array,
LONGLONG  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  array,
int  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnsb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char *  array,
signed char  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnui ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short *  array,
unsigned short  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnuj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long *  array,
unsigned long  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppnuk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int *  array,
unsigned int  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppr ( fitsfile fptr,
int  datatype,
LONGLONG  firstelem,
LONGLONG  nelem,
void *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprd ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
double *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppre ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
float *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppri ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprjj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprn ( fitsfile fptr,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpprsb ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppru ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpprui ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppruj ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppruk ( fitsfile fptr,
long  group,
LONGLONG  firstelem,
LONGLONG  nelem,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppx ( fitsfile fptr,
int  datatype,
long *  firstpix,
LONGLONG  nelem,
void *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppxll ( fitsfile fptr,
int  datatype,
LONGLONG firstpix,
LONGLONG  nelem,
void *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppxn ( fitsfile fptr,
int  datatype,
long *  firstpix,
LONGLONG  nelem,
void *  array,
void *  nulval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffppxnll ( fitsfile fptr,
int  datatype,
LONGLONG firstpix,
LONGLONG  nelem,
void *  array,
void *  nulval,
int *  status 
)

Here is the call graph for this function:

int ffprec ( fitsfile fptr,
const char *  card,
int *  status 
)

write a keyword record (80 bytes long) to the end of the header

Parameters
[in]fptrFITS file pointer
[in]cardstring to be written
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffprwu ( fitsfile fptr,
LONGLONG  firstrow,
LONGLONG  nrows,
int *  status 
)
int CFITS_API ffpscl ( fitsfile fptr,
double  scale,
double  zeroval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpss ( fitsfile fptr,
int  datatype,
long *  fpixel,
long *  lpixel,
void *  array,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpssb ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
unsigned char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssd ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
double *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpsse ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
float *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssi ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssj ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssjj ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
LONGLONG array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssk ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpsssb ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
signed char *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssui ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
unsigned short *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssuj ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
unsigned long *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpssuk ( fitsfile fptr,
long  group,
long  naxis,
long *  naxes,
long *  fpixel,
long *  lpixel,
unsigned int *  array,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpsvc ( char *  card,
char *  value,
char *  comm,
int *  status 
)

ParSe the Value and Comment strings from the input header card string. If the card contains a quoted string value, the returned value string includes the enclosing quote characters. If comm = NULL, don't return the comment string.

Parameters
[in]cardFITS header card (nominally 80 bytes long)
[out]valuevalue string parsed from the card
[out]commcomment string parsed from the card
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffptbb ( fitsfile fptr,
LONGLONG  firstrow,
LONGLONG  firstchar,
LONGLONG  nchars,
unsigned char *  values,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffptdm ( fitsfile fptr,
int  colnum,
int  naxis,
long  naxes[],
int *  status 
)

write the TDIMnnn keyword describing the dimensionality of a column

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[in]naxisnumber of axes in the data array
[in]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int ffptdmll ( fitsfile fptr,
int  colnum,
int  naxis,
LONGLONG  naxes[],
int *  status 
)

write the TDIMnnn keyword describing the dimensionality of a column

Parameters
[in]fptrFITS file pointer
[in]colnumcolumn number
[in]naxisnumber of axes in the data array
[in]naxeslength of each data axis
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffpthp ( fitsfile fptr,
long  theap,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffpunt ( fitsfile fptr,
const char *  keyname,
const char *  unit,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffrdef ( fitsfile fptr,
int *  status 
)

ReDEFine the structure of a data unit. This routine re-reads the CHDU header keywords to determine the structure and length of the current data unit. This redefines the start of the next HDU.

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API ffreopen ( fitsfile openfptr,
fitsfile **  newfptr,
int *  status 
)

Reopen an existing FITS file with either readonly or read/write access. The reopened file shares the same FITSfile structure but may point to a different HDU within the file.

Parameters
[in]openfptrFITS file pointer to open file
[out]newfptrpointer to new re opened file
[in,out]statuserror status

Here is the caller graph for this function:

void CFITS_API ffrprt ( FILE *  stream,
int  status 
)

Print out report of cfitsio error status and messages on the error stack. Uses C FILE stream.

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffrsim ( fitsfile fptr,
int  bitpix,
int  naxis,
long *  naxes,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffrsimll ( fitsfile fptr,
int  bitpix,
int  naxis,
LONGLONG naxes,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffrtnm ( char *  url,
char *  rootname,
int *  status 
)

parse the input URL, returning the root name (filetype://basename).

Here is the caller graph for this function:

int CFITS_API ffrwrg ( char *  rowlist,
LONGLONG  maxrows,
int  maxranges,
int *  numranges,
long *  minrow,
long *  maxrow,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffrwrgll ( char *  rowlist,
LONGLONG  maxrows,
int  maxranges,
int *  numranges,
LONGLONG minrow,
LONGLONG maxrow,
int *  status 
)

Here is the call graph for this function:

int ffs2dt ( char *  datestr,
int *  year,
int *  month,
int *  day,
int *  status 
)

Parse a date character string into year, month, and day values

Parameters
[in]datestrdate string: "YYYY-MM-DD" or "dd/mm/yy"
[in,out]yearyear (0 - 9999)
[in,out]monthmonth (1 - 12)
[in,out]dayday (1 - 31)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffs2tm ( char *  datestr,
int *  year,
int *  month,
int *  day,
int *  hour,
int *  minute,
double *  second,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffsnul ( fitsfile fptr,
int  colnum,
char *  nulstring,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffsrow ( fitsfile infptr,
fitsfile outfptr,
char *  expr,
int *  status 
)
int CFITS_API fftexp ( fitsfile fptr,
char *  expr,
int  maxdim,
int *  datatype,
long *  nelem,
int *  naxis,
long *  naxes,
int *  status 
)
int CFITS_API ffthdu ( fitsfile fptr,
int *  nhdu,
int *  status 
)

Return the number of HDUs that currently exist in the file.

Parameters
[in]fptrFITS file pointer
[out]nhdunumber of HDUs in the file
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fftheap ( fitsfile fptr,
LONGLONG heapsz,
LONGLONG unused,
LONGLONG overlap,
int *  valid,
int *  status 
)

Tests the contents of the binary table variable length array heap. Returns the number of bytes that are currently not pointed to by any of the descriptors, and also the number of bytes that are pointed to by more than one descriptor. It returns valid = FALSE if any of the descriptors point to addresses that are out of the bounds of the heap.

Parameters
[in]fptr
[out]heapszcurrent size of the heap
[out]unusedno. of unused bytes in the heap
[out]overlapno. of bytes shared by > 1 descriptors
[out]validare all the heap addresses valid?
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fftkey ( const char *  keyword,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fftm2s ( int  year,
int  month,
int  day,
int  hour,
int  minute,
double  second,
int  decimals,
char *  datestr,
int *  status 
)

Construct a date and time character string

Parameters
[in]yearyear (0 - 9999)
[in]monthmonth (1 - 12)
[in]dayday (1 - 31)
[in]hourhour (0 - 23)
[in]minuteminute (0 - 59)
[in]secondsecond (0. - 60.9999999)
[in]decimalsnumber of decimal points to write
[in,out]datestrdate string: "YYYY-MM-DDThh:mm:ss.ddd" or "hh:mm:ss.ddd" if year, month day = 0
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API fftnul ( fitsfile fptr,
int  colnum,
LONGLONG  nulvalue,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fftopn ( fitsfile **  fptr,
const char *  name,
int  mode,
int *  status 
)

Open an existing FITS file with either readonly or read/write access. and move to the first HDU that contains 'interesting' table (not an image).

Parameters
[out]fptrFITS file pointer
[in]namefull name of file to open
[in]mode0 = open readonly; 1 = read/write
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fftplt ( fitsfile **  fptr,
const char *  filename,
const char *  tempname,
int *  status 
)

Create and initialize a new FITS file based on a template file. Uses C fopen and fgets functions.

Parameters
[out]fptrFITS file pointer
[in]filenamename of file to create
[in]tempnamename of template file
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fftrec ( char *  card,
int *  status 
)

Test that the keyword card conforms to the FITS standard. Must contain only printable ASCII characters;

Parameters
[in]cardkeyword card to test
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fftscl ( fitsfile fptr,
int  colnum,
double  scale,
double  zeroval,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffucrd ( fitsfile fptr,
const char *  keyname,
const char *  card,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukfc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukfm ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukls ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffuky ( fitsfile fptr,
int  datatype,
const char *  keyname,
void *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffukyc ( fitsfile fptr,
const char *  keyname,
float *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukyd ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukye ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukyf ( fitsfile fptr,
const char *  keyname,
float  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukyg ( fitsfile fptr,
const char *  keyname,
double  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukyj ( fitsfile fptr,
const char *  keyname,
LONGLONG  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukyl ( fitsfile fptr,
const char *  keyname,
int  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukym ( fitsfile fptr,
const char *  keyname,
double *  value,
int  decim,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukys ( fitsfile fptr,
const char *  keyname,
const char *  value,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffukyu ( fitsfile fptr,
const char *  keyname,
const char *  comm,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void CFITS_API ffupch ( char *  string)

convert string to upper case, in place.

Here is the caller graph for this function:

int CFITS_API ffupck ( fitsfile fptr,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API ffurlt ( fitsfile fptr,
char *  urlType,
int *  status 
)

return the prefix string associated with the driver in use by the fitsfile pointer fptr

Here is the caller graph for this function:

int CFITS_API ffvcks ( fitsfile fptr,
int *  datastatus,
int *  hdustatus,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int ffverifydate ( int  year,
int  month,
int  day,
int *  status 
)

Verify that the date is valid

Parameters
[in]yearyear (0 - 9999)
[in]monthmonth (1 - 12)
[in]dayday (1 - 31)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

float CFITS_API ffvers ( float *  version)

return the current version number of the FITSIO software

Parameters
[in,out]versionversion number

Here is the caller graph for this function:

int CFITS_API ffwldp ( double  xpix,
double  ypix,
double  xref,
double  yref,
double  xrefpix,
double  yrefpix,
double  xinc,
double  yinc,
double  rot,
char *  type,
double *  xpos,
double *  ypos,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API ffwrhdu ( fitsfile fptr,
FILE *  outstream,
int *  status 
)

Here is the call graph for this function:

int CFITS_API ffxypx ( double  xpos,
double  ypos,
double  xref,
double  yref,
double  xrefpix,
double  yrefpix,
double  xinc,
double  yinc,
double  rot,
char *  type,
double *  xpix,
double *  ypix,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_calc_binning ( fitsfile fptr,
int  naxis,
char  colname[4][FLEN_VALUE],
double *  minin,
double *  maxin,
double *  binsizein,
char  minname[4][FLEN_VALUE],
char  maxname[4][FLEN_VALUE],
char  binname[4][FLEN_VALUE],
int *  colnum,
long *  haxes,
float *  amin,
float *  amax,
float *  binsize,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_compress_img ( fitsfile infptr,
fitsfile outfptr,
int  compress_type,
long *  tilesize,
int  parm1,
int  parm2,
int *  status 
)
int fits_compress_table ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

Compress the input FITS Binary Table.

First divide the table into equal sized chunks (analogous to image tiles) where all the contain the same number of rows (except perhaps for the last chunk which may contain fewer rows). The chunks should not be too large to copy into memory (currently, about 100 MB max seems a reasonable size).

Then, on a chunk by piece basis, do the following:

  1. Transpose the table from its original row-major order, into column-major order. All the bytes for each column are then continuous. In addition, the bytes within each table element may be shuffled so that the most significant byte of every element occurs first in the array, followed by the next most significant byte, and so on to the least significant byte. Byte shuffling often improves the gzip compression of floating-point arrays.
  2. Compress the contiguous array of bytes in each column using the specified compression method. If no method is specifed, then a default method for that data type is chosen.
  3. Store the compressed stream of bytes into a column that has the same name as in the input table, but which has a variable-length array data type (1QB). The output table will contain one row for each piece of the original table.
  4. If the input table contain variable-length arrays, then each VLA is compressed individually, and written to the heap in the output table. Note that the output table will contain 2 sets of pointers for each VLA column. The first set contains the pointers to the uncompressed VLAs from the input table and the second is the set of pointers to the compressed VLAs in the output table. The latter set of pointers is used to reconstruct table when it is uncompressed, so that the heap has exactly the same structure as in the original file. The 2 sets of pointers are concatinated together, compressed with gzip, and written to the output table. When reading the compressed table, the only VLA that is directly visible is this compressed array of descriptors. One has to uncompress this array to be able to to read all the descriptors to the individual VLAs in the column.

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_copy_cell2image ( fitsfile fptr,
fitsfile newptr,
char *  colname,
long  rownum,
int *  status 
)

Copy a table cell of a given row and column into an image extension. The output file must already have been created. A new image extension will be created in that file.

Author
This routine was written by Craig Markwardt, GSFC
Parameters
[in]fptrpoint to input table
[out]newptrexisting output file; new image HDU will be appended to it
[in]colnamecolumn name / number containing the image
[in]rownumnumber of the row containing the image
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_copy_image2cell ( fitsfile fptr,
fitsfile newptr,
char *  colname,
long  rownum,
int  copykeyflag,
int *  status 
)

Copy an image extension into a table cell at a given row and column. The table must have already been created. If the "colname" column exists, it will be used, otherwise a new column will be created in the table.

The "copykeyflag" parameter controls which keywords to copy from the input image to the output table header (with any appropriate translation).

copykeyflag = 0 – no keywords will be copied copykeyflag = 1 – essentially all keywords will be copied copykeyflag = 2 – copy only the WCS related keywords

Author
This routine was written by Craig Markwardt, GSFC
Parameters
[in]fptrpointer to input image extension
[in]newptrpointer to output table
[in]colnamename of column containing the image
[in]rownumnumber of the row containing the image
[in]copykeyflagcontrols which keywords to copy
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API fits_copy_image_section ( fitsfile fptr,
fitsfile newptr,
char *  expr,
int *  status 
)

copies an image section from the input file to a new output HDU

Parameters
[in]fptrpointer to input image
[in]newptrpointer to output image
[in]exprImage section expression

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_copy_pixlist2image ( fitsfile infptr,
fitsfile outfptr,
int  firstkey,
int  naxis,
int *  colnum,
int *  status 
)

Copy relevant keywords from the pixel list table header into a newly created primary array header. Convert names of keywords where appropriate. See fits_translate_pixkeyword() for the definitions.

Translation begins at header record number 'firstkey', and continues to the end of the header.

Parameters
[in]infptrpointer to input HDU
[in]outfptrpointer to output HDU
[in]firstkeyfirst HDU record number to start with
[in]naxisnumber of axes in the image
[in]colnumnumbers of the columns to be binned
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_decompress_img ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

THIS IS AN OBSOLETE ROUTINE. USE fits_img_decompress instead!!!

This routine decompresses the whole image and writes it to the output file.

Parameters
[in]infptrimage (bintable) to uncompress
[in]outfptrempty HDU for output uncompressed image
[in,out]statuserror status

Here is the call graph for this function:

int fits_delete_iraf_file ( const char *  filename,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_execute_template ( fitsfile ff,
char *  ngp_template,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_get_compression_type ( fitsfile fptr,
int *  ctype,
int *  status 
)

This routine returns the image compression algorithm that should be used when writing a FITS image. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]ctypeimage compression type code; allowed values: RICE_1, GZIP_1, GZIP_2, PLIO_1, HCOMPRESS_1, BZIP2_1
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_get_dither_seed ( fitsfile fptr,
int *  offset,
int *  status 
)

This routine returns the value of the dithering offset parameter that is used when compressing floating point images. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]offsetdithering offset parameter value
[in,out]statuserror status
int CFITS_API fits_get_hcomp_scale ( fitsfile fptr,
float *  scale,
int *  status 
)
int fits_get_hcomp_smooth ( fitsfile fptr,
int *  smooth,
int *  status 
)
Parameters
[in]fptrFITS file pointer
[in]smoothHcompress smooth parameter value
[in,out]statuserror status
int fits_get_noise_bits ( fitsfile fptr,
int *  noisebits,
int *  status 
)
Deprecated:
THIS ROUTINE IS PROVIDED ONLY FOR BACKWARDS COMPATIBILITY; ALL NEW SOFTWARE SHOULD CALL fits_set_quantize_level INSTEAD

This routine returns the value of the noice_bits parameter that should be used when compressing floating point images. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Since
Feb 2008: code changed to use the more general "quantize level" parameter rather than the "noise bits" parameter. If quantize level is greater than zero, then the previous noisebits parameter is approximately given by

This result is rounded to the nearest integer.

Parameters
[in]fptrFITS file pointer
[in]noisebitsnoise_bits parameter value (default = 4). noise bits = natural logarithm (quantize level) / natural log (2).
[in,out]statuserror status
int fits_get_quantize_level ( fitsfile fptr,
float *  qlevel,
int *  status 
)

This routine returns the value of the noice_bits parameter that should be used when compressing floating point images. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]qlevelquantize level parameter value
[in,out]statuserror status
int CFITS_API fits_get_section_range ( char **  ptr,
long *  secmin,
long *  secmax,
long *  incre,
int *  status 
)

Parse the input image section specification string, returning the min, max and increment values. Typical string = "1:512:2" or "1:512"

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_get_tile_dim ( fitsfile fptr,
int  ndim,
long *  dims,
int *  status 
)

This routine returns the size (dimension) of the image compression tiles that should be used when writing a FITS image. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]ndimnumber of dimensions in the compressed image
[in]dimssize of image compression tile in each dimension default tile size = (NAXIS1, 1, 1, ...)
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API fits_get_token ( char **  ptr,
char *  delimiter,
char *  token,
int *  isanumber 
)

parse off the next token, delimited by a character in 'delimiter', from the input ptr string; increment *ptr to the end of the token. Returns the length of the token, not including the delimiter char;

Parameters
[out]isanumberis this token a number?

Here is the caller graph for this function:

int CFITS_API fits_get_token2 ( char **  ptr,
char *  delimiter,
char **  token,
int *  isanumber,
int *  status 
)

parse off the next token, delimited by a character in 'delimiter', from the input ptr string; increment *ptr to the end of the token. Returns the length of the token, not including the delimiter char;

This routine allocates the *token string; the calling routine must free it

Parameters
[out]isanumberis this token a number?

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_hcompress ( int *  a,
int  nx,
int  ny,
int  scale,
char *  output,
long *  nbytes,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_hcompress64 ( LONGLONG a,
int  nx,
int  ny,
int  scale,
char *  output,
long *  nbytes,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_hdecompress ( unsigned char *  input,
int  smooth,
int *  a,
int *  nx,
int *  ny,
int *  scale,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_hdecompress64 ( unsigned char *  input,
int  smooth,
LONGLONG a,
int *  nx,
int *  ny,
int *  scale,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_img_compress ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

This routine initializes the output table, copies all the keywords, and loops through the input image, compressing the data and writing the compressed tiles to the output table.

This is a high level routine that is called by the fpack and funpack FITS compression utilities.

Parameters
[in]infptrpointer to image to be compressed
[in]outfptrempty HDU for output compressed image
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_img_decompress ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

This routine decompresses the whole image and writes it to the output file.

Parameters
[in]infptrimage (bintable) to uncompress
[in]outfptrempty HDU for output uncompressed image
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_img_decompress_header ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

This routine reads the header of the input tile compressed image and converts it to that of a standard uncompress FITS image.

Parameters
[in]infptrimage (bintable) to uncompress
[in]outfptrempty HDU for output uncompressed image
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_img_stats_float ( float *  array,
long  nx,
long  ny,
int  nullcheck,
float  nullvalue,
long *  ngoodpix,
float *  minvalue,
float *  maxvalue,
double *  mean,
double *  sigma,
double *  noise1,
double *  noise2,
double *  noise3,
double *  noise5,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_img_stats_int ( int *  array,
long  nx,
long  ny,
int  nullcheck,
int  nullvalue,
long *  ngoodpix,
int *  minvalue,
int *  maxvalue,
double *  mean,
double *  sigma,
double *  noise1,
double *  noise2,
double *  noise3,
double *  noise5,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_img_stats_short ( short *  array,
long  nx,
long  ny,
int  nullcheck,
short  nullvalue,
long *  ngoodpix,
short *  minvalue,
short *  maxvalue,
double *  mean,
double *  sigma,
double *  noise1,
double *  noise2,
double *  noise3,
double *  noise5,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_init_cfitsio ( void  )

initialize anything that is required before using the CFITSIO routines

Here is the caller graph for this function:

int CFITS_API fits_is_compressed_image ( fitsfile fptr,
int *  status 
)

Returns TRUE if the CHDU is a compressed image, else returns zero.

Parameters
[in]fptrFITS file pointer
[in,out]statuserror status

Here is the call graph for this function:

int CFITS_API fits_is_reentrant ( void  )

Was CFITSIO compiled with the -D_REENTRANT flag? 1 = yes, 0 = no. Note that specifying the -D_REENTRANT flag is required, but may not be sufficient, to ensure that CFITSIO can be safely used in a multi-threaded environoment.

void CFITS_API* fits_iter_get_array ( iteratorCol col)

Here is the caller graph for this function:

char CFITS_API* fits_iter_get_colname ( iteratorCol col)
int CFITS_API fits_iter_get_colnum ( iteratorCol col)
int CFITS_API fits_iter_get_datatype ( iteratorCol col)

Here is the caller graph for this function:

CFITS_API fitsfile* fits_iter_get_file ( iteratorCol col)
int CFITS_API fits_iter_get_iotype ( iteratorCol col)
long CFITS_API fits_iter_get_repeat ( iteratorCol col)

Here is the caller graph for this function:

char CFITS_API* fits_iter_get_tdisp ( iteratorCol col)
long CFITS_API fits_iter_get_tlmax ( iteratorCol col)
long CFITS_API fits_iter_get_tlmin ( iteratorCol col)
char CFITS_API* fits_iter_get_tunit ( iteratorCol col)
int CFITS_API fits_iter_set_by_name ( iteratorCol col,
fitsfile fptr,
char *  colname,
int  datatype,
int  iotype 
)

Here is the caller graph for this function:

int CFITS_API fits_iter_set_by_num ( iteratorCol col,
fitsfile fptr,
int  colnum,
int  datatype,
int  iotype 
)

Here is the caller graph for this function:

int CFITS_API fits_iter_set_colname ( iteratorCol col,
char *  colname 
)
int CFITS_API fits_iter_set_colnum ( iteratorCol col,
int  colnum 
)
int CFITS_API fits_iter_set_datatype ( iteratorCol col,
int  datatype 
)

Here is the caller graph for this function:

int CFITS_API fits_iter_set_file ( iteratorCol col,
fitsfile fptr 
)

Here is the caller graph for this function:

int CFITS_API fits_iter_set_iotype ( iteratorCol col,
int  iotype 
)

Here is the caller graph for this function:

int CFITS_API fits_make_hist ( fitsfile fptr,
fitsfile histptr,
int  bitpix,
int  naxis,
long *  naxes,
int *  colnum,
float *  amin,
float *  amax,
float *  binsize,
float  weight,
int  wtcolnum,
int  recip,
char *  selectrow,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_pixel_filter ( PixelFilter filter,
int *  status 
)

Here is the caller graph for this function:

int CFITS_API fits_read_wcstab ( fitsfile fptr,
int  nwtb,
wtbarr wtb,
int *  status 
)
int CFITS_API fits_rebin_wcs ( fitsfile fptr,
int  naxis,
float *  amin,
float *  binsize,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_select_image_section ( fitsfile **  fptr,
char *  outfile,
char *  expr,
int *  status 
)

copies an image section from the input file to a new output file. Any HDUs preceding or following the image are also copied to the output file.

Parameters
[in,out]fptrpointer to input image; on output it points to the new subimage
[in]outfilename for output file
[in]exprImage section expression

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_set_compression_pref ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

Set the preference for various compression options, based on keywords in the input file that provide guidance about how the HDU should be compressed when written to the output file.

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_set_compression_type ( fitsfile fptr,
int  ctype,
int *  status 
)

This routine specifies the image compression algorithm that should be used when writing a FITS image. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]ctypemage compression type code; allowed values: RICE_1, GZIP_1, GZIP_2, PLIO_1, HCOMPRESS_1, BZIP2_1, and NOCOMPRESS
[in,out]status)error status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_set_dither_offset ( fitsfile fptr,
int  offset,
int *  status 
)

The name of this routine has changed. This is kept just for backwards compatibility with any software that calls the old name

Parameters
[in]fptrFITS file pointer
[in]offsetrandom dithering offset value (1 to 10000)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_set_dither_seed ( fitsfile fptr,
int  seed,
int *  status 
)

This routine specifies the value of the offset that should be applied when calculating the random dithering when quantizing floating point iamges. A random offset should be applied to each image to avoid quantization effects when taking the difference of 2 images, or co-adding a set of images. Without this random offset, the corresponding pixel in every image will have exactly the same dithering.

offset = 0 means use the default random dithering based on system time offset = negative means randomly chose dithering based on 1st tile checksum offset = [1 - 10000] means use that particular dithering pattern

Parameters
[in]fptrFITS file pointer
[in]seedrandom dithering seed value (1 to 10000)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_set_hcomp_scale ( fitsfile fptr,
float  scale,
int *  status 
)

This routine specifies the value of the hcompress scale parameter.

Parameters
[in]fptrFITS file pointer
[in]scalehcompress scale parameter value (default = 0.)
[in,out]statuserror status

Here is the caller graph for this function:

int fits_set_hcomp_smooth ( fitsfile fptr,
int  smooth,
int *  status 
)

This routine specifies the value of the hcompress scale parameter.

Parameters
[in]fptrFITS file pointer
[in]smoothhcompress smooth parameter value if scale > 1 and smooth != 0, then the image will be smoothed when it is decompressed to remove some of the 'blockiness' in the image produced by the lossy compression
[in,out]statuserror status

Here is the caller graph for this function:

int fits_set_huge_hdu ( fitsfile fptr,
int  huge,
int *  status 
)

This routine specifies whether the HDU that is being compressed is so large (i.e., > 4 GB) that the 'Q' type variable length array columns should be used rather than the normal 'P' type. The allows the heap pointers to be stored as 64-bit quantities, rather than just 32-bits.

Parameters
[in]fptrFITS file pointer
[in]hugeTrue (!= 0) or False (0)
[in,out]statuserror status

Here is the caller graph for this function:

int fits_set_lossy_int ( fitsfile fptr,
int  lossy_int,
int *  status 
)

This routine specifies whether images with integer pixel values should quantized and compressed the same way float images are compressed. The default is to not do this, and instead apply a lossless compression algorithm to integer images.

Parameters
[in]fptrFITS file pointer
[in]lossy_intTrue (!= 0) or False (0)
[in,out]statuserror status

Here is the caller graph for this function:

int fits_set_noise_bits ( fitsfile fptr,
int  noisebits,
int *  status 
)

THIS ROUTINE IS PROVIDED ONLY FOR BACKWARDS COMPATIBILITY; ALL NEW SOFTWARE SHOULD CALL fits_set_quantize_level INSTEAD

This routine specifies the value of the noice_bits parameter that should be used when compressing floating point images. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Since
Feb 2008: the "noisebits" parameter has been replaced with the more general "quantize level" parameter.
Parameters
[in]fptrFITS file pointer
[in]noisebitsnoise_bits parameter value (default = 4)
[in,out]statuserror status

Here is the call graph for this function:

int fits_set_quantize_dither ( fitsfile fptr,
int  dither,
int *  status 
)

the name of this routine has changed. This is kept here only for backwards compatibility for any software that may be calling the old routine.

Parameters
[in]fptrFITS file pointer
[in]ditherdither type
[in,out]statuserror status

Here is the call graph for this function:

int fits_set_quantize_level ( fitsfile fptr,
float  qlevel,
int *  status 
)

This routine specifies the value of the quantization level, q, that should be used when compressing floating point images. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]qlevelfloating point quantization level
[in,out]statuserror status

Here is the caller graph for this function:

int fits_set_quantize_method ( fitsfile fptr,
int  method,
int *  status 
)

This routine specifies what type of dithering (randomization) should be performed when quantizing floating point images to integer prior to compression. A value of -1 means do no dithering. A value of 0 means use the default SUBTRACTIVE_DITHER_1 (which is equivalent to dither = 1). A value of 2 means use SUBTRACTIVE_DITHER_2.

Parameters
[in]fptrFITS file pointer
[in]methodquantization method
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_set_tile_dim ( fitsfile fptr,
int  ndim,
long *  dims,
int *  status 
)

This routine specifies the size (dimension) of the image compression tiles that should be used when writing a FITS image. The image is divided into tiles, and each tile is compressed and stored in a row of at variable length binary table column.

Parameters
[in]fptrFITS file pointer
[in]ndimnumber of dimensions in the compressed image
[in]dimssize of image compression tile in each dimension default tile size = (NAXIS1, 1, 1, ...)
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

char CFITS_API* fits_split_names ( char *  list)

A sequence of calls to fits_split_names will split the input string into name tokens. The string typically contains a list of file or column names. The names must be delimited by a comma and/or spaces. This routine ignores spaces and commas that occur within parentheses, brackets, or curly brackets. It also strips any leading and trailing blanks from the returned name.

This routine is similar to the ANSI C 'strtok' function:

The first call to fits_split_names has a non-null input string. It finds the first name in the string and terminates it by overwriting the next character of the string with a '\0' and returns a pointer to the name. Each subsequent call, indicated by a NULL value of the input string, returns the next name, searching from just past the end of the previous name. It returns NULL when no further names are found.

The following line illustrates how a string would be split into 3 names: myfile[1][bin (x,y)=4], file2.fits file3.fits ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ 1st name 2nd name 3rd name

NOTE: This routine is not thread-safe. This routine is simply provided as a utility routine for other external software. It is not used by any CFITSIO routine.

Parameters
[in]listinput list of names
int CFITS_API fits_translate_keyword ( char *  inrec,
char *  outrec,
char *  patterns[][2],
int  npat,
int  n_value,
int  n_offset,
int  n_range,
int *  pat_num,
int *  i,
int *  j,
int *  m,
int *  n,
int *  status 
)

Translate a keyword name to a new name, based on a set of patterns. The user passes an array of patterns to be matched. Input pattern number i is pattern[i][0], and output pattern number i is pattern[i][1]. Keywords are matched against the input patterns. If a match is found then the keyword is re-written according to the output pattern.

Order is important. The first match is accepted. The fastest match will be made when templates with the same first character are grouped together.

Several characters have special meanings:

 i,j - single digits, preserved in output template
 n - column number of one or more digits, preserved in output template
 m - generic number of one or more digits, preserved in output template
 a - coordinate designator, preserved in output template
 # - number of one or more digits
 ? - any character
   - only allowed in first character position, to match all
     keywords; only useful as last pattern in the list

i, j, n, and m are returned by the routine.

For example, the input pattern "iCTYPn" will match "1CTYP5" (if n_value is 5); the output pattern "CTYPEi" will be re-written as "CTYPE1". Notice that "i" is preserved.

The following output patterns are special

Special output pattern characters:

"-" - do not copy a keyword that matches the corresponding input pattern

"+" - copy the input unchanged

The inrec string could be just the 8-char keyword name, or the entire 80-char header record. Characters 9 = 80 in the input string simply get appended to the translated keyword name.

If n_range = 0, then only keywords with 'n' equal to n_value will be considered as a pattern match. If n_range = +1, then all values of 'n' greater than or equal to n_value will be a match, and if -1, then values of 'n' less than or equal to n_value will match.

This routine was written by Craig Markwardt, GSFC

Parameters
[in]inrecinput string
[out]outrecoutput converted string, or a null string if input does not match any of the patterns
[in]patternspointer to input / output string
[in]npatnumber of templates passed
[in]n_valuebase 'n' template value of interest
[in]n_offsetoffset to be applied to the 'n'
[in]n_rangecontrols range of 'n' template
[out]pat_nummatched pattern number (0 based) or -1
[out]ivalue of i, if any, else 0
[out]jvalue of j, if any, else 0
[out]mvalue of m, if any, else 0
[out]nvalue of n, if any, else 0
[in,out]status)/* IO - error status

Here is the caller graph for this function:

int CFITS_API fits_translate_keywords ( fitsfile infptr,
fitsfile outfptr,
int  firstkey,
char *  patterns[][2],
int  npat,
int  n_value,
int  n_offset,
int  n_range,
int *  status 
)

Copy relevant keywords from the table header into the newly created primary array header. Convert names of keywords where appropriate. See fits_translate_keyword() for the definitions.

Translation begins at header record number 'firstkey', and continues to the end of the header.

This routine was written by Craig Markwardt, GSFC

Parameters
[in]infptrpointer to input HDU
[in]outfptrpointer to output HDU
[in]firstkeyfirst HDU record number to start with
[in]patternspointer to input / output keyword templates
[in]npatnumber of templates passed
[in]n_valuebase 'n' template value of interest
[in]n_offsetoffset to be applied to the 'n'
[in]n_rangecontrols range of 'n' template
[in,out]statuserror status

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_uncompress_table ( fitsfile infptr,
fitsfile outfptr,
int *  status 
)

Uncompress the table that was compressed with fits_compress_table

Here is the call graph for this function:

Here is the caller graph for this function:

int CFITS_API fits_write_keys_histo ( fitsfile fptr,
fitsfile histptr,
int  naxis,
int *  colnum,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function: