plotfits: Plot FITS images

Description Usage Arguments Author(s) See Also

Description

This function allows a FITS image to be converted into a PNG/X11 image, or output as a data array for use within a function. 3 colour RGB images may also be constructed by using multiple file inputs.

Usage

1
2
3
4
5
plotfits(input, hdu = 1, func = "atan", slide = c(0,0,0), 
         scale = c(500,300,100), locut = 0, hicut = pi/2, invert = FALSE, 
         method = 1, type = "x11", width = 5, height = 5, units = "in", 
         res = 300, cen = c(NA,NA), xdim = NA, ydim = NA, 
         file = "image.png")

Arguments

input

input file(s)

hdu

input hdu

func

scaling function for plot [lin/log/atan]

slide

offset counts from the origin by a given value

scale

scaling value for each image

locut

lower cut (black)

hicut

upper cut (white)

invert

invert the output greyscale/colours

method

counts -> image conversion method [1/2]

type

output type [dat/png/eps/pdf/x11 or bitmap types]

width

output width

height

output height

units

output units

res

output resolution

cen

centre of image

xdim

x width (pixels)

ydim

y width (pixels)

file

output file name

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.