R/read.fitstab.R

Defines functions read.fitstab

Documented in read.fitstab

read.fitstab = function(file, hdu=2, strip = c(" ","'"," "), maxlines = 50000){
    
    # read and return FITS table
    dat = read.fits(file, hdu=hdu, comments=FALSE, strip=strip, maxlines=maxlines)
    return(dat$dat[[1]]$table)
    
}

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.