ibllib.time
Functions
Convert PointGray cameras timestamps to seconds. |
|
Convert strings representing dates into datetime.datetime objects aimed ad Django REST API ISO 8601: '2018-05-22T14:35:22.99585' or '2018-05-22T14:35:22' |
|
Unwrap the converted seconds of a PointGray camera timestamp series. |
- isostr2date(isostr)[source]
Convert strings representing dates into datetime.datetime objects aimed ad Django REST API ISO 8601: ‘2018-05-22T14:35:22.99585’ or ‘2018-05-22T14:35:22’
- Parameters:
isostr – a string, list of strings or panda Series / numpy arrays containing strings
- Returns:
a scalar, list of