GithubHelp home page GithubHelp logo

Comments (8)

jasmainak avatar jasmainak commented on June 1, 2024

actually I take this back, it looks good to me. What do you say @rythorpe. See here: https://jasmainak.github.io/mne-neuron/auto_examples/plot_simulate_somato.html#sphx-glr-auto-examples-plot-simulate-somato-py

from hnn-core.

rythorpe avatar rythorpe commented on June 1, 2024

What changed to produce this? The simulated waveform looks good, but the scaling still seems a bit off.

from hnn-core.

jasmainak avatar jasmainak commented on June 1, 2024

nothing really. If I use the parameters you sent me, we get this. The problem arose when I tried to use the "diff" -- so maybe not all parameters were updated.

okay let me rename the issue to reflect that the scaling is off. Personally I think the right way to fix these things is with tests rather than trying to figure out what is different.

There are no tests in HNN, so it is really hard to attest a "correctness" to it. Of course, you have sanity checks but it would be hard to do software development without more solid testing.

from hnn-core.

rythorpe avatar rythorpe commented on June 1, 2024

Implementing some formal tests would be good. Let's also keep dialoguing (maybe at a different time and thread) about how to implement "diff" files in a better way.

from hnn-core.

blakecaldwell avatar blakecaldwell commented on June 1, 2024

Hi folks. As I mentioned to @jasmainak today, I found a couple of things causing inconsistent results with HNN:

  1. Refactoring: this fixed the first dipole deviation point:
    8f43e18
    @jasmainak Mainak, since you know the logic for the refactoring, can you attack this? Alternatively, since this code is technical debt and will be removed by netpyne integration, just ignore 1).
  2. The one fixed in PR #47. Commit: 8dfc00a

*) This change makes me uneasy because I don't understand the logic. The connection seemed to be unique, so I'm not sure why it's "spurious"?
12c2808

from hnn-core.

jasmainak avatar jasmainak commented on June 1, 2024

Thanks for digging into this @blakecaldwell !

regarding 1. let's fix it if you've already put in the effort into it and the code exists (which seems to be the case). I'll add a whats_new.rst page tomorrow so we can start documenting bug fixes with proper credit. A proper netpyne integration will take some time, but this is already useful!

The connection seemed to be unique, so I'm not sure why it's "spurious"?

okay perhaps I need to explain myself a bit here. This commit is part of #22 which was essentially fixing a bug introduced in the refactor of c76a27b. During the refactor I had mistakenly added a connection that should never have been there in the first place

from hnn-core.

blakecaldwell avatar blakecaldwell commented on June 1, 2024

Okay, that explanation helps. I wasn't sure if it was introduced by refactoring or was something that seemed ineffectual, so it was removed.

Can you fix the bug by reverting the commit or fixing the refactoring?

from hnn-core.

jasmainak avatar jasmainak commented on June 1, 2024

yep! I'm going to look into it :)

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.