Directory: general/misc/SSW/fits/
Contents
.pro files
- fits_close.pro
NAME: FITS_CLOSE*PURPOSE: Close a FITS data file*CATEGORY: INPUT/OUTPUT*CALLING SEQUENCE: FITS_CLOSE,fcb*INPUTS: FCB: FITS control block returned by FITS_OPEN.
- fits_open.pro
NAME: FITS_OPEN PURPOSE: Opens a FITS (Flexible Image Transport System) data file.
- fits_read.pro
NAME: FITS_READ PURPOSE: To read a FITS file.
- get_pipe_filesize.pro
- gettok.pro
NAME: GETTOK PURPOSE: Retrieve the first part of a (vector) string up to a specified character EXPLANATION: GET TOKen - Retrieve first part of string until the character char is encountered.
- hprint.pro
NAME: HPRINT PURPOSE: Display a FITS header (or other string array) EXPLANATION: On a GUI terminal, the string array is displayed using XDISPSTR.
- mrd_skip.pro
NAME: MRD_SKIP PURPOSE: Skip a number of bytes from the current location in a file or a pipe EXPLANATION: First tries using POINT_LUN and if this doesn't work, perhaps because the unit is a pipe or a socket, MRD_SKIP will just read in the requisite number of bytes.
- readfits.pro
NAME: READFITS PURPOSE: Read a FITS file into IDL data and header variables.
- repchr.pro
NAME: REPCHR PURPOSE: Replace all occurrences of one character with another in a text string.
- sxaddpar.pro
NAME: SXADDPAR PURPOSE: Add or modify a parameter in a FITS header array.
- sxdelpar.pro
NAME: SXDELPAR PURPOSE: Procedure to delete a keyword parameter(s) from a FITS header CALLING SEQUENCE: sxdelpar, h, parname INPUTS: h - FITS or STSDAS header, string array parname - string or string array of keyword name(s) to delete OUTPUTS: h - updated FITS header, If all lines are deleted from the header, then h is returned with a value of 0 EXAMPLE: Delete the astrometry keywords CDn_n from a FITS header, h IDL> sxdelpar, h, ['CD1_1','CD1_2','CD2_1','CD2_2'] NOTES: (1) No message is returned if the keyword to be deleted is not found (2) All appearances of a keyword in the header will be deleted HISTORY: version 1 D.
- sxpar.pro
NAME: SXPAR PURPOSE: Obtain the value of a parameter in a FITS header CALLING SEQUENCE: result = SXPAR( Hdr, Name, [ Abort, COUNT=, COMMENT =, /NoCONTINUE, /SILENT ]) INPUTS: Hdr = FITS header array, (e.g.
- valid_num.pro
NAME: VALID_NUM() PURPOSE: Check if a string is a valid number representation.