EDF+ epoch creation tool
Explore the docs »
Report Bug
·
Request Feature
This code snippet will create an epoch from an EDF+ file given a start and end time in seconds.
- Python version: 3.9
To get a local copy up and running follow these simple steps.
- No Prerequisites required. Any Python3 version will suffice.
-
In a terminal, clone the repo by running:
git clone https://github.com/greydongilmore/edf-epoch.git
-
Change into the project directory (update path to reflect where you stored this project directory):
cd /home/user/Documents/Github/edf-epoch
-
Install the required Python packages:
python -m pip install -r requirements.txt
-
In a terminal, move into the project directory
cd /home/user/Documents/Github/edf-epoch
-
Run the following to execute the epoch script:
python main.py -i "full/path/to/edf/file" -s 10 -e 400
- -i: full file path to the EDF file you want to epoch
- -s: starting time for the epoch (in seconds)
- -e: ending time for the epoch (in seconds)
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Greydon Gilmore - @GilmoreGreydon - [email protected]
Project Link: https://github.com/greydongilmore/edf-epoch
- README format was adapted from Best-README-Template