ihgumilar / Hyperscanning2-redesign

Experiment of hyperscanning2-redesign is adding questionnaire inside VR and also improved the UNITY that is used for the experiment.
1 stars 1 forks source link

Notes on saved list (*pkl file) that contains inter-brain synchrony scores & indices of deleted epochs #25

Closed ihgumilar closed 2 years ago

ihgumilar commented 2 years ago

Interbrain synchrony scores

Save the into pkl file with open('list_circular_correlation_scores_all_pairs_direct_pre_no_filter.pkl', 'wb') as handle: pickle.dump(list_circular_correlation_direct_pre_no_filter_all, handle, protocol=pickle.HIGHEST_PROTOCOL)

NOTE : The structure of list that has been saved (pkl file) is each pair will have 4 lists, which has the following order

So, if there are 15 pairs, then there will be (15 x 4) 60 lists in each pkl file

ihgumilar commented 2 years ago

Deleted epoch indices

Populate indices of deleted epochs into a list. We need this to reject epochs in eye tracker data

NOTE : Length of list once pkl file is loaded is equal to the number of pairs (a half of number of participants) If we have 15 pairs, then there will be 15 lists within that pkl file

with open('list_deleted_epoch_indices_direct_pre.pkl', 'wb') as handle:
    pickle.dump(all_deleted_epochs_indices_direct_pre, handle,
                protocol=pickle.HIGHEST_PROTOCOL)