Comments (5)
The above code is related to this
# Create dictionary which contains indices to delete
key_counter = 0
labels_indices = {}
for val in range(0, 15000, 125):
idx_start = val
idx_end = val + 125
labels_indices.update({key_counter : [idx_start, idx_end]})
key_counter += 1
labels_indices_2_delete = []
from hyperscanning2-redesign.
d05d594 try to work from this
from hyperscanning2-redesign.
The list of indices is out of range. Max is 120.
We need to check the epoch of EEG script
from hyperscanning2-redesign.
def extract_experimental_data(
path_2_csv_files: str,
path_2_save_experimental_file: str,
labelsequence_experiment: list,
bad_files: list = [],
):
"""
Extract experimental data from raw EEG file (*.csv) that was obtained from hyperscanning2-redesign experiment \n
Arguments :
- path_2_csv_files (str) : path to raw EEG file \n
- path_2_save_experimental_file (str) : path to save extracted baseline file for each condition \n
- labelsequence (int) : order of pre-defined label sequence \n
- bad_files (list) (optional) : file name(s) of raw EEG data, e.g., EEG-S8.csv, that wants to be skipped to process
Return :
Extracted *.fif (MNE-Python) file for each condition of hand (finger pointing and tracking).
There are 18 files in total for each participant.
from hyperscanning2-redesign.
44d89f1 use this repo. It fixed all the issues. Those issues occured when we still have an issue with S-16 and data not complete yet.
Enhanced type of parameter of function
- This works for cleaning up 26 files of eye tracker raw data
pre-processing of eye tracker files that are stored in the above are explained below :
-
Extract (separate data of baseline and experimental) using file of using
extract_eye_tracker_new.py
, -
Combine raw files using
combine_2_csv_files_eye_tracker_data.py
, -
Clean up the raw eye tracker files using file
cleaning_eye_tracker.py
NOTE : Ignore file of extract_eye_tracker.py
from hyperscanning2-redesign.
Related Issues (20)
- Mixed results HOT 1
- Notes : Running permutation in several screen of linux
- Process demographic data
- Function to calculate how many percentage of looking and not looking HOT 1
- Modules of eye tracker HOT 1
- Module of EEG HOT 9
- Module of Questionnaire HOT 2
- Viz-Remove x-axis and y-axis visualization of eye data
- Remove x-axis and y-axis visualization
- Viz-Add title of figure of plot
- Viz-Change no or info on legend of color bar HOT 1
- Viz-Capture the background for various eye conditions and put as overlay HOT 1
- Combine pre and post condition for visualization
- Create function to plot data of eye tracker into heatmap HOT 3
- Initialization of documentation using sphinx HOT 4
- Configuration of sphinx
- Documentation of phd_codes HOT 4
- Documentation of phd_codes HOT 2
- Correlational analysis between EEG connections and SPGQ score (After defense Revision) HOT 1
- Added function to calcuate 2 way repeated measures ANOVA
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperscanning2-redesign.