get

The get subpackage contains inspection functions. Inspections take as input an abjad.Selection, abjad.Container, or abjad.Leaf (depending on the function). They do not alter the input when return a value (normally a bool). Auxjad automatically adds them as extension functions to abjad.get.

Note

All inspection functions are also added as extension functions to abjad.get, so it is possible to simply use abjad.get instead of auxjad.get:

>>> import abjad
>>> import auxjad
>>> abjad.get.selection_is_full(container[:])
True

Below is the full list of functions included in get. Click on their names for their individual documentation.

leaves_are_tieable(leaves, *[, …])

Returns a bool representing whether or not two or more input leaves have any identical pitch(es) and thus can be tied.

rhythms_are_identical(selections)

Returns a bool representing whether two or more selections are rhytmically identical or not.

selection_is_full(selection)

Returns a bool representing whether the last measure of an input abjad.Selection is fully filled in or not.

selections_are_identical(selections, *[, …])

Returns a bool representing whether two or more selections are identical or not.

time_signature_list(container, *[, …])

Returns a list with the abjad.TimeSignature’s for all measures of an input abjad.Container.

underfull_duration(selection)

Returns an abjad.Duration representing the duration missing in the last measure of an input abjad.Selection which is not fully filled in.

virtual_fundamental(pitches, *[, …])

Returns the virtual fundamental (highest common fundamental) for all pitches in a abjad.PitchSegment or abjad.Chord.