Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F11221295
pyfeyn-test6.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
619 B
Subscribers
None
pyfeyn-test6.py
View Options
#! /usr/bin/env python
from
pyfeyn.user
import
*
fd
=
FeynDiagram
()
i1
=
Point
(
-
4
,
+
2
)
i2
=
Point
(
-
4
,
-
2
)
v1
=
Vertex
(
-
2
,
0
,
mark
=
CircleMark
())
v2
=
Vertex
(
+
2
,
0
,
mark
=
CircleMark
())
o1
=
Point
(
+
4
,
+
2
)
o2
=
Point
(
+
4
,
-
2
)
l1
=
Fermion
(
i1
,
v1
)
.
addArrow
()
l2
=
Fermion
(
v1
,
i2
)
.
addArrow
()
l1
=
Fermion
(
o1
,
v2
)
.
addArrow
(
0.25
)
l2
=
Fermion
(
v2
,
o2
)
.
addArrow
(
0.8
)
g1
=
Gluino
(
v1
,
v2
)
.
bend
(
1.5
)
.
set3D
()
g2
=
Gaugino
(
v1
,
v2
)
.
bend
(
-
1.5
)
.
set3D
()
g3
=
Graviton
(
midpoint
(
v2
,
o2
),
midpoint
(
v2
,
o1
))
.
bend
(
0.5
)
.
set3D
()
g1
.
setStyles
([
color
.
rgb
.
red
])
lab
=
Label
(
"A silly SUSY / graviton demo"
,
x
=
0
,
y
=
2.2
)
fd
.
draw
(
"pyfeyn-test6.pdf"
)
File Metadata
Details
Attached
Mime Type
text/x-python
Expires
Wed, May 14, 10:12 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5111066
Default Alt Text
pyfeyn-test6.py (619 B)
Attached To
rPYFEYNSVN pyfeynsvn
Event Timeline
Log In to Comment