R/read.fitsim.R

Defines functions read.fitsim

Documented in read.fitsim

read.fitsim = function(file, hdu = 1, maxlines = 50000, xlo = NA, xhi = NA, ylo = NA, yhi = NA){
    
    # read and return FITS image
    dat = read.fits(file, hdu=hdu, comments=FALSE, maxlines=maxlines, xlo=xlo, xhi=xhi, ylo=ylo, yhi=yhi)
    return(dat$dat[[1]])
    
}

Try the astro package in your browser

Any scripts or data that you put into this service are public.

astro documentation built on May 2, 2019, 2:14 a.m.