bundle.gs3d.data ================ .. py:module:: bundle.gs3d.data .. autoapi-nested-parse:: Core data contracts for synthetic Gaussian splat clouds. These are pure metadata models — no numpy arrays. Heavy numeric data lives in PLY files on disk; the models in this module hold the path plus a small amount of summary information that downstream stages can read without loading the full point cloud. The in-memory numeric representation lives in :class:`bundle.gs3d.ply.GaussianCloudArrays`, which is intentionally *not* a :class:`Data` subclass because it owns numpy buffers that should never round-trip through JSON. Attributes ---------- .. autoapisummary:: bundle.gs3d.data.log Classes ------- .. autoapisummary:: bundle.gs3d.data.GaussianCloud bundle.gs3d.data.GaussianSequence Module Contents --------------- .. py:data:: log .. py:class:: GaussianCloud(/, **data: Any) Bases: :py:obj:`bundle.core.data.Data` Metadata for a single Gaussian splat point cloud stored on disk. .. attribute:: path Location of the backing 3DGS-format PLY file. .. attribute:: num_gaussians Number of Gaussians in the cloud. .. attribute:: sh_degree Spherical harmonics degree (0..3). Degree N has ``(N+1)**2`` coefficients per RGB channel; for the standard 3DGS PLY layout that means 3 DC coefficients (``f_dc_0..2``) and ``3 * ((N+1)**2 - 1)`` rest coefficients (``f_rest_*``). .. attribute:: bbox_min Axis-aligned bounding box minimum corner. .. attribute:: bbox_max Axis-aligned bounding box maximum corner. .. py:attribute:: path :type: pathlib.Path .. py:attribute:: num_gaussians :type: int :value: 0 .. py:attribute:: sh_degree :type: int :value: 3 .. py:attribute:: bbox_min :type: tuple[float, float, float] :value: (0.0, 0.0, 0.0) .. py:attribute:: bbox_max :type: tuple[float, float, float] :value: (0.0, 0.0, 0.0) .. py:method:: validate_exists() -> bool .. py:class:: GaussianSequence(/, **data: Any) Bases: :py:obj:`bundle.core.data.Data` Ordered sequence of Gaussian clouds representing a 4D animation. A sequence is the simplest 4D representation: one PLY frame per keyframe, with downstream tools handling interpolation. The temporal generators in :mod:`bundle.gs3d.temporal` populate this structure. .. attribute:: frames_dir Directory containing per-frame PLY files. .. attribute:: frame_count Number of frames in the sequence. .. attribute:: fps Playback rate, used by exporters and players. .. attribute:: frame_paths Ordered list of PLY paths (frame 0 first). .. py:attribute:: frames_dir :type: pathlib.Path .. py:attribute:: frame_count :type: int :value: 0 .. py:attribute:: fps :type: float :value: 30.0 .. py:attribute:: frame_paths :type: list[pathlib.Path] .. py:method:: validate_exists() -> bool