-
proektlab/Ethan_misc - clone next to this repository
- Add
Ethan_misc
to the MATLAB path. - Edit
Ethan_misc/prepSR.m
to point to local folders, as described in the comments.
- Add
See mt_new_2020_recs.m
followed by full_analysis_byday.m
for an example.
-
Compute CSDs for each region on each recording day using
plot_csd.m
- Output:
<date>/csd_<region>.mat
- Output:
-
Use CSDs to assign channel numbers to layers in the CSD matfiles using
pick_channels_from_csd.m
- Output:
<date>/csd_<region>.mat
- Output:
-
Find burst suppression using
find_likely_bs.mat
and mark any other artifacts manually in theartifacts
option tomultitaper_analysis
-
Do multitaper analyses of each recording's selected channels, with artifact filtering etc. using
multitaper_analysis.m
- Output:
<date>/<time>/mt_res_layers.mat
- Output:
-
Do NMF and extract classes and transitions for each channel (based on dominant component per time) using
concat_and_nmf.m
- Output:
<date>/nmf_res.mat
- Output:
-
Generate "null model" score data for each channel (shuffled using Markov chain - negative control for connectivity) using
gen_null_model_data.m
- Output:
<date>/nmf_res.mat
- Output:
-
Compute Euclidean distance between aligned NMF scores of each directed pair of channels (and plot results) with
score_dist_analysis.m
- Output:
<date>/nmf_res.mat
- Output:
-
Get normalized mutual information between discrete classes of each channel using
class_mut_info.m
fromEthan_misc
(seefull_analysis_byday.m
) -
Compute a measure of synchrony for each transition and compare to bootstrap with transitions shuffled using
get_state_transitions.m
andcalc_transition_synchrony.m