PitchKit
API Reference@pitchkit/coreInterfaces

MomentumSample

Defined in: packages/core/src/momentum/bars.ts:8

One momentum sample, already resolved from the caller's accessors.

Core takes plain numbers rather than Accessors for the same reason race/ does: accessors are a React-binding ergonomic, and keeping them out means this module never imports the pitch-shaped scene/ types.

Properties

PropertyModifierTypeDescriptionDefined in
timereadonlynumberMatch minute the sample starts at. Fractional is fine.packages/core/src/momentum/bars.ts:10
valuereadonlynumberSigned: positive is the home side's pressure, negative the away side's.packages/core/src/momentum/bars.ts:12

On this page