Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
singlesp committed Oct 14, 2021
1 parent 0293e3b commit 62e0483
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion E_corrs.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


%%
split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))
numClusters = 4;

Expand Down
2 changes: 1 addition & 1 deletion T_sweep_sps.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

%% set inputs
numClusters = 4;
split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))


Expand Down
2 changes: 1 addition & 1 deletion ami_calc.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
basedir = '/Users/sps253/Documents/energy_landscape';
cd(basedir);

split = 'psilo'
split = 'main'

load(fullfile(['data/',split,'.mat']))

Expand Down
2 changes: 1 addition & 1 deletion complexity_measures.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
savedir = fullfile(basedir,'results','example');mkdir(savedir);
%% set inputs

split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))
numClusters = 4;

Expand Down
2 changes: 1 addition & 1 deletion countclusters.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

%% set inputs

split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))
savedir = fullfile(basedir,'results','example');mkdir(savedir); % set save directory

Expand Down
2 changes: 1 addition & 1 deletion elbow_sps.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
basedir = '/Users/sps253/Documents/energy_landscape';
cd(basedir);

split = 'psilo'
split = 'main'

savedir = fullfile(basedir,'results','example');mkdir(savedir);
load(fullfile(basedir,['data/',split,'.mat'])) % make sure this file matches the split you want to run below
Expand Down
2 changes: 1 addition & 1 deletion m5HTcomparisons.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

%% set inputs
numClusters = 4;
split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))

T = 0.001 % set time scale parameters based on values from paper
Expand Down
2 changes: 1 addition & 1 deletion plotcentroidsSPS.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%% plot

numClusters = 4;
split='psilo'
split='main'

load(fullfile(savedir,['Partition_bp',num2str(split),'_k',num2str(numClusters),'.mat']))

Expand Down
2 changes: 1 addition & 1 deletion repeatkmeans_sps.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

%% load data

split = 'psilo' %%<- options: main, gsr, sch, music, psilo
split = 'main' %%<- options: main, gsr, sch, music, psilo


load(fullfile(['data/',split,'.mat']))
Expand Down
2 changes: 1 addition & 1 deletion si_scripts/energy_as_increasing_k.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
%% load partitions from elbow plot

maxk = round(sqrt(TR)) -1; %k^2 must be less than TR to capture all transitions
k_rng=2:14;
k_rng=2:maxk;

C_sub = [repmat([1 0 0],nsubjs,1); repmat([0 0 0],nsubjs,1)];
C_avg = [[1 0 0];[0 0 0]];
Expand Down
2 changes: 1 addition & 1 deletion spin_receptor_map.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
savedir = fullfile(basedir,'results','example');mkdir(savedir); % set save directory

%%
split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))

numClusters=4; T=0.001;
Expand Down
2 changes: 1 addition & 1 deletion subcentroids.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%% load BOLD data


split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))

numClusters=4;
Expand Down
2 changes: 1 addition & 1 deletion subj_energy.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
T = 0.001 % set time scale parameters based on values from T_sweep_sps.m

numClusters=4;
split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))

load(['Partition_bp',num2str(split),'_k',num2str(numClusters),'.mat'],'partition','centroids','clusterNames'); %make sure file matches centroids you want to initialize from
Expand Down
2 changes: 1 addition & 1 deletion systems_plot_sps.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
addpath(genpath('code'))
%% set inputs
numClusters = 4;
split='psilo'
split='main'

savedir = fullfile(basedir,'results','example');mkdir(savedir); % set save directory
load(fullfile(savedir,['Partition_bp',num2str(split),'_k',num2str(numClusters),'.mat']))
Expand Down
2 changes: 1 addition & 1 deletion transProbs.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

%% set inputs
numClusters = 4;
split='psilo'
split='main'
load(fullfile(['data/',split,'.mat']))
savedir = fullfile(basedir,'results','example');mkdir(savedir); % set save directory
load(fullfile(savedir,['Partition_bp',num2str(split),'_k',num2str(numClusters),'.mat']))
Expand Down

0 comments on commit 62e0483

Please sign in to comment.