Git Product home page Git Product logo

Comments (7)

jasmainak avatar jasmainak commented on May 28, 2024

I would start with a WIP pull request that makes netpyne an optional dependency (nested import) and shows how you can obtain the same result (with a test).

However, even before spending too much time doing this, I would suggest writing an example. How do you expect the user to interact with these new capabilities? If they change the network, in what ways would they do it in the context of EEG/MEG signals?

from hnn-core.

blakecaldwell avatar blakecaldwell commented on May 28, 2024

This is more work than I plan on undertaking. Instead, I may first adopt some of the changes in PR #55 into the NetPyNE branch above.

If they change the network, in what ways would they do it in the context of EEG/MEG signals?

  1. performance: it would allow for reconfiguration of the network (e.g. synaptic weights) without tearing it down (necessary to avoid memory leaks) and rebuilding it
  2. it helps the HNN project goals by inferring a mechanistic understanding of EEG/MEG signals, not limited by the static network configuration used in HNN (and mne-python)

from hnn-core.

blakecaldwell avatar blakecaldwell commented on May 28, 2024

Oops, I meant mne-neuron instead of mne-python ^^

from hnn-core.

jasmainak avatar jasmainak commented on May 28, 2024

okay netpyne adoption is in my mental roadmap :) However, I don't want to rush it. Since the HNN code base is small it allows me to iterate fast, try things and learn more about Neuron. Adding a minimal GUI would not be that difficult (hopefully) once the code is a bit settled. In the meanwhile, I am hoping netpyne codebase improves a bit in terms of documentation / API etc. so one doesn't have to spend hours figuring out details of how it works.

from hnn-core.

blakecaldwell avatar blakecaldwell commented on May 28, 2024

Example of how this could look:
#93

This hides Neuron stuff inside of netpyne. Everything in hnn-core can be pickled, which makes it easier for joblibs and MPI to coexist.

Now network.py and cell.py just define the netpyne specification (not object-oriented) which is passed into netpyne. Work remains to make this more readable, and there are some questions about hard-coded values.

Note, several organizational splits:

  1. Moved spiking functions out of Net and into their own class Spike
  2. Moved simulation functions into simulation.py. These basically call netpyne simulation functions.
  3. MPI features/complexity in mpi.py. This is for advanced use cases on cluster compute systems.

from hnn-core.

jasmainak avatar jasmainak commented on May 28, 2024

maybe we need a netpyne coding sprint to understand and improve netpyne ... :)

from hnn-core.

blakecaldwell avatar blakecaldwell commented on May 28, 2024

True. I think that'd be very helpful...

from hnn-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.