A helper function for SDSS cutout that returns all objects within a certain radius of an (ra,dec) |
Photo objects are filtered to have magnitude greater than 24-1.5*zoom so that the image is not too cluttered (and the anwswer set is not too large). (@flag&1)>0 display specObj ... (@flag&2)>0 display photoPrimary bright enough for zoom (@flag&4)>0 display Target (@flag&8)>0 display Mask (@flag&16)>0 display Plate (@flag&32)>0 display PhotoObjAll thus: @flag=7 will display all three of specObj, PhotoObj and Target the returned objects have flag = (specobj:1, photoobj:2, target:4, mask:8, plate:16) |
name | type | length | inout | pnum |
@flag | int | 4 | input | 1 |
@ra | float | 8 | input | 2 |
@dec | float | 8 | input | 3 |
@r | float | 8 | input | 4 |
@zoom | float | 8 | input | 5 |
flag | int | 4 | output | 3 |
ra | float | 8 | output | 1 |
dec | float | 8 | output | 2 |
objid | bigint | 8 | output | 4 |