Given an equatorial point (@ra,@dec), returns table of primary objects within @r arcmins of the point. There is no limit on @r. |
ra, dec are in degrees, r is in arc minutes. There is no limit on the number of objects returned, but there are about 40 per sq arcmin. returned table: Sample call to find all the Galaxies within 3 arcminutes of ra,dec 185,0 select * from Galaxy as G, dbo.fGetNearbyObjEq(185,0,3) as N where G.objID = N.objID see also fGetNearestObjEq, fGetNearbyObjXYZ, fGetNearestObjXYZ |
name | type | length | inout | pnum |
@ra | float | 8 | input | 1 |
@dec | float | 8 | input | 2 |
@r | float | 8 | input | 3 |
run | int | 4 | output | 2 |
camcol | int | 4 | output | 3 |
field | int | 4 | output | 4 |
rerun | int | 4 | output | 5 |
type | int | 4 | output | 6 |
cx | float | 8 | output | 7 |
cy | float | 8 | output | 8 |
cz | float | 8 | output | 9 |
distance | float | 8 | output | 11 |
objID | bigint | 8 | output | 1 |
htmID | bigint | 8 | output | 10 |