diff options
Diffstat (limited to 'funtools/fitsy/doc/examples.wu')
-rw-r--r-- | funtools/fitsy/doc/examples.wu | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/funtools/fitsy/doc/examples.wu b/funtools/fitsy/doc/examples.wu deleted file mode 100644 index 23e8d25..0000000 --- a/funtools/fitsy/doc/examples.wu +++ /dev/null @@ -1,36 +0,0 @@ -Here is an example of writing a FITS image. - - header = ft_imagehead(simple, bitpix, naxis, ax1, ax2, ...); - ft_imagewite(file, header, data, bitpix); - - These routines allow access to complete multiextension - FITS files. If bitpix is given as 0 no data will be read - in on the first pass. If bitpix is specified the data - blocks will be read and converted (if images) to the given - type. If the file is not seekable the data will be - buffered in any event. - - FITSFile = ft_fileopen(filenamei, bitpix); - FITSFile = ft_fileread(file, bitpix); - - hdu = ft_filematch(fitsfile, hduname); - - ft_filehduhead(fitsfile, hdu); - ft_filehdudata(fitsfile, hdu); - - ft_filevali(fitsfile, hdu, name, n, &card); - ft_fileseti(fitsfile, hdu, name, n, &card); - ft_fileappi(fitsfile, hdu, name, n); - - data = ft_fileimageread(fitsfile, bitpix); - - data = ft_filetableload(fitsfile) - data = ft_filetablerowload(fitsfile, row); - - Toss in xx_alloc and get 1, 2, 3 dim edges. - Toss in acht and get type changes. - - Add macros for all struct value access + - ft_headblocks(head) - ft_datablocks(head) - |