Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/profoundSegim.R
Remaps an input segmentation map WCS Tan Gnomonic projection system to a different target WCS. This uses magwarp
with sensible settings, but magwarp
can be used more directly if the other lower level options are required. This interface should cover most practical use cases though. Using profoundProFound
with a remapped segmentation map is likely to be more sensible than remapping image flux since it will not produce flux interpolation errors.
1 | profoundSegimWarp(segim_in = NULL, header_in = NULL, header_out = NULL)
|
segim_in |
Integer matrix; required, the segmentation map we want to remap. If segim_in is a list as created by |
header_in |
Full FITS header in table or vector format. This should be the header WCS that matches segim_in. Legal table format headers are provided by the |
header_out |
Full FITS header in table or vector format. This is the target WCS projection that segim_in will be mapped onto. Legal table format headers are provided by the |
This function uses the interpolation='nearest' and doscale=FALSE in magwarp
.
Integer matrix; the remapped image using the target WCS.
Aaron Robotham
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
VST_r=readFITS(system.file("extdata", 'VST_r.fits', package="magicaxis"))
GALEX_NUV=readFITS(system.file("extdata", 'GALEX_NUV.fits', package="magicaxis"))
profound_KiDS=profoundProFound(VST_r, sky=0, skycut=1, sigma=2, tolerance=8, plot=TRUE)
segimFUV=profoundSegimWarp(profound_KiDS$segim, profound_KiDS$header, GALEX_NUV$hdr)
profoundSegimPlot(GALEX_NUV, segim = segimFUV)
profound_GALEX=profoundProFound(GALEX_NUV, segim=segimFUV, plot=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.