read.fitsim: Read FITS Image
Description
The mid-level function 'read.fitsim' allows FITS images to be read directly into R.Usage
read.fitsim(file, hdu = 1, maxlines = 50000, xlo = NA, xhi = NA, ylo = NA, yhi = NA)
Arguments
hdu
header and data unit to be read
maxlines
maximum number of header lines
xlo
lower x pixel sub-region (image only)
xhi
upper x pixel sub-region (image only)
ylo
lower y pixel sub-region (image only)
yhi
upper y pixel sub-region (image only)
Value
A matrix of data corresponding to the original FITS image.
Details
The mid-level function 'read.fitsim' is a wrapper around 'read.fits', and provides a more simplistic output of that routine.
See Also
The astronomy package: astro
.