Skip to content

Fixtures

Raul Montoya Cardenas edited this page Jul 29, 2026 · 2 revisions

Fixtures (LIM-41)

Path: test/fixtures/spike_vectors.json
Loaded in tests via JSON (test-only dependency).

Purpose

Frozen spike trains + expected outputs for:

  • deterministic regression
  • documented range checks
  • optional cross-package reference (SpikeStream owns this file)

Schema (per case)

Key Content
name Case id
spike_times Vector of timestamps
expect.spike_count Int
expect.spike_density t_start, t_end, value
expect.isi_stats mean/std/min/max/cv
expect.detect_bursts max_isi, min_spikes, ranges
expect.windowed_spike_features window params + per-window fields
expect.normalized_feature_vector bounds + length-4 value

Top-level tolerance for float compares.

Notes

  • Fixture detect_bursts params apply only to that field’s golden check.
  • windowed_spike_features.burst_count and normalized burst component use API defaults (max_isi=0.02, min_spikes=3).
  • kinetic-signals has a separate Rust shared_vectors.json — not used by Julia.

Last updated: July 29, 2026 Updated by: Grok Build: Grok 4.5 Package tip reference: d2229e2 (main)

Clone this wiki locally