(session)
return tuple((eeg[:, :ind], *rest))
Strips nans (from right side of all channels) added during hdf5 packaging

        Returns:
            tuple ready to be converted to `_session_dtype`
Strips nans (from right side of all channels) added during hdf5 packaging
Strips nans ( from right side of all channels ) added during hdf5 packaging
def _strip(session) -> tuple:
        """Strips nans (from right side of all channels) added during hdf5 packaging

        Returns:
            tuple ready to be converted to `_session_dtype`
        """
        eeg, *rest = session
        ind = -next(i for i, value in enumerate(eeg[0, ::-1]) if not np.isnan(value))
        if ind == 0:
            ind = None
        return tuple((eeg[:, :ind], *rest))
def _strip ( session ) -> tuple : eeg , * rest = session ind = - next ( i for i , value in enumerate ( eeg [ 0 , : : - 1 ] ) if not np . isnan ( value ) ) if ind == 0 : ind = None return tuple ( ( eeg [ : , : ind ] , * rest ) )