Git Product home page Git Product logo

Comments (4)

jasmainak avatar jasmainak commented on May 28, 2024

@SMPugliese thanks for opening the issue! Did you close it intentionally? I'm reopening it to discuss further. Can you edit your comment above to add a link to your repository?

I had created a pull request with the files that Carmen sent me here. Obviously this is not everything you have done. In general, I think it's a good idea to contribute back to the HNN repository. That way, you can have your changes up to date with everything else in HNN and you are not working off an older version. It's also a good opportunity to test whatever you change.

One obvious way I see to incorporate your change is to allow a L5pyr argument in the Network class that is None by default. This way you can override the default L5Pyr class with one you provide. Something like:

from hnn_core.pyramidal import L5Pyr

class L5PyrCustom(L5Pyr):

    def __init__(self, gid, pos, p):
        L5Pyr.__init__(gid, pos, p)

    def _biophys_dends(self):
        # your modified code here

net = Network(...., L5Pyr=L5PyrCustom)
dpl = simulate_dipole(net)

from hnn-core.

SMPugliese avatar SMPugliese commented on May 28, 2024

Thanks! I've edited to include the link. I can submit a pull request to this repository later as well.

from hnn-core.

jasmainak avatar jasmainak commented on May 28, 2024

sounds good, start something and we'll help you if you get stuck!

from hnn-core.

jasmainak avatar jasmainak commented on May 28, 2024

closed by #333

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.