Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/profoundFitMagPSF.R
A simple image / model / image - model grid.
1 2 |
x |
Object of class 'fitmagpsf', as returned by |
... |
Passed to |
Run for the side effect of generating a grid of useful diagnostic plots.
Run for the side effect of generating a grid of useful diagnostic plots:
Aaron Robotham
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.