Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1f80d31
configured python package to work with pypi
AmeerHamoodi Aug 29, 2025
bbb2bd9
initialized sphinx and added base documentation
AmeerHamoodi Aug 29, 2025
c205524
added readthedocs yaml
AmeerHamoodi Aug 29, 2025
c0511a8
refactored estimators to be based on parent class and completed etp t…
AmeerHamoodi Aug 30, 2025
b6a698d
Updated API reference and sphinx theme
AmeerHamoodi Aug 31, 2025
3296b83
Added ETP plots, tests and updated docs
AmeerHamoodi Sep 1, 2025
644b90d
auto-pep8 formatting added
AmeerHamoodi Sep 1, 2025
1f2ae5e
Added base AR phase estimator, test and docs
AmeerHamoodi Sep 1, 2025
1dbee50
removed rough work
AmeerHamoodi Sep 1, 2025
d2c3c0b
accounted for stochasticity of gaussian random noise in phastimate test
AmeerHamoodi Sep 1, 2025
cc0314e
added bayesian optimization and genetic optimization for AR params
AmeerHamoodi Sep 1, 2025
fd0d32e
added requirements.txt for docs
AmeerHamoodi Sep 2, 2025
92b09b3
added gh workflow for tests and linting
AmeerHamoodi Sep 3, 2025
d0a3528
modified action to only run on PR
AmeerHamoodi Sep 3, 2025
11a282c
specified pyproject path in actions
AmeerHamoodi Sep 3, 2025
96f4016
fixing dependencies installation bug on actions
AmeerHamoodi Sep 3, 2025
13396f2
fixed most linting errors
AmeerHamoodi Sep 3, 2025
07b6491
fixed remaining lint errors and warnings
AmeerHamoodi Sep 3, 2025
6308437
fixed additional 2 linting errors
AmeerHamoodi Sep 3, 2025
6cba269
modified workflow to install pytest
AmeerHamoodi Sep 3, 2025
bee582a
modified tests to only use mne on local
AmeerHamoodi Sep 3, 2025
1d50ab2
removed unnecessary imports from tests
AmeerHamoodi Sep 3, 2025
f237f02
run mne code on local only
AmeerHamoodi Sep 3, 2025
baff476
updated ci check in tests
AmeerHamoodi Sep 3, 2025
f06a966
added code-coverage reports
AmeerHamoodi Sep 3, 2025
0c3fa82
minor code changes and full documentation push
AmeerHamoodi Sep 4, 2025
430690d
array conversion occurs outside of check
AmeerHamoodi Sep 4, 2025
a6f4065
Update docs/source/index.rst
AmeerHamoodi Sep 8, 2025
779f522
fixed typos, code blocks and added cross-refs
AmeerHamoodi Sep 8, 2025
ff8a253
Update docs/source/usage/etp.rst
AmeerHamoodi Sep 8, 2025
0ee7fe3
Update docs/source/usage/etp.rst
AmeerHamoodi Sep 8, 2025
917cd90
added wiki links
AmeerHamoodi Sep 8, 2025
a391846
Merge branch 'feat/new-estimators' of github.com:AmeerHamoodi/EEGPhas…
AmeerHamoodi Sep 8, 2025
a695d42
pip naming improvement and added sphinx-gallery
AmeerHamoodi Sep 12, 2025
aa9ec3e
fix: removed orphan from gallery, added requirements.txt, updated typ…
AmeerHamoodi Feb 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
# Exclude all __init__.py files
exclude = __init__.py, ./tests/**/**
36 changes: 36 additions & 0 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Lint with flake8 and test with PyTest

on: [pull_request]

jobs:
flake8-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Install testing dependencies
run: |
pip install flake8 pep8-naming pytest pytest-cov

- name: Install package dependencies
run: |
pip install -e .

- name: Run flake8
run: |
flake8 EEGPhasePy

- name: Run PyTest
run: |
pytest --cov --cov-branch --cov-report=xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
phase-eeg
__pycache__
venv
dist
EEGPhasePy.egg-info
eegphasepy.egg-info
tests/test_data/**
21 changes: 21 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version, and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# Optionally, but recommended,
# declare the Python requirements required to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
Binary file removed EEGPhasePy/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
4 changes: 3 additions & 1 deletion EEGPhasePy/estimators/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .etp import ETP
from .etp import ETP
from .estimator import Estimator
from .phastimate import PHASTIMATE
Binary file not shown.
Binary file removed EEGPhasePy/estimators/__pycache__/etp.cpython-39.pyc
Binary file not shown.
Loading