read.astr: Read Astrometry

read.astrometryR Documentation

Read Astrometry

Description

Read the header of a provided FITS file, and return the astrometry associated with that file.

Usage

read.astrometry(fitsname,hdu=1)

Arguments

fitsname

string; relative path and filename of the FITS file to be analysed.

hdu

integer; fits extension number

Details

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.

Value

list; contains all keywords needed for determining locations in the fits image using astrometry.

Author(s)

Angus H Wright ICRAR angus.wright@icrar.org

See Also

measure.fluxes, flux.measurements

Examples


#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)


AngusWright/LAMBDAR documentation built on May 12, 2022, 1:49 a.m.