to_corners_ecef#

to_corners_ecef(sids)#

Converts a (collection of) sid(s) into (collection of) trixel corners in ECEF representation.

Parameters
sids: int or collection of ints

sids to covert to corners

Returns
corners: numpy.array

(Collection of) trixel corners in ECEF representations; Three corner points per trixel. First dimension are the SIDs, second dimension the corners (1 through 3), third dimensio x/y/z.

Examples

>>> import starepandas
>>> sids = [4611263805962321926, 4611404543450677254]
>>> starepandas.to_corners_ecef(sids)
array([[[0.86518091, 0.32444285, 0.38235956],
        [0.84606293, 0.28948702, 0.44763242],
        [0.85624806, 0.30718957, 0.41529968]],
       [[0.86581405, 0.27056689, 0.42090331],
        [0.87538003, 0.2880576 , 0.38824299],
        [0.85624806, 0.30718957, 0.41529968]]])