xpsi
xpsi copied to clipboard
Make sure that all AssertionErrors in the Instrument class are explicit enough
For example:
assert channel_array.shape[0] == self._matrix.shape[0]
gives
raise ChannelError('Channel numbers must be in a one-dimensional array of positive integers'
'(including zero).')