Docs / Reference
Validation method
A card is accepted once its output has been compared, on a real recording, against a reference computed separately in Python with MNE-Python or an equivalent library. A card that merely runs, or that agrees with an earlier version of itself, is not validated.
The principle
The reference is not a specification the card has to imitate. It is the instrument that confirms a given set of parameters produces the right calculation. Cards stay fully adjustable; the check confirms the mathematics, not a preferred setting.
Recorded results
| Card | Reference | Dataset | Agreement |
|---|---|---|---|
bipolar | mne.set_bipolar_reference | ds004457 sub-1 | r = 1.00, max delta 4.7e-9 |
car | MNE average reference | P05 | r = 1.00, max delta 2e-10 |
low_pass | MNE FIR filter | P01 | r = 0.9998 |
high_pass | MNE FIR filter | P01 | r = 0.9963 |
band_pass | MNE FIR filter | P01 | r = 0.99 |
crowther | artefact-removal reference | ds004457 sub-1 | max delta 1.9e-9 |
Confirm these figures against a current harness run
before citing them. They are recorded per card as the harness runs.
Replaying the check
The harness ships with the repository. It recomputes the reference from scratch, then compares channel by channel with the card output. A disagreement beyond tolerance fails the card, not the test.