Query Driven Visualization is an extension of the request driven Target Processing to Visualization. Instead of pushing data into the visualization it is pulled from within the visualization.
A design goal of the SourceCollection classes was to be able to use them interactively over SAMP. New SAMP messages are designed to to allow query driven visualization in a more declarative way than is possible with other information systems. Support for these SAMP messages can easily be implemented in a visualization tool, here we use simple standalone programs to perform query driven visualization of catalogs. The exploration of the catalogs is deferred to other applications, such as TOPCAT, by sending the catalogs through SAMP.
A SAMP HUB and the awe-prompt SAMP client should be started to perform Query Driven Visualization. TOPCAT can be used as a SAMP HUB, which has the added benefit that TOPCAT is a useful tool to explore the catalogs itself. TOPCAT can be started through java webstart:
javaws http://andromeda.star.bris.ac.uk/~mbt/topcat/topcat-full.jnlp &The awe-prompt adds command line interaction to the query driven visualization. Run the following on the awe-prompt:
# Import the SAMP module. from astro.services.samp.Samp import Samp # Start a SAMP client. s = Samp()
The programs below reside in the Astro-WISE code base, even though they have no dependencies on Astro-WISE-code. It is assumed that the Astro-WISE code base can be found in $AWEPIPE. Set $AWEPIPE to the value that is returned by the following command, in case it has not been set already:
awe -c "import os; print(os.environ['AWEPIPE'])"
Simple Puller (figure ) is a SAMP application with a web based frontend for pulling catalog data. This application shows the most basic way to pull catalog data over SAMP, which can easily be added to other SAMP applications. It can be found on the CVS:
cd $AWEPIPE/astro/services/qdvsamp/simplepuller/ python simplepuller.pyBrowse to http://localhost:8080 to use it.
Provide the following pieces of information:
Tree Explorer is a simple program that allows exploration of the dependency tree held by the Astro-WISE SAMP client (Figure ). Highlighting a node by clicking on it sets the highlighted_sourcecollection property of the Astro-WISE client. This application shows how a SAMP application can use the data lineage to give the user more information about the derivation of a particular dataset. The Tree Explorer can be found in the Astro-WISE code base:
cd $AWEPIPE/astro/services/qdvsamp/treeexplorer python treeexplorer.py
Object Viewer (figure ) is a SAMP application with a web based frontend for viewing and modifying details of individual Process Targets. Currently only SourceCollections are supported. This application shows how an application can use SAMP to influence processing details, without requiring it to know details of Astro-WISE.
cd $AWEPIPE/astro/services/qdvsamp/objectviewer python objectviewer.pyBrowse to http://localhost:8084/objectviewer.html to use it.