starepandas.STAREDataFrame.trixel_corners_ecef#

STAREDataFrame.trixel_corners_ecef(vertices=None)#

Returns ECEF norm vectors of great circles constraining the trixels.

If vertices is set, the trixel corners are extracted from vertices (c.f. trixel_vertices()). If not, corners are generated from stare column.

Parameters
verticestuple (vertices data structure)

If set, the centers are extracted from the vertices.

Returns
cornersnumpy array

Corners of the trixels in ECEF representation. First dimension are the sids, second dimension the great circles, third dimension x/y/z

Examples

>>> sids = numpy.array([3458764513820540928])
>>> df = starepandas.STAREDataFrame(sids=sids)
>>> df.trixel_corners_ecef()
array([[[-0.85355339, -0.14644661,  0.49999999],
        [ 0.49999999, -0.49999999,  0.70710679],
        [ 0.14644661,  0.85355339,  0.49999999]]])