pitcharraytools.PitchArray

Inheritance diagram of abjad.tools.pitcharraytools.PitchArray.PitchArray.PitchArray

class abjad.tools.pitcharraytools.PitchArray.PitchArray.PitchArray(*args)[source]

New in version 2.0.

Two-dimensional array of pitches.

Read-only Properties

PitchArray.cell_tokens_by_row[source]
PitchArray.cell_widths_by_row[source]
PitchArray.cells[source]
PitchArray.columns[source]
PitchArray.depth[source]
PitchArray.dimensions[source]
PitchArray.has_voice_crossing[source]
PitchArray.is_rectangular[source]
PitchArray.pitches[source]
PitchArray.pitches_by_row[source]
PitchArray.rows[source]
PitchArray.size[source]
PitchArray.voice_crossing_count[source]
PitchArray.weight[source]
PitchArray.width[source]

Methods

PitchArray.append_column(column)[source]
PitchArray.append_row(row)[source]
PitchArray.apply_pitches_by_row(pitch_lists)[source]
PitchArray.copy_subarray(upper_left_pair, lower_right_pair)[source]
PitchArray.has_spanning_cell_over_index(index)[source]
PitchArray.pad_to_depth(depth)[source]
PitchArray.pad_to_width(width)[source]
PitchArray.pop_column(column_index)[source]
PitchArray.pop_row(row_index=-1)[source]
PitchArray.remove_row(row)[source]

Special Methods

PitchArray.__add__(arg)[source]
PitchArray.__contains__(arg)[source]
PitchArray.__delattr__()

x.__delattr__(‘name’) <==> del x.name

Note

Inherited from __builtin__.object

PitchArray.__eq__(arg)[source]
PitchArray.__ge__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

PitchArray.__getitem__(arg)[source]
PitchArray.__gt__(arg)

Abjad objects by default do not implement this method.

Raise exception

Note

Inherited from abctools.AbjadObject

PitchArray.__hash__() <==> hash(x)

Note

Inherited from __builtin__.object

PitchArray.__iadd__(arg)[source]
PitchArray.__le__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

PitchArray.__lt__(arg)

Abjad objects by default do not implement this method.

Raise exception.

Note

Inherited from abctools.AbjadObject

PitchArray.__ne__(arg)[source]
PitchArray.__repr__()[source]
PitchArray.__setattr__()

x.__setattr__(‘name’, value) <==> x.name = value

Note

Inherited from __builtin__.object

PitchArray.__setitem__(i, arg)[source]
PitchArray.__str__()[source]

Table Of Contents

This Page