from_stare_timestrings#

from_stare_timestrings(stare_timestrings, scale='TAI')#

Converts a STARE timestring to a STARE temporal index value The stare timestring is of the form “%Y-%m-%dT%H:%M:%S.%ms (f_res, b_res) (stare_type)

Parameters:
stare_timestrings: array-like of iso timestrings

STARE timestring

scale: str

timescale. Currently only ‘TAI’

Examples

>>> stare_ts = ['2021-01-09T17:47:56.154 (45 12) (1)']
>>> pystare.from_stare_timestrings(stare_ts, scale='TAI')
array([2275464722577272113])