def packing_fraction_state(state):
return state.get('<STR_LIT>').get()[state.inner].mean()<EOL>
Calculates the packing fraction of a state.

Parameters
----------
    state : :class:`peri.states.ImageState`

Returns
-------
    Float
        The volume fraction