raptor.schema.dtypes

raptor.schema.dtypes#

Scalar-type tags of the launch/artifact contract.

Values copied VERBATIM from eagle/python/eagle/dtypes.py. The numpy import is FUNCTION-LOCAL (never at module level) so this module stays import-clean on a numpy-less interpreter — raptor has zero hard dependencies.

Module Attributes

SCALAR_TYPES

the compiled scalar modes, in sidecar spelling (verbatim value from eagle.dtypes.SCALAR_TYPES).

Functions

np_dtype(…)

Return the numpy dtype of Real-typed arrays for a resolved scalar_type.