bundle.gs3d.data¶
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 bundle.gs3d.ply.GaussianCloudArrays,
which is intentionally not a Data subclass because it owns numpy
buffers that should never round-trip through JSON.
Attributes¶
Classes¶
Metadata for a single Gaussian splat point cloud stored on disk. |
|
Ordered sequence of Gaussian clouds representing a 4D animation. |
Module Contents¶
- bundle.gs3d.data.log¶
- class bundle.gs3d.data.GaussianCloud(/, **data: Any)[source]¶
Bases:
bundle.core.data.DataMetadata for a single Gaussian splat point cloud stored on disk.
- path¶
Location of the backing 3DGS-format PLY file.
- num_gaussians¶
Number of Gaussians in the cloud.
- sh_degree¶
Spherical harmonics degree (0..3). Degree N has
(N+1)**2coefficients per RGB channel; for the standard 3DGS PLY layout that means 3 DC coefficients (f_dc_0..2) and3 * ((N+1)**2 - 1)rest coefficients (f_rest_*).
- bbox_min¶
Axis-aligned bounding box minimum corner.
- bbox_max¶
Axis-aligned bounding box maximum corner.
- path: pathlib.Path¶
- class bundle.gs3d.data.GaussianSequence(/, **data: Any)[source]¶
Bases:
bundle.core.data.DataOrdered 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
bundle.gs3d.temporalpopulate this structure.- frames_dir¶
Directory containing per-frame PLY files.
- frame_count¶
Number of frames in the sequence.
- fps¶
Playback rate, used by exporters and players.
- frame_paths¶
Ordered list of PLY paths (frame 0 first).
- frames_dir: pathlib.Path¶
- frame_paths: list[pathlib.Path]¶