LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Lavastorm and Python

    Employee
    Posted 12-07-2009 09:54

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: jorge.parrilla

    Hi,

    I have some interest in start using the node "Python Filter", mostly because I need to use some mathematical functions of python (to calculate geodesical distances). The problem is that I haven't found any documentation about this node or how to use the brain python classes. Is there any place to look for this info? Tutorial, api, etc.?

    Thanks for your help.


  • 2.  RE: Lavastorm and Python

    Employee
    Posted 12-07-2009 14:00

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    A Python Filter is a subset of the Python node where much of the processing has been done for you (reading the records, setting up the default metadata for the output. Take a look at the documentation on the Python node (core, under Miscellaneous), to see a lot of functionality available to you.

    Additionally, if you want to look at some examples of Python nodes, open up core itself in BRE, and you will see a bunch of the nodes in it are actually implemented in Python, and you can see how they work.

    Cheers
    Rich


  • 3.  RE: Lavastorm and Python

    Employee
    Posted 12-09-2009 04:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: jorge.parrilla

    Thanks a lot, I just needed some ideas to start playing with the nodes.