Skip to content

pycauset.spacetime.get_registry

spacetime.get_registry() -> dict[str, type]

Returns a shallow copy of the spacetime name registry (name → Spacetime subclass).

Example

from pycauset import spacetime

registry = spacetime.get_registry()
# includes the built-ins: "minkowski_diamond", "minkowski_cylinder", "minkowski_box"

See also