pyfeyn is hosted by Hepforge, IPPP Durham

Package pyfeyn :: Module diagrams :: Class FeynDiagram
[hide private]
[frames] | no frames]

Class FeynDiagram



The main PyFeyn diagram class.

Instance Methods [hide private]
  __init__(self, objects=None)
Objects for holding a set of Feynman diagram components.
  add(self, *objs)
Add an object to the diagram.
  drawToCanvas(self)
Draw the components of this diagram in a well-defined order.
  draw(self, outfile)
Draw the diagram to a file, with the filetype (EPS or PDF) derived from the file extension.

Class Variables [hide private]
  currentDiagram = None
  currentCanvas = <pyx.canvas.canvas instance at 0xb71afc8c>

Method Details [hide private]

__init__(self, objects=None)
(Constructor)

 
Objects for holding a set of Feynman diagram components.

add(self, *objs)

 
Add an object to the diagram.

drawToCanvas(self)

 
Draw the components of this diagram in a well-defined order.

draw(self, outfile)

 
Draw the diagram to a file, with the filetype (EPS or PDF) derived from the file extension.

Class Variable Details [hide private]

currentDiagram

None
Value:
None                                                                  
      

currentCanvas

None
Value:
<pyx.canvas.canvas instance at 0xb71afc8c>