[kepler-dev] Ptolemy 'Dictionary Search' actor

Dan Higgins higgins at nceas.ucsb.edu
Thu Mar 13 19:44:32 PDT 2008

Hi All,

    I just checked in $KEPLER/demos/Python/PythonDictionaryActor.xml.

    This workflow is an example of how one might create a Dictionary 
search actor using the PythonScript actor. In this case, the input is a 
dictionary in the form of a Ptolemy record object and a key label. The 
PythonScript actor then searchs for the key label and returns the token 
associated with the label. This is thus an example of how easy it is to 
use scripts in Kepler to build actors that may not currently exist.

Dan Higgins

More information about the Kepler-dev mailing list