Learn how to work with date and time values using Python's datetime library, and how to avoid some of the gotchas and pitfalls of the datetime datatype. Python’s datetime library, part of its standard ...
Sub-microsecond timing data is lost when pushed through a datetime.timedelta object step, for example in mne.annotations.crop. As raw.set_annotations calls crop internally, this can lead to ...
Creating a Quantity object with a time unit from a TimeDelta object fails with "TypeError: The value must be a valid Python or Numpy numeric type.". This has been tested in 5.0.1, 6.1.3, and 7.0.1.