[kepler-dev] Ptolemy 'Dictionary Search' actor

ian.brown@hsbcib.com ian.brown at hsbcib.com
Fri Mar 14 01:28:39 PDT 2008


Thanks Dan - I hadn't thought to use Jython for that. I use the Jython 
actor in Ptolemy all the time too. I also liked your swing example from 
earlier in the day.

Ian




Dan Higgins <higgins at nceas.ucsb.edu> 
Sent by: kepler-dev-bounces at ecoinformatics.org
14/03/2008 02:44
Mail Size: 5257

To
Kepler-dev <Kepler-dev at ecoinformatics.org>
cc

Subject
[kepler-dev] Ptolemy 'Dictionary Search' actor
Entity
Investment Banking Europe - IBEU






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
_______________________________________________
Kepler-dev mailing list
Kepler-dev at ecoinformatics.org
http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev



************************************************************
HSBC Bank plc may be solicited in the course of its placement efforts for 
a new issue, by investment clients of the firm for whom the Bank as a firm 
already provides other services. It may equally decide to allocate to its 
own proprietary book or with an associate of HSBC Group. This represents a 
potential conflict of interest. HSBC Bank plc has internal arrangements 
designed to ensure that the firm would give unbiased and full advice to 
the corporate finance client about the valuation and pricing of the 
offering as well as internal systems, controls and procedures to identify 
and manage conflicts of interest.

HSBC Bank plc
Registered Office: 8 Canada Square, London E14 5HQ, United Kingdom
Registered in England - Number 14259
Authorised and regulated by the Financial Services Authority.
************************************************************



-----------------------------------------
SAVE PAPER - THINK BEFORE YOU PRINT!

This transmission has been issued by a member of the HSBC Group
"HSBC" for the information of the addressee only and should not be
reproduced and/or distributed to any other person. Each page
attached hereto must be read in conjunction with any disclaimer
which forms part of it. Unless otherwise stated, this transmission
is neither an offer nor the solicitation of an offer to sell or
purchase any investment. Its contents are based on information
obtained from sources believed to be reliable but HSBC makes no
representation and accepts no responsibility or liability as to its
completeness or accuracy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-dev/attachments/20080314/6f2fe586/attachment.htm


More information about the Kepler-dev mailing list