phys2bids.io.check_multifreq

phys2bids.io.check_multifreq(timeseries, freq, start=0, endat=None)[source]

Check if there are channels with different frequency than the maximum one.

Parameters:
  • timeseries (list of numpy.ndarrays) – list of numpy.ndarrays representing channels.

  • freq (list of floats) – list with the maximum frequency

  • start (int, optional) – first sample of the channel to be considered

  • endat (int or None, optional) – last sasmple to consider (None for last) Just in case the process takes too long

Returns:

  • multifreq_timeseries (list of numpy.ndarrays) – new list with the channels in their own frequency

  • multifreq_freq (list of floats) – new list with the real frequency of the channels