pyampact.symbolic._clefs

pyampact.symbolic._clefs(piece)[source]

Extract the clefs from the score.

The clefs are extracted from each part and returned as a pandas DataFrame where each column represents a part and each row represents a clef. The DataFrame is indexed by the offset of the clefs.

Returns:

A pandas DataFrame of the clefs in the score in kern format.