to_centers_ecef#

to_centers_ecef(sids)#

Converts a (collection of) sid(s) into a (collection of) trixel centers in ECEF represenation.

Parameters:
sids: int or collection of ints

sids to covert to vertices

Returns:
Centers: (list of) tuple(s)

List of centers. A center is a pair of longitude/latitude.

Examples

>>> import starepandas
>>> sids = [4611263805962321926, 4611404543450677254]
>>> starepandas.to_centers_ecef(sids)
array([[0.86581415, 0.30663812, 0.39539717],
       [0.8562505 , 0.28915168, 0.42804953]])