IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of DVO_Example_simtest


Ignore:
Timestamp:
Jan 19, 2010, 9:46:04 PM (16 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DVO_Example_simtest

    v1 v1  
     1== DVO Example using the Simtest reference database ==
     2
     3This example uses the simtest reference database (catdir.grizy.simtest):
     4
     5* Display the area covered by the database:
     6
     7{{{
     8catdir catdir.synth.simtest/
     9resize 1000 500
     10region 180 0 90 ait
     11cgrid -c red; skycat
     12}}}
     13
     14
     15* Zoom in on an area with data:
     16{{{
     17region 151 3.5 3.0
     18box
     19skycat -c red -lw 2
     20pmeasure -all -m 10 15 -pt 7
     21label -x "ra offset" -y "dec offset" +x "region 151 3.5 3.0"
     22png -name sample.region.large.png
     23}}}
     24
     25* Zoom in on a smaller region
     26{{{
     27region 151 3.5 0.25
     28box
     29pmeasure -all -m 10 15 -pt 7
     30label +x "region 151 3.5 0.25"
     31png -name sample.region.small.png
     32}}}
     33
     34* Make a color-color diagram (average magnitudes)
     35{{{
     36avextract -region ra, dec, objid, g_SYNTH, r_SYNTH, i_SYNTH, z_SYNTH, y_SYNTH
     37set gr = g_SYNTH - r_SYNTH
     38set ri = r_SYNTH - i_SYNTH
     39lim -n 1 gr ri; clear; box; plot gr ri
     40label -x "g - r" -y "r - i"
     41png -name sample.cmd.png
     42}
     43
     44* Extracting data on a specific object (three methods):
     45{{{
     46gstar -m ra[0] dec[0] 0.001
     47gstar -m ra[0] dec[0] 0.001 -full
     48mextract -region RA, DEC, MAG, TIME where ((abs(RA - ra[0]) < 0.001) && (abs(DEC - dec[0]) < 0.001))
     49}}}