Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Event

Especially when working with sound, we often estimate a 3D point together with a time. Event represents that space-time quantity as a timestamp paired with a three-dimensional location and provides a compact value type for spacetime and navigation geometry.

Open In Colab

Initialization

Construct from a timestamp and a three-vector, or pass the three spatial coordinates separately.

Accessors and height

time() and location() return the stored values. height() returns the z-coordinate and optionally computes its Jacobian with respect to the event coordinates in APIs that request derivatives.

Coordinate and time conventions

Event deliberately does not assign units or a reference frame. The location should use the same world frame as the surrounding geometry, and timestamps should use one consistent scale throughout a problem. The class also does not enforce chronological ordering; that belongs to the data structure or factor that consumes the events.

Source

Event.h

AI assistance caveat

AI was used to help draft this documentation, and inaccuracies could be present.