Skip to main content
Public SDK scene read types. These are stable SDK types that insulate users from the internal wire format. They are constructed from the internal types in beta/scene/internal/scene.py.

SceneEvent Objects

A single event in a stream, with its signed download URL and timestamp.

timestamp

Timestamp of the event.

url

Raw unsigned URI as stored in the scene definition.

signed_url

Time-limited signed URL for downloading the file.

PointCloudStream Objects

A stream of lidar point cloud events.

frame_of_reference_id

Frame of reference in which this stream’s point clouds are expressed.

find_event

Return the event with the given timestamp, or None if not present.

get_event

Return the event with the given timestamp. Raises:
  • KeyError - If no event with that timestamp exists.

ImageStream Objects

A stream of camera image events.

frame_of_reference_id

Frame of reference associated with the image stream’s camera.

find_event

Return the event with the given timestamp, or None if not present.

get_event

Return the event with the given timestamp. Raises:
  • KeyError - If no event with that timestamp exists.

TimeSeriesStream Objects

A self-contained CSV time-series stream.

url

Raw unsigned URI as stored in the scene definition.

signed_url

Time-limited signed URL for downloading the CSV file.

FrameOfReferenceEvent Objects

A pose of a frame of reference relative to its parent frame.

timestamp

Timestamp of the pose.

frame_id

ID of the frame represented by this event.

parent_frame_id

ID of the parent frame, or None when no parent is declared.

rotation

3x3 column-major rotation matrix from this frame to its parent frame.

position

Translation from this frame to its parent frame.

FrameOfReferenceStream Objects

A stream describing a named frame of reference over time.

find_event

Return the event with the given timestamp, or None if not present.

get_event

Return the event with the given timestamp. Raises:
  • KeyError - If no event with that timestamp exists.

CompositeScene Objects

A scene composed of multiple named streams.

find_stream

Return the stream with the given ID and kind, or None if not present.

get_stream

Return the stream with the given ID and kind. Raises:
  • KeyError - If no stream with that ID and kind exists.

get_images_at_timestamp

Return camera image events at the given timestamp across image streams. Streams without a matching event are skipped.

SceneReader Objects

Read scene structure and signed URLs from a scene storage item.

read

Fetch the scene structure with signed download URLs for all constituent files.

to_upload_payload

Fetch this scene and convert it to a DataUploadScene for re-upload. Arguments:
  • title - Title to use for the uploaded scene. Defaults to the source storage item name.
  • client_metadata - Metadata for the uploaded scene. Defaults to the source item metadata.
  • uri_mapper - Optional callable or mapping used to rewrite each stored URI before upload.
Returns: A scene upload payload suitable for DataUploadItems(scenes=[...]).

SceneRead Objects

Deprecated alias for SceneReader.