aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/doc/_tests
blob: ec7d89c62f43064b3e17572a9ddbe2f86c9e5372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# voatlas
	voatlas -S m83     or     
	voatlas --samp m83

	voatlas -o gal.jpg -n 256 --graphic sombrero
	voatlas -s 20m --survey=wise22 m101
	voatlas --band=radio 3c273
	voatlas --survey=list -v ngc1234

# vocatalog  
	vocatalog gsc2.3 ngc1234                 (a)
	vocatalog gsc2.3 pos.txt                 (b)
	vocatalog gsc2.3 m31,m51,m93             (c)
	vocatalog svcs.txt pos.txt               (d)
	vocatalog hst,chandra,gsc2.3 pos.txt     (e)
	vocatalog -count -b x-ray any abell2712\n\

# vodata	
	vodata gsc2.3 ngc1234			(a)
	vodata gsc2.3 pos.txt			(b)
	vodata gsc2.3 m31,m51,m93		(c)
	vodata svcs.txt pos.txt    		(d)
	vodata hst,chandra,gsc2.3 pos.txt  	(e)

	vodata -c -t image any IC10
	vodata --count --type=image any IC10
	vodata -c -t catalog -b x-ray any abell2712
	vodata --count --type=catalog --bandpass=x-ray any abell2712

	vodata --meta rc3   or   vodata -m rc3

	voregistry cooling flow
	vodata -O white97 -all J/MNRAS/292/419
	vodata --output=white97 --all J/MNRAS/292/419

	voregistry -rv -t image xmm
	vodata -cq xmm-newton 3c273
	vodata --count --quiet xmm-newton 3c273
	vodata --get xmm-newton 3c273

	vodata -e -O 2mass -t image 2mass 12:34:56.7 -23:12:45.2
	vodata -e --output=2mass --type=image 2mass 12:34:56.7 -23:12:45.2
	grep fits 2mass_I_001_15998.urls > images.txt
	vodata images.txt
	grep fits 2mass_I_001_15998.urls | vodata -i -

	vodata -t image -s http://localhost/siap.pl 180.0 0.0
	vodata --type=image --svc=http://localhost/siap.pl 180.0 0.0

	voregistry -v -v --type=catalog abell | less
	vodata -e ivo://nasa.heasarc/abell 0.0 0.0 180.0
	vodata --extract ivo://nasa.heasarc/abell 0.0 0.0 180.0

	cut -c6- *.pos | vodata ivo://nasa.heasarc/chanmaster -p -
	cut -c6- *.pos | vodata ivo://nasa.heasarc/chanmaster --pos=-
	vodata -cq chandra -i -
	stilts tpipe ifmt=votable qso_survey.vot \ 

	wcsinfo *.fits | vodata 2mass-psc -i -
	wcsinfo -pos_only *.fits > centers.txt
	vodata --sr=25m 2mass-psc centers.txt

	cat cmds.txt
	vodata -i cmds.txt

	vodata -a galex M51
	vodata --all galex M51

	vodata gsc2.3 positions.txt
	vodata --cols=2,3,1 --hskip=5 gsc2.3 positions.txt

# voimage  
	voimage -b x-ray any m51
	voimage -c HSTAEC IC10

# voiminfo  
	votiminfo -n mef.fits
	voiminfo -b -s image.fits
	voiminfo -c image.fits\n"
	voiminfo -b -f pos.txt mef.fits\n"

# voregistry	
	voregistry -count -t image
	voregistry -rv -t image
	voregistry -t catalog radio galaxies
	voregistry -list GSC2.2
	voregistry -b radio abell
	voregistry -rvv -n 1 J/A+A/446/97/tab
	voregistry -v -t image wfpc
	voregistry -cv keck
	voregistry -c chandra hst spitzer
	voregistry -co chandra hst spitzer
	voregistry -meta gsc2.2
	voregistry "Facility like 'HST'"
	voregistry "Title like '%Keck%'"
	cat query.txt
	cat query.txt | voregistry
	voregistry --new 3m
	voregistry --new 3m cool stars
	voregistry --updated 12m --count

# vosamp  
	vosamp load /path/example.xml
	vosamp load http://foo.edu/example.xml
	vosamp load http://foo.edu/query?RA=0.0&DEC=0.0&SR=0.1
	vosamp -t iraf exec "display dev$pix 1"
	vosamp list

# vosesame	
	vosesame ngc4456
	vosesame -s ngc4456
	vosesame -st m31 m51 m99
	vosesame -CHndt myobjs.txt
	cut -c17-25 data.txt | vosesame -ns
	vosesame -a
	vosesame -sd -c 12:30:0.0 -45:00:0.0 -c 187.5 2.05

# vosloanspec  
	vosloanspec -s 0.1 -t galaxy 'Hubble Deep Field'
	vosloanspec --size=0.1 --type=galaxy 'Hubble Deep Field'
	vosloanspec -m -d m51
	vosloanspec --meta --delete m51
	vosloanspec -l 5 --samp 3c273     # as a spectrum msg
	vosloanspec -l 5 --samp --table 3c273     # as a table msg
	vosloanspec --redshift=0.3-1.0

# vospectra  
	vospectra any 3c273

# votcnv  
	votcnv --fmt=csv test.xml
	votcnv -f vot -i 2 test.xml
	votcnv -f vot -i 0 test.xml

# votget	
	votget -N 3 results.xml
	votget -b foo -e fits -S
	votget -b foo urls.txt
	votget -x results.xml

# votinfo    
	votinfo -v test.xml
	votinfo -p test.xml
	votinfo --numberOf=param test.xml
	votinfo -q test.xml

# votopic  
	votopic -t catalog lens A2712
	voregistry -t catalog -d -o lens.xml lens 
	vodata lens.xml A2712

# votpos  
	votpos test.xml           	# un-numbered
	votpos -n test.xml          # numbered
	cat test.xml | votpos     	# un-numbered
	votpos -o pos.txt test.xml

# votsort  
	votsort test.xml
	votsort http://generic.edu/test.xml
	cat test.xml | votsort -o sort_test.xml
	votsort --name=V test.xml
	votsort --name=V --desc --top=10 test.xml
	votsort -s -f csv test.xml
	votsort --string --fmt=csv test.xml
	votstat test.xml
	votsort -a -o stats test.xml