# doc-cache created by Octave 4.0.0
# name: cache
# type: cell
# rows: 3
# columns: 3
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 15
read_fits_image


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1299
 -- Function File: [IMAGE,HEADER] = read_fits_image(FILENAME,HDU)
     Read FITS file FILENAME and return image data in IMAGE, and the
     image header in HEADER.

     size(IMAGE) will return NAXIS1 NAXIS2 ...  NAXISN.

     FILENAME can be concatenated with filters provided by libcfitsio.
     See:<http://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node81.html>

     Examples:

     1.  If the file contains a single image, read_fits_image(
     "filename" ) will store the data into a 2d double matrix.

     2.  If the file contains a data cube (continous data, no
     exentions!), read_fits_image( "filename" ) will store the whole
     data cube into a 3d array.

     3.  If the file contains a data cube, then read_fits_image(
     "filename[*,*,2:5]" ) will read the 2nd, 3rd, 4th, and 5th image,
     and store them into a 3d array.

     4.  If the file contains multiple image extensions, then
     read_fits_image( "filename[5]" ) will read the 5th image.  This is
     equivalent to read_fits_image( "filename", 5 ).

     NOTE: It's only possible to read one extension (HDU) at a time,
     i.e.  multi-extension files need to be read in a loop.

     See also: save_fits_image, save_fits_image_multi_ext.  Copyright
     (c) 2009-2015, Dirk Schmidt <fs@dirk-schmidt.net>


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Read FITS file FILENAME and return image data in IMAGE, and the image
header in 



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 15
save_fits_image


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 704
 -- Function File: save_fits_image(FILENAME, IMAGE, BIT_PER_PIXEL)
     Write IMAGE to FITS file FILENAME.

     Datacubes will be saved with NAXIS=3.

     The optional parameter BIT_PER_PIXEL specifies the data type of the
     pixel values.  Accepted string values are BYTE_IMG, SHORT_IMG,
     LONG_IMG, LONGLONG_IMG, FLOAT_IMG, and DOUBLE_IMG (default).
     Alternatively, corresponding numbers may be passed, i.e.  8, 16,
     32, 64, -32, and -64.

     Use a preceding exclamation mark (!)  in the filename to overwirte
     an existing file.

     Lossless file compression can be used by adding the suffix '.gz' to
     the filename.

     See also: save_fits_image_multi_ext, read_fits_image.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 34
Write IMAGE to FITS file FILENAME.



# name: <cell-element>
# type: sq_string
# elements: 1
# length: 25
save_fits_image_multi_ext


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 727
 -- Function File: save_fits_image_multi_ext(FILENAME, IMAGE,
          BIT_PER_PIXEL)
     Write IMAGE to FITS file FILENAME.

     Datacubes will be saved as multi-image extensions.

     The optional parameter BIT_PER_PIXEL specifies the data type of the
     pixel values.  Accepted string values are BYTE_IMG, SHORT_IMG,
     LONG_IMG, LONGLONG_IMG, FLOAT_IMG, and DOUBLE_IMG (default).
     Alternatively, corresponding numbers may be passed, i.e.  8, 16,
     32, 64, -32, and -64.

     Use a preceding exclamation mark (!)  in the filename to overwirte
     an existing file.

     Lossless file compression can be used by adding the suffix '.gz' to
     the filename.

     See also: save_fits_image, read_fits_image.


# name: <cell-element>
# type: sq_string
# elements: 1
# length: 34
Write IMAGE to FITS file FILENAME.





