Here are some examples of using tskymatch2
:
stilts tskymatch2 in1=obs_v.xml in2=obs_i.xml out=obs_iv.xml \ ra1=OBS_RA dec1=OBS_DEC ra2=OBS_RA dec2=OBS_DEC error=2
stilts tskymatch2 in1=obs_v.xml in2=obs_i.xml out=obs_iv.xml \ error=2
pos.eq.ra;meta.main
and
pos.eq.dec:meta.main
.
If no suitable UCDs are in place this invocation will fail with an error.
stilts tskymatch2 in1=virgo1.txt ifmt1=ascii in2=mgc.fits \ ra1='radiansToDegrees(raRad)' dec1='radiansToDegrees(deRad)' \ ra2=MGC_ALPHA_J2000 dec2=MGC_DELTA_J2000 \ error=10 join=2not1 omode=count
join=2not1
parameter causes the command to
identify all the objects in the first list
which do not have counterparts within 10 arcsec in the second list.
The number of such objects found is simply output to the terminal.