read.astrometry | R Documentation |
Read the header of a provided FITS file, and return the astrometry associated with that file.
read.astrometry(fitsname,hdu=1)
fitsname |
string; relative path and filename of the FITS file to be analysed. |
hdu |
integer; fits extension number |
This procedure is designed to read all common astrometry keywords. Nonetheless, the source should be checked to ensure that your fits file keywords are included.
list; contains all keywords needed for determining locations in the fits image using astrometry.
Angus H Wright ICRAR angus.wright@icrar.org
measure.fluxes, flux.measurements
#Load LAMBDAR
library(LAMBDAR)
#Load sample image
data(SDSS.sample)
#Save sample image to File
write.fits(file="SampleImage.fits",SDSS.sample)
#Show the Full FITS Header
hdr<-read.fitshdr("SampleImage.fits")
print(hdr)
#Read Astrometry
astr<-read.astrometry("SampleImage.fits")
#Show the Astrometry Parameters
print(astr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.