-
Notifications
You must be signed in to change notification settings - Fork 3
Brainmap 247 Max
KenWWW edited this page Jul 16, 2023
·
1 revision
Script: tfsplt_brainmap.py
Makefile target: plot-brainmap
For brainmap max correlation plots, we provide --effect max and one format.
Below is a full example of a Makefile target and its arguments. Here, we are plotting the glove encoding max correlations. We use the default color gradient.
LAGS_PLT := {-2000..2000..25} # lag2k-25
LAGS_SHOW := $(LAGS_PLT)
SIG_FN_DIR := 'data/plotting/sig-elecs/20230510-tfs-sig-file'
SIG_FN := --sig-elec-file tfs-sig-file-glove-%s-comp.csv tfs-sig-file-glove-%s-prod.csv
plot-brainmap:
rm -f results/figures/*
python scripts/tfsplt_brainmap.py \
--sid 625 676 7170 798 \
--formats \
'/projects/HASSON/247/ken-encoding/demo/stock-glove/kw-tfs-full-%s-glove50-lag2k-25-all/*/*_%s.csv' \
--effect max \
--keys comp prod \
--lags-plot $(LAGS_PLT) \
--lags-show $(LAGS_SHOW) \
--sig-elec-file-dir $(SIG_FN_DIR) \
$(SIG_FN) \
--outfile glove_%s.png