aboutsummaryrefslogtreecommitdiff
path: root/vendor/voclient/doc/_tests
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/voclient/doc/_tests')
-rw-r--r--vendor/voclient/doc/_tests167
1 files changed, 167 insertions, 0 deletions
diff --git a/vendor/voclient/doc/_tests b/vendor/voclient/doc/_tests
new file mode 100644
index 00000000..ec7d89c6
--- /dev/null
+++ b/vendor/voclient/doc/_tests
@@ -0,0 +1,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