queso_cluster.atoms.aux#
- file:
queso_cluster/atoms/aux
- lang:
python
- synopsis:
- author:
Sarah Riley <academic@sriley.dev>
Functions#
|
|
|
|
|
|
|
Converts time stamps into seconds |
|
|
|
Module Contents#
- convertTime(dates, baseFormat='%Y-%m-%dT%H:%M:%S', ref=False)[source]#
Converts time stamps into seconds
- Parameters:
dates (list) – list containing the datetime stamps from header information
baseFormat (str, optional) – String format for the datetime without microseconds
ref (boolean, optional) – Boolean to decide if you want to use the initial datetime stamp as a reference
- Returns:
1D array containing time in units of seconds since 1970 Jan 01
- Return type:
ndarray