ryanharvey1 / neuro_py

https://ryanharvey1.github.io/neuro_py/
MIT License
7 stars 3 forks source link

Reduce dependencies #25

Open ryanharvey1 opened 3 weeks ago

ryanharvey1 commented 3 weeks ago

Let's reduce the number of dependencies.

For the following, we can have optional dependencies or lazy imports as these are only used for CSD

    "elephant>=1.1.0",
    "neo>=0.13.3",
    "quantities>=0.15.0",

For these, we can reproduce using numpy

    "neurodsp>=2.2.1",
    "pyFFTW>=0.13.1",

For this, we can reproduce the two methods we are using

https://github.com/ryanharvey1/neuro_py/blob/b7024752086b701cbc4bd1d59ee51a3664478374/neuro_py/behavior/linearization_pipeline.py#L11C29-L11C74

"track-linearization>=2.3.1",