Skip to content

Brainmap Podcast Subjects

KenWWW edited this page Jul 16, 2023 · 3 revisions

Explanation

Script: tfsplt_brainmap_cat.py

Makefile target: plot-brainmap-subjects


Example

Below is a full example of a Makefile target and its arguments. Here, we are plotting the podcast 160 significant electrodes colored by their subject. We use the default color gradient.

SIG_FN_DIR := 'data/plotting/sig-elecs'
SIG_FN := --sig-elec-file podcast_160.csv
plot-brainmap-subjects:
	rm -f results/figures/*
	python scripts/tfsplt_brainmap_cat.py \
		--sid 777 \
		--keys comp prod \
		--sig-elec-file-dir $(SIG_FN_DIR) \
		$(SIG_FN) \
		--outfile podcast_%s.png

Clone this wiki locally