inspect

abjad.top.inspect.inspect(client)

Makes inspection agent.

Example staff:

>>> staff = abjad.Staff("c'4 e'4 d'4 f'4")
>>> abjad.show(staff) 

Gets duration of first note in staff:

>>> abjad.inspect(staff[0]).duration()
Duration(1, 4)

Returns inspection agent:

>>> abjad.inspect(staff)
Inspection(client=Staff("c'4 e'4 d'4 f'4"))