SplatArray¶
from acron.sog import SplatArray
- class SplatArray(buffer, shape)¶
Bases:
objectA float32 array with a shape, over a native buffer — what the CPU decode returns.
datais a C-contiguous memoryview of that shape (data[i, j]reads one value,data.tolist()nests); indexing the array itself gives rowias a float (1-D), a tuple (2-D) or a tuple of tuples (3-D). It exports the buffer protocol (PEP 688), somemoryview(a),bytes(a)andnumpy.asarray(a)see the floats without a copy.basekeeps the owning buffer (aPTA_float) alive.Inheritance diagram
digraph inheritanceed03370184 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "SplatArray" [URL="acron.sog.SplatArray.html#acron.sog.SplatArray",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="A float32 array with a shape, over a native buffer — what the CPU"]; }- base¶
- data¶
- format = 'f'¶
- itemsize = 4¶
- shape¶