plot.fitmagpsf: FitMagPSF diagnostic plots

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/profoundFitMagPSF.R

Description

A simple image / model / image - model grid.

Usage

1
2
## S3 method for class 'fitmagpsf'
plot(x, ...)

Arguments

x

Object of class 'fitmagpsf', as returned by profoundFitMagPSF.

...

Passed to magimage / magimageWCS

Details

Run for the side effect of generating a grid of useful diagnostic plots.

Value

Run for the side effect of generating a grid of useful diagnostic plots:

Author(s)

Aaron Robotham

See Also

profoundFitMagPSF

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
s250_im=readFITS(system.file("extdata", 'IRdata/s250_im.fits', package="ProFound"))
s250_psf=readFITS(system.file("extdata",'IRdata/s250_psf.fits', package="ProFound"))$imDat
magzero_s250=11.68

pro_s250=profoundProFound(s250_im, pixcut=1, skycut=2, ext=1, redosky=FALSE, iters=1,
tolerance=0, sigma=0, magzero=magzero_s250)
pro_s250$segstats=pro_s250$segstats[!is.na(pro_s250$segstats$mag),]

newmag=profoundFitMagPSF(RAcen=pro_s250$segstats$RAcen, Deccen=pro_s250$segstats$Deccen,
image=s250_im, psf=s250_psf, doProFound=TRUE, findextra=TRUE, verbose=TRUE, redosky=FALSE,
magzero=magzero_s250)

plot(newmag)

## End(Not run)

ProFound documentation built on Jan. 8, 2021, 5:37 p.m.