spiketools.spatial.checks.check_position

spiketools.spatial.checks.check_position(position)[source]

Check a position array.

Parameters:
position1d or 2d array

Position values.

Raises:
AssertionError

Raised if there are any issues with the given position array.