Git Product home page Git Product logo

Delete data that is in the same part with EEG data, which is deleted during pre-processing. It is available in the previous script by getting the index of deleted epoch of EEG about hyperscanning2-redesign HOT 5 CLOSED

ihgumilar avatar ihgumilar commented on July 4, 2024
Delete data that is in the same part with EEG data, which is deleted during pre-processing. It is available in the previous script by getting the index of deleted epoch of EEG

from hyperscanning2-redesign.

Comments (5)

ihgumilar avatar ihgumilar commented on July 4, 2024

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 = []

image

from hyperscanning2-redesign.

ihgumilar avatar ihgumilar commented on July 4, 2024

d05d594 try to work from this

from hyperscanning2-redesign.

ihgumilar avatar ihgumilar commented on July 4, 2024

The list of indices is out of range. Max is 120.
We need to check the epoch of EEG script

Image

from hyperscanning2-redesign.

ihgumilar avatar ihgumilar commented on July 4, 2024
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.

ihgumilar avatar ihgumilar commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.