Cfitsio Toolkit - Functions
The following functions are available:
High Level File Functions
fitsdisp | Display metadata about fits format file |
fitsinfo | Read information about fits format file |
fitsread | Read the primary data, or specified extension data. |
fitswrite | Write image data DATA to FITS file FILENAME. |
Low Level File Functions
matlab.io.fits.createFile | Attempt to create a file of the given input name. |
matlab.io.fits.openFile | Attempt to open a file of the given input name. |
matlab.io.fits.openDiskFile | Attempt to open a file of the given input name, ignoring any special processi... |
matlab.io.fits.fileMode | Return the file mode of the opened fits file. |
matlab.io.fits.fileName | Return the file name of the opened fits file. |
matlab.io.fits.closeFile | Close the opened fits file |
matlab.io.fits.deleteFile | Force a close and delete of a fits file. |
Low Level HDU Functions
matlab.io.fits.copyHDU | Copy current HDU from one infile to another. |
matlab.io.fits.getHDUnum | Return the index of the current HDU. |
matlab.io.fits.getHDUtype | Return the current HDUs type as a string. |
matlab.io.fits.getHDUoff | Return offsets of the current HDU. |
matlab.io.fits.getNumHDUs | Return the count of HDUs in the file. |
matlab.io.fits.movAbsHDU | Go to absolute HDU index HDUNUM |
matlab.io.fits.movRelHDU | Go to relative HDU index HDUNUM. |
matlab.io.fits.movNamHDU | Go to HDU matching HDUTYPE, EXTNAME, EXTVER. |
matlab.io.fits.deleteHDU | Delete the current HDU and go to next HDU. |
matlab.io.fits.writeChecksum | Recalculate the HDU checksum and if required, write the new value. |
Low Level Keyword Functions
matlab.io.fits.getHdrSpace | Get the number of keyword records used and available. |
matlab.io.fits.readRecord | Read the keyword record at RECIDX. |
matlab.io.fits.readCard | Read the keyword card for name RECNAME |
matlab.io.fits.readKey | Read the keyword value and comment for name RECNAME. |
matlab.io.fits.readKeyUnit | Read the physical key units value RECNAME. |
matlab.io.fits.readKeyDbl | Read the key value RECNAME as a double. |
matlab.io.fits.readKeyCmplx | Read the key value RECNAME as a complex double. |
matlab.io.fits.readKeyLongLong | Read the key value RECNAME as a long long. |
matlab.io.fits.readKeyLongStr | Read the key value RECNAME as a string. |
matlab.io.fits.writeComment | Append a comment to to the fits file. |
matlab.io.fits.writeDate | Write the date keyword. |
matlab.io.fits.writeHistory | Append a history to to the fits file. |
matlab.io.fits.writeKey | Append or replace a key in the fits file. |
matlab.io.fits.writeKeyUnit | Write a key unit to the fits file. |
matlab.io.fits.deleteKey | Delete a key in the fits file. |
matlab.io.fits.deleteRecord | Delete a key in the fits file. |
Low Level Image Manipulation
matlab.io.fits.getImgSize | Return size of a Image HDU. |
matlab.io.fits.getImgType | Return datatype of a Image HDU |
matlab.io.fits.readImg | Read Image data. |
matlab.io.fits.createImg | create a new primary image or image extension. |
matlab.io.fits.insertImg | Insert a new primary image or image extension at current HDU position. |
matlab.io.fits.writeImg | write imagedata to a FITS file. |
matlab.io.fits.setBscale | Reset bscale and bzero to be used with reading and writing Images. |
matlab.io.fits.setTscale | Reset scale and zero to be used with reading and writing table data. |
Low Level Utility Functions
matlab.io.fits.getConstantValue | Return the value of a known fits constant. |
matlab.io.fits.getConstantNames | Return the names of all known fits constants. |
matlab.io.fits.getVersion | Return the version number of the cfitsio library used. |
matlab.io.fits.getOpenFiles | Get the file handles of all open fits files. |
Low Level Compression Functions
matlab.io.fits.isCompressedImg | Return true if image is compressed. |
matlab.io.fits.setCompressionType | Set compression type for writing FITS images. |
matlab.io.fits.setTileDim | Set compression tile dims for writing FITS images. |
matlab.io.fits.imgCompress | Copy HDU and image data from one infile to another, using the outfiles compre... |
matlab.io.fits.setHCompScale | Set scale to be used with HCOMPRESS compression. |
matlab.io.fits.setHCompSmooth | Set smooth value to be used with HCOMPRESS compression. |
Low Level Binary and ASCII Tables
matlab.io.fits.createTbl | Create a new ASCII or bintable extension. |
matlab.io.fits.insertATbl | Insert a new ASCII table after current HDU. |
matlab.io.fits.insertBTbl | Insert a new bintable extension. |
matlab.io.fits.insertCol | Insert a column into a table. |
matlab.io.fits.deleteCol | Delete a column from a table. |
matlab.io.fits.insertRows | Insert rows into a table. |
matlab.io.fits.deleteRows | Insert a rows into a table. |
matlab.io.fits.getAColParms | Get ASCII table parameters. |
matlab.io.fits.getBColParms | Get binary table parameters. |
matlab.io.fits.getColName | Get column name. |
matlab.io.fits.getColType | Get column type. |
matlab.io.fits.getEqColType | Get column type. |
matlab.io.fits.getNumCols | Get number of columns. |
matlab.io.fits.getNumRows | Get number of rows. |
matlab.io.fits.getRowSize | Get optimum number of rows to read/write at one time. |
matlab.io.fits.readATblHdr | Get ASCII table parameters. |
matlab.io.fits.readBTblHdr | Get Binary table parameters. |
matlab.io.fits.readCol | Get table row data. |
matlab.io.fits.writeCol | Write elements to a table. |
Import functions
import_fits | Import the fits functions into a fits.xxxxx variable, to emulate importing th... |