pyfeyn2.feynmandiagram.Label

class pyfeyn2.feynmandiagram.Label(*args, **kwargs)[source]

Bases: Point, Texted, Identifiable

__init__(*args, **kwargs)[source]

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use a orphaned Vertex with Label.

Methods

__init__(*args, **kwargs)

Deprecated since version 2.0.7.1.

set_point(*args, **kwargs)

Deprecated since version 2.0.7.1.

set_text(*args, **kwargs)

Deprecated since version 2.0.7.1.

set_xy(*args, **kwargs)

Deprecated since version 2.0.7.1.

set_xyz(*args, **kwargs)

Deprecated since version 2.0.7.1.

with_id(value[, k])

Set id to value and return self.

with_point(p)

with_text(value[, k])

Set text to value and return self.

with_x(value[, k])

Set x to value and return self.

with_xy(x, y)

with_xyz(x, y, z)

with_y(value[, k])

Set y to value and return self.

with_z(value[, k])

Set z to value and return self.

Attributes

id

text

Text the object

x

x coordinate

y

y coordinate

z

z coordinate

set_point(*args, **kwargs)

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().

set_text(*args, **kwargs)

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use label=””

set_xy(*args, **kwargs)

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().

set_xyz(*args, **kwargs)

Deprecated since version 2.0.7.1: This will be removed in 2.2. Use with…().

text: Optional[str] = ''

Text the object

with_id(value, k='id')

Set id to value and return self.

with_text(value, k='text')

Set text to value and return self.

with_x(value, k='x')

Set x to value and return self.

with_y(value, k='y')

Set y to value and return self.

with_z(value, k='z')

Set z to value and return self.

x: Optional[float] = None

x coordinate

y: Optional[float] = None

y coordinate

z: Optional[float] = None

z coordinate