Functions related to coverage and footprints.
One coverage standard is Multi-Order Coverage maps, described at http://www.ivoa.net/Documents/MOC/. MOC positions are always defined in ICRS equatorial coordinates.
MOCs may be specified using a string argument of the functions in one of the following ways:
V/139/sdss9" (SDSS DR9)1/1 2 4 2/12-14 21 23 25 8/"A list of all the MOCs available from VizieR can
currently be found at
https://alasky.cds.unistra.fr/footprints/tables/vizier/.
You can search for VizieR table identifiers from the
VizieR web page
(https://vizier.cds.unistra.fr/);
note you must use
the table identifier (like "V/139/sdss9")
and not the catalogue identifier (like "V/139").
inMoc( moc, ra, dec )
moc value does not represent a MOC
(for instance no file exists or the file/string is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be false.
moc (String): a MOC identifier;
a filename, a URL, a VizieR table name,
or an ASCII MOC stringra (floating point): ICRS right ascension in degreesdec (floating point): ICRS declination in degreesnearMoc( moc, ra, dec, distanceDeg )
moc value does not represent a MOC
(for instance no file exists or the file/string is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be false.
moc (String): a MOC identifier;
a filename, a URL, a VizieR table name,
or an ASCII MOC stringra (floating point): ICRS right ascension in degreesdec (floating point): ICRS declination in degreesdistanceDeg (floating point): permitted distance from MOC boundary in degreesdistance
degrees of the given MOCmocSkyProportion( moc )
If the given moc value does not represent a MOC
(for instance no file exists or the file/string is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be NaN.
moc (String): a MOC identifier;
a filename, a URL, a VizieR table name,
or an ASCII MOC stringmocTileCount( moc )
If the given moc value does not represent a MOC
(for instance no file exists or the file/string is not in MOC format)
a warning will be issued the first time it's referenced, and
the result will be 0.
moc (String): a MOC identifier;
a filename, a URL, a VizieR table name,
or an ASCII MOC stringmocUniq( order, index )
index + 4**(1+order).
If the order or index are out of bounds, behaviour is undefined.
order (integer): HEALPix order, in range 0..29index (long integer): tile index within the given leveluniqToOrder( uniq )
If the supplied value is not a legal UNIQ integer, -1 is returned.
uniq (long integer): uniq-encoded valueuniqToIndex( uniq )
If the supplied value is not a legal UNIQ integer, -1 is returned.
uniq (long integer): uniq-encoded valueindicesToMocAscii( order, indices )
Note this may not be a very fast operation, so use within TOPCAT, where evaluation is lazy and happens every time the cell value is required, may lead to slow behaviour.
order (integer): MOC order of tilesindices (array of long integer): array of tile indices at the given orderindicesToMocAscii(1,intArray(24,25,26,27,39,42,43)) =
"0/6 1/39 42-43"
SPHERE_STERADIAN
SPHERE_SQDEG