-
Notifications
You must be signed in to change notification settings - Fork 3
Old Scripts
The old-scripts folder contains previous plotting scripts that are not currently used.
-
tfsemb_content-words.py: Plot histograms of content words based on predictions -
tfsemb_cosine-distance.py: Plots scatter plot for cosine distance between consecutive words -
tfsenc_0shot-sig-test.py: Script used for 0shot encoding plots with sig-test asterisks -
tfsenc_brain.py: Old script used to generate txts combining coordinate files and encoding results -
tfsenc_sig-test.py: Used for some experimental sig test using mixed gaussianOld Command:
# SP := 1
# sig-test:
# rm -f results/figures/*
# python scripts/sig_test.py \
# --sid 676 \
# --formats \
# 'results/tfs/625-676/kw-tfs-full-676-glove50-lag10-25/kw-200ms-all-676/*_%s.csv' \
# --labels glove \
# --keys prod comp \
# --values $(LAGS) \
# $(SIG_FN) \
# --sig-percents $(SP)
-
tfsenc_uriplots2.py: Used to aggregate results and generate some files for Uri's grant (2022-09) -
tfspkl_word-gap.py: Used to plot histograms of word length and word gap for whole datum/conversation based on the label pickle -
tfsplt_brainmap.m: Old Matlab brainmap code version 1 (one color bar) -
tfsplt_brainmap2.m: Old Matlab brainmap code version 2 (two color bars) -
tfsplt_brainmap3.m: Old Matlab brainmap code version 3 -
tfsplt_encoding-eric.py: encoding script trying to replicate Eric's paper results, also contains old code for layer and context heatmaps for HarshaOld Command:
# HAS_CTX := --has-ctx
SIG_ELECS := --sig-elecs
CONDS := all correct incorrect
CONDS := all flip
plot_layers:
rm -f results/figures/*
python scripts/tfsplt_layer.py \
--sid 625 \
--layer-num 16 \
--top-dir results/tfs/bbot-layers-625 \
--modes comp prod \
--conditions $(CONDS) \
$(HAS_CTX) \
$(SIG_ELECS) \
--outfile results/figures/625-ericplots-bbot.pdf
-
tfsplt_encoding-eric2.py: encoding script trying to replicate Eric's paper results, also contains Eric's brain area plots -
tfsplt_encoding-old.py: Old main encoding script. Had an option to order electrode by a sig-elec list if there is only one list