neuromodulation / py_neuromodulation

Real-time analysis of intracranial neurophysiology recordings.
https://neuromodulation.github.io/py_neuromodulation/
MIT License
41 stars 9 forks source link

Re-structure project folder hierarchy #348

Open toni-neurosc opened 1 week ago

toni-neurosc commented 1 week ago

We currently have quite a lot of files in the project already. With the adding of the GUI, we will be adding a bunch more, and I was thinking we can start organizing the package into sub-packages (i.e. folders with an __init__.py file inside).

This way, we can separate parts of the project a bit better, and we also get a more fine-grained control over what's exposed to the user from each sub-package through the __init__.py file.

I suggest the following categories as a start:

This is just a proposal, there might be other subdivision scheme that might make more sense, or better names for each of the categories. Or maybe just having the gui and features folders is enough and we can just leave the rest be for now.

I also have thought of the following changes:

timonmerk commented 1 week ago

Totally agree! Those are great proposals that would definitely clean up the repo quite a bit!