PTOOLS: Tools for position transformations
For changing coordinate formats:
Name_RC3 RA_2000DEC_2000 Type Input_name
NGC 4753 12:52:22.80 -01:11:57.0 .I.0... N4753
dssget 193.095001 -1.199167 10.0 dss poss1_red
% psex.py 12:52:22.80 -01:11:57.0
12:52:22.80 -01:11:57.0 193.095000000 12.873000000 -1.199166667
% pdeg.py 193.095001 -1.199167
+12:52:22.800 -01:11:57.001 193.095001000 12.873000067 -1.199167000
% phrs.py 12.873000067 -1.199166667
+12:52:22.800 -01:11:57.000 193.095001005 12.873000067 -1.199166667
Cone to Ra,Dec range search:
% c2r.sh 180.3303 32.44 20
180.048995972 180.611618042 32.106666565 32.773330688
RA_min RA_max DEC_min DEC_max
Where all coordinates are in DEGREES.
Input search radius is in ARCMIN.
Convert search radius units:
% RadCon.py 20.0 arcsec
20.000000000 0.333333 0.006
% RadCon.py 20.0 arcmin
1200.000000000 20.000000 0.333
% RadCon.py 20.0 deg
72000.000000000 1200.000000 20.000
% RadCon.py 20 gog
0.000000000 0.000000 0.000
The 3 outputs are:
Rad_arcsec Rad_arcmin Rad_degrees
Back to SCO CODES page