pylhe.LHEWeight

class pylhe.LHEWeight(id: str, name: str, attrib: dict[str, str])[source]

Bases: object

Information about a single weight inside or outside of a weight group.

__init__(id: str, name: str, attrib: dict[str, str]) None[source]

Methods

__init__(id, name, attrib)

Attributes

id

ID of the weight, retrieved from the attributes.

attributes

Weight XML attributes

name

Weight description text

attributes: dict[str, str]

Weight XML attributes

property id: str

ID of the weight, retrieved from the attributes.

name: str

Weight description text