def block_dt(n, sample_rate):
  '''Generate dt array for a given length and sample_rate.'''
  dt = np.ones(n) * sample_rate/1.
  dt[0] = np.nan
  return dt
dataset/ETHPy150Open breuderink/eegtools/eegtools/data/schalk_physiobank.py/block_dt/swapped operands of `/`