bellini.groups.Group

class bellini.groups.Group(name=None, **values)[source]

Bases: abc.ABC

Base class for groups that hold quantities and children.

__init__(name=None, **values)[source]
Parameters
  • name (str) – Name of the group

  • **values – Values to be stored in the group

Methods

__init__([name])

Parameters
  • name (str) -- Name of the group

copy()

Return a copy of itself

Attributes

g

A networkx graph representing how the group was constructed

name

A string used to represent the Group

abstract copy()[source]

Return a copy of itself

property g

A networkx graph representing how the group was constructed

property name

A string used to represent the Group