fill.grid | R Documentation |
Tile a box of radius 'rad' within the limits of 'ra' and 'dec', with overlaps of size 'buffer'.
fill.grid(ra, dec, buffer=0.1, rad=sqrt(3)/2, buffer.edge=TRUE, plot=TRUE, main="Block Coverage Map")
ra |
numeric vector; The RA limits of the box, in degrees. |
dec |
numeric vector; The DEC limits of the box, in degrees. |
buffer |
numeric; The overlap between adjacent tiles, in degrees. |
rad |
numeric; The radius of each tile, in degrees. |
buffer.edge |
logical; do we need to buffer the limits of the box as well? |
plot |
logical; do you want a plot of the box and tiles? |
main |
string; the title for the plot. |
array of dimension 2; the central RA and DEC positions of each tile.
Angus H Wright ICRAR angus.wright@icrar.org
#Load LAMBDAR
library(LAMBDAR)
ra<-c(120,140)
dec<-c(-3,2)
tile.cen<-fill.grid(ra,dec,plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.