Skip to main content

EEG Phrase Predictor

Setup

  • Requirements: python==3.9
  • Installing:
        pip install eegpp
    

Configuration

YML_CONFIG_FILE (e.g. data_config_infer.yml) with the following contents

datasets:
  time_step: 4000 #milliseconds
  data_dir: "FULL_PATH_TO_THE_FOLDER_WITH_RAW_SIGNAL_FILES"
  tmp_dir : "FULL_PATH_TO_THE_TMP_FOLDER"
  out_dir: "FULL_PATH_TO_THE_OUTPUT_FOLDER"
  seq_files: ["name_of_raw_file_1", "name_of_raw_file_2",...,"name_of_raw_file_n]
  template_files: ["template_label_file_1", "template_label_file_2", ..., "template_label_file_n"]
  out_seperator: "\t"

If there is no template for label file, leave it as : template_files: [] or remove the line Example:

datasets:
  time_step: 4000 #milliseconds
  data_dir: "/home/EEGData/EEG_test_files"
  tmp_dir : "/home/EEGData/tmp"
  out_dir: "/home/EEGData/EEG_test_files"
  seq_files: ["raw_K3_EEG3_11h.txt", "raw_RS2_EEG1_23 hr.txt", "raw_S1_EEG1_23 hr.txt"]
  template_files: ["K3_EEG3_11h.txt", "RS2_EEG1_23 hr.txt", "S1_EEG1_23 hr.txt"] # if no template, set to : [ ] or remove this line
  out_seperator: "\t" for tab or "," for commas

or

datasets:
  time_step: 4000 #milliseconds
  data_dir: "/home/EEGData/EEG_test_files"
  tmp_dir : "/home/EEGData/tmp"
  out_dir: "/home/EEGData/EEG_test_files"
  seq_files: ["raw_K3_EEG3_11h.txt", "raw_RS2_EEG1_23 hr.txt", "raw_S1_EEG1_23 hr.txt"]
  template_files: [] # if no template, set to : [ ] or remove this line
  out_seperator: "\t" for tab or "," for commas

Running

Command:

    python -m eegpp -p PATH_TO_THE_YML_CONFIG_FILE -e -t 0.55 {-n for norule}

e.g.

    python -m eegpp -p data_config_infer.yml -e -t 0.55

No rule:

    python -m eegpp -p data_config_infer.yml -e -t 0 -n

Add option -l to enter silence mode (no screen output).

For visualization:

First run inference with option -s:

    python -m eegpp -p data_config_infer.yml -e -t 0 -n -s

Then:

    python -m eegpp -p data_config_infer.yml -v

To enter visualization mode for the first dataset in data_config_infer.yml. EpochID starts with 1

or add -i option to set epoch ids

    python -m eegpp -p data_config_infer.yml -v -i EpochID1,EpochId2,...,EpochIDn

To plot the signal and prediction of the EpochID (Indexing from 1), separating by commas

Metadata

Release files for eegpp 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eegpp 2.1.2
File Size Uploaded Provenance Actions
eegpp-2.1.2.tar.gz 23.8 MB Without provenance Details for eegpp-2.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eegpp 2.1.2
File Interpreter ABI Platform Actions
eegpp-2.1.2-py3-none-any.whl Python 3 none any Details for eegpp-2.1.2-py3-none-any.whl

Total release size: 47.5 MB

Release files / eegpp-2.1.2.tar.gz

Download URL eegpp-2.1.2.tar.gz
Size 23.8 MB
Tags Source
SHA-256 checksum
How to use checksums
2db2e60ebf959b470ff5b12b139159a106f3cedf249e7487e8695d3903245ec0
BLAKE2b-256 checksum
How to use checksums
fef0a7050f285dedf95d9a728518d0a4448c445c5d9c748196f6d142f7802a09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / eegpp-2.1.2-py3-none-any.whl

Download URL eegpp-2.1.2-py3-none-any.whl
Size 23.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e9f9527b78929c2daf335ea1a2be109da2073b690c237473b5b2440db4a7b71a
BLAKE2b-256 checksum
How to use checksums
56d89f88d3d5b27d5edc3efaeb07c3f49570850da55761d8b2a78eb599ecb8a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Security for eegpp 2.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page