TimespanCollectionNode¶
- class evans.consort.TimespanCollectionNode.TimespanCollectionNode(start_offset=0)[source]¶
A node in a timespan collection.
Attributes Summary
Gets the repr of this timespan collection node.
Gets the balance of this timespan collection node.
Gets the height of this timespan collection node.
Gets and sets the left child of this timespan collection node.
Gets the node start index of this timespan collection node.
Gets the node stop index of this timespan collection node.
Gets the payload of this timespan collection node.
Gets and sets the right child of this timespan collection node.
Gets the start offset of this timespan collection node.
Gets the highest stop offset of the subtree rooted on this timespan collection node.
Gets the lowest stop offset of the subtree rooted on this timespan collection node.
Gets the start index of the subtree rooted on this timespan collection node.
Gets the stop index of the subtree rooted on this timespan collection node.
Special methods
-
(
AbjadObject
).__eq__(argument)¶ Is true when ID of argument equals ID of Abjad object. Otherwise false. Returns true or false.
-
(
AbjadObject
).__format__(format_specification='')¶ Formats Abjad object. Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’. Returns string.
-
(
AbjadObject
).__hash__()¶ Hashes Abjad object. Required to be explicitly redefined on Python 3 if __eq__ changes. Returns integer.
-
(
AbjadObject
).__ne__(argument)¶ Is true when Abjad object does not equal argument. Otherwise false. Returns true or false.
-
(
AbjadObject
).__str__()¶ Return str(self).
Read/write properties
- left_child¶
Gets and sets the left child of this timespan collection node.
- right_child¶
Gets and sets the right child of this timespan collection node.
Read-only properties
- balance¶
Gets the balance of this timespan collection node.
- height¶
Gets the height of this timespan collection node.
- node_start_index¶
Gets the node start index of this timespan collection node.
- node_stop_index¶
Gets the node stop index of this timespan collection node.
- payload¶
Gets the payload of this timespan collection node.
- start_offset¶
Gets the start offset of this timespan collection node.
- stop_offset_high¶
Gets the highest stop offset of the subtree rooted on this timespan collection node.
- stop_offset_low¶
Gets the lowest stop offset of the subtree rooted on this timespan collection node.
- subtree_start_index¶
Gets the start index of the subtree rooted on this timespan collection node.
- subtree_stop_index¶
Gets the stop index of the subtree rooted on this timespan collection node.
- timespan¶
-
(