fitsread - Extract data from a FITS file .
Data Arrays or Extensions
| extname | Description |
| 'primary' | Read data from the primary data array |
| 'table' | Read data from the ASCII Table extension.The codes are not tested. |
| 'bintable' | Read data from the Binary Table extension.The codes are not tested. |
| 'image' | Read data from the Image extension. |
| 'unknown' | Read data from the Unknown extension. |
// Read FITS file test.fits into a data.
data = fitsread('test.fits');
data(1:5,1:5)
ans =
1.356D-19 1.356D-19 1.356D-19 1.356D-19 1.356D-19
1.356D-19 1.356D-19 1.356D-19 1.356D-19 1.356D-19
1.356D-19 1.356D-19 1.356D-19 1.356D-19 1.356D-19
74.679741 81.476204 87.963593 94.11731 99.914009
74.679741 81.476204 87.963593 94.11731 99.914009
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)
fitsinfo , fits_structure , fits_head , fits_image_info , get_fits_image , file_fits ,