The generation of diagrams is indeed written in python and the
algorithm is fairly simple and easy to implement (I even have an
implementation in my repo). You can see the algorithm here
http://arxiv.org/abs/1106.0522 (and in a few other links already
posted on this mail thread).

However this algorithm requires the Feynman rules as an input. While
the algorithm for computing the rules from the Lagrangian is not that
complicated, it is not part of MadGraph. You can look at the FeynRules
mathematica package if you are interested in that.

On 16 September 2013 13:32, F. B. <[email protected]> wrote:
> Concerning MadGraph5, it's written in Python (with exceptions), it's license
> is the UoI-NCSA open source license:
>
> http://www.opensource.org/licenses/UoI-NCSA.php
>
> http://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License
>
> It is similar to the New BSD (as used in SymPy), but not the same. Does that
> allow to import excerpts of code from MadGraph5 ?
>
> MadGraph5 automatically generates Feynman diagrams, though I don't know
> whether the part doing it is written in Python.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to