yorick banner

Home

Manual

Packages

Global Index

Keywords

Quick Reference

functions in fits.i - _

 
 
 
_fits_alphabet


 _fits_alphabet  
 
keyword,  defined at i/fits.i   line 2750  
SEE _fits_digitize  
 
 
 
_fits_bad_keyword


             _fits_bad_keyword(c)  
 
     Returns error message due to invalid FITS keyword.  C is an array of  
     characters that compose the bad FITS keyword.  
interpreted function, defined at i/fits.i   line 2602  
SEE ALSO: fits_id,   fits_read_header  
 
 
 
_fits_bintable_header


             _fits_bintable_header(fh, nbytes, nrows, tfields)  
 
     Set/update header  information in  FITS handle FH  for a  binary table  
     extension.  NBYTES is the number of  bytes per row of the table, NROWS  
     is  the number  of table  rows  and TFIELDS  is the  number of  fields  
     (columns in  the table).  FITS  card "XTENSION" with  value "BINTABLE"  
     must already exists  in the header (this is  not checked).  FITS cards  
     "BITPIX",  "NAXIS",   "NAXIS1",  "NAXIS2",  "PCOUNT",   "GCOUNT",  and  
     "TFIELDS" get created/updated by this routine.  The value of PCOUNT is  
     computed by the routine and returned to the caller.  
interpreted function, defined at i/fits.i   line 2076  
SEE ALSO: fits,   fits_new_bintable,   fits_write_bintable  
 
 
 
_fits_digitize


             _fits_digitize   - char -> number conversion array;  
             _fits_multiplier - multiplier;  
             _fits_alphabet   - allowed characters in FITS keys;  
             _fits_max_id     - maximum possible ID value.  
 
     Private  arrays  used  to   convert  FITS  keyword  to/from  numerical  
     identifiers.  If you experiment  a strange behaviour of FITS routines,  
     it may  be because one  of these arrays  get corrupted; in  that case,  
     just  run subroutine fits_init  to reinitialize  things (you  may also  
     have to rehash your FITS handles: see fits_rehash).  
keyword,  defined at i/fits.i   line 2750  
SEE ALSO: fits,   fits_init,   fits_rehash,   fits_id,  
fits_key  
 
 
 
_fits_false


 _fits_false  
 
keyword,  defined at i/fits.i   line 2743  
SEE _fits_true  
 
 
 
_fits_format_comment


             _fits_format_comment(key)  
 
       -or- _fits_format_comment(key, text)  
     Private routine  to format  FITS commentary card,  return an  array of  
     80-character string(s).   Text comment, if longer  than 72 characters,  
     will result in more than one comment cards.  
interpreted function, defined at i/fits.i   line 1423  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_format_complex


             _fits_format_complex(key, value)  
 
       -or- _fits_format_complex(key, value, comment)  
     Private routine to format FITS complex card, return a 80-character  
     string.  
interpreted function, defined at i/fits.i   line 1370  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_format_integer


             _fits_format_integer(key, value)  
 
       -or- _fits_format_integer(key, value, comment)  
     Private routine to format FITS integer card, return a 80-character  
     string.  
interpreted function, defined at i/fits.i   line 1340  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_format_logical


             _fits_format_logical(key, value)  
 
       -or- _fits_format_logical(key, value, comment)  
     Private  routine to format  FITS logical  card, return  a 80-character  
     string.  
interpreted function, defined at i/fits.i   line 1325  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_format_real


             _fits_format_real(key, value)  
 
       -or- _fits_format_real(key, value, comment)  
     Private routine to format FITS real card, return a 80-character  
     string.  
     Note: FITS standard imposes that the ASCII representation of a real  
           number makes 20 characters;  the full precision of 64-bit values  
           can not be represented with this restriction.  
interpreted function, defined at i/fits.i   line 1352  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_format_string


             _fits_format_string(key, value)  
 
       -or- _fits_format_string(key, value, comment)  
     Private routine to format FITS string card, return a 80-character  
     string.  
     Note: enclose input string in quotes, replacing each quote in input  
           string by 2 quotes.  Since opening quote should appear in  
           column 11 and closing quote in columns 20 to 80 of the FITS  
           card, make sure that string is not longer than 68 characters  
           (too long strings get silently truncated).  
interpreted function, defined at i/fits.i   line 1383  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_get_cards


             _fits_get_cards(fh, cards, ids)  
 
     Stores  in  variables CARDS  and  IDS  the  FITS cards  and  numerical  
     identifiers from header in FITS  handle FH.  The returned value is the  
     number of FITS cards (including empty ones).  
interpreted function, defined at i/fits.i   line 1284  
SEE ALSO: fits,   fits_set  
 
 
 
_fits_id


             _fits_id(hdr)  
 
     Return array  of numerical identifier  for FITS header data  HDR which  
     must be  an array(char, 80,  N).  Any invalid  FITS key will  have its  
     identifier set to -1.  
interpreted function, defined at i/fits.i   line 2626  
SEE ALSO: fits,   fits_id,   fits_key,   fits_rehash  
 
 
 
_fits_id_bitpix


 _fits_id_bitpix  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_bscale


 _fits_id_bscale  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_bzero


 _fits_id_bzero  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_comment


 _fits_id_comment  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_end


 _fits_id_end  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_gcount


 _fits_id_gcount  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_history


 _fits_id_history  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_naxis


 _fits_id_naxis  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_pcount


 _fits_id_pcount  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_id_simple


             _fits_id_simple    _fits_id_bitpix   _fits_id_naxis  
             _fits_id_end       _fits_id_comment  _fits_id_history  
             _fits_id_xtension  _fits_id_bscale   _fits_id_bzero  
             _fits_id_gcount    _fits_id_pcount  
 
     Numerical  identifers of  common FITS  keywords. If  you  experiment a  
     strange behaviour  of FITS  routines, it may  be because one  of these  
     values get corrupted;  in that case, just run  subroutine fits_init to  
     reinitialize things.  
keyword,  defined at i/fits.i   line 2763  
SEE ALSO: fits,   fits_init  
 
 
 
_fits_id_special


             _fits_id_special  
 
     Private  array  of  all  numerical  identifers of  common  FITS  keys:  
     "SIMPLE",  "BITPIX",  "NAXIS", "END",  "",  "COMMENT", "HISTORY",  and  
     "XTENSION".  
keyword,  defined at i/fits.i   line 2777  
SEE ALSO: fits,   fits_init  
 
 
 
_fits_id_xtension


 _fits_id_xtension  
 
keyword,  defined at i/fits.i   line 2763  
SEE _fits_id_simple  
 
 
 
_fits_key


             _fits_key(id)  
 
     Private routine used by fits_key, only  useful if ID is a valid scalar  
     numerical identifier.  
interpreted function, defined at i/fits.i   line 2654  
SEE ALSO: fits_key  
 
 
 
_fits_match_id


             fits_match(fh, pattern)  
 
     Return array of int's which are non-zero where FITS card names in FITS  
     handle  FH  match PATTERN.   PATTERN  must be  a  scalar  string or  a  
     numerical identifier.  As a  special case, if  PATTERN is of  the form  
     "KEYWORD#" (i.e.  last character of  PATTERN is a '#'), then any human  
     readable integer will match the '#', e.g. "NAXIS#" will match "NAXIS3"  
     and "NAXIS11" but not "NAXIS" nor "QNAXIS4.  
     Global/extern  variable  _fits_match_id  is  set  with  the  numerical  
     identifier of PATTERN (without last '#' if any).  
keyword,  defined at i/fits.i   line 2504  
SEE ALSO: fits,   fits_get_cards,   fits_rehash  
 
 
 
_fits_max_id


 _fits_max_id  
 
keyword,  defined at i/fits.i   line 2750  
SEE _fits_digitize  
 
 
 
_fits_multiplier


 _fits_multiplier  
 
keyword,  defined at i/fits.i   line 2750  
SEE _fits_digitize  
 
 
 
_fits_parse_comment


             fits_parse(card);  
 
       -or- fits_parse(card, id);  
     Return value  of a single  FITS card (CARD  is a scalar  string).  The  
     type of the scalar result is as follow:  
        - string for a string or a commentary FITS card  
        - char ('T' for true or 'F' for false) for a logical FITS card  
        - long for an integer FITS card  
        - double for a real FITS card  
        - complex for a complex FITS card  
     In order to save a call to  fits_id, if ID is non-nil it is assumed to  
     be the numerical identifier of the card, i.e. fits_id(CARD).  
     The   comment  part   of   CARD  is   stored   into  external   symbol  
     _fits_parse_comment which is a string (possibly nil) for a valued card  
     and void (i.e. []) for a commentary card.  
     If the  SAFE keyword is true,  the routine returns an  empty result in  
     case of error.  
keyword,  defined at i/fits.i   line 2339  
SEE ALSO: fits,   fits_get,   fits_id  
 
 
 
_fits_strict


             _fits_strict  
 
     Private flag: apply strict FITS compliance?  Never change this flag  
     directly but rather call `fits_init'.  
keyword,  defined at i/fits.i   line 2785  
SEE ALSO: fits,   fits_init  
 
 
 
_fits_strjoin


 _fits_strjoin  
 
  
interpreted function, defined at i/fits.i   line 3060  
 
 
 
_fits_strsplit


 _fits_strsplit  
 
  
interpreted function, defined at i/fits.i   line 3067  
 
 
 
_fits_tolower


             _fits_tolower  
             _fits_toupper  
 
     Private arrays to convert char to upper/lowercase letters.  
keyword,  defined at i/fits.i   line 2108  
SEE ALSO: fits,   fits_tolower,   fits_toupper  
 
 
 
_fits_toupper


 _fits_toupper  
 
keyword,  defined at i/fits.i   line 2108  
SEE _fits_tolower  
 
 
 
_fits_true


             _fits_true  
             _fits_false  
 
     True/false FITS values ('T' and 'F' respectively). */  
keyword,  defined at i/fits.i   line 2743  
 
 
 
_fits_warn


             _fits_warn, msg;  
 
     Private FITS routine: print out warning message MSG. */  
interpreted function, defined at i/fits.i   line 768