Skip to main content

window_embedding

Function window_embedding 

Source
pub fn window_embedding(w: &CsiWindow) -> Vec<f32>
Expand description

Build the deterministic embedding for a CsiWindow.

The returned vector has length WINDOW_EMBEDDING_DIM; see that constant’s docs for the exact bin layout. The result is L2-normalized (or all-zero for an empty window — i.e. subcarrier_count == 0 and frame_count == 0).