write.fitshdr: Write FITS Headers

Description Usage Arguments Details Author(s) See Also

Description

The mid-level function 'write.fitshdr' allows FITS headers to be written directly from R.

Usage

1
write.fitshdr(hdr, file, hdu = 1)

Arguments

hdr

input header (see details)

file

file name

hdu

header and data unit to be written to

Details

Input headers ('hdr') must contain at least two columns, one named 'key' and one named 'value' (a 'comment' column is optional). For an example of the format expected, see 'read.fitshdr' and 'read.fits'.

The mid-level function 'write.fitshdr' is a wrapper around 'read.fits' and 'write.fits', and provides a shortcut to updating the header of an already existent FITS file.

Author(s)

Lee Kelvin <lee.kelvin@uibk.ac.at>

See Also

The astronomy package: astro.


taranu/astro documentation built on May 23, 2019, 7:36 a.m.