RepTrace

Getting Started

Install RepTrace from a source checkout:

poetry install --with dev

Run the first benchmark against an MNE epochs file:

python -m reptrace.mne_time_decode \
  --epochs path/to/sub-01_epo.fif \
  --metadata-csv path/to/sub-01_events.csv \
  --label-column stim_is_animate \
  --group-column session \
  --out results/nod_sub-01_animate.csv

Use --metadata-csv when the labels are stored outside the epochs metadata and --group-column when cross-validation should keep sessions or runs separated.

If the metadata does not yet contain the binary decoding target, derive one from a text column:

python -m reptrace.metadata \
  --events-csv data/nod/sub-01_events.csv \
  --source-column stim_is_animate \
  --positive-pattern "True" \
  --label-column condition \
  --positive-label animate \
  --negative-label inanimate \
  --out data/nod/sub-01_metadata_animate.csv