Git Product home page Git Product logo

icsd's People

Contributors

espenhgn avatar junji110 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

icsd's Issues

Unittests

Need unittest for spline iCSD method, and tests for failiures e.g., if input is given in different units than m, V, S/m etc.

matlab version?

The link to the original matlab version appears to be broken - do you know whether it is still hosted anywhere? Thanks -

Spline iCSD lower extend boundary

Hi, I'm Marta from Daniel's lab at Nencki. We're trying to compare iCSD methods to kCSD. I found a discrepancy in your Spline iCSD implementation. Could you please verify?

In file icsd.py at line 311, 426 and 474:

z_js = pl.zeros(el_len+2)
z_js[1:-1] = self.coord_electrode
z_js[-1] = z_js[-2] + pl.diff(self.coord_electrode).mean()

Here, I suspect that there must be the following line:
z_js[0] = z_js[1] - pl.diff(self.coord_electrode).mean()

Similarly in, line 386:
coord_ext[0] = 0
should be

coord_ext[0] =  self.coord_electrode[0] - \
            pl.diff(self.coord_electrode).mean()

Thanks!

parameter `coord_electrode`

It seems that all CSD estimation methods assume equal spacing of recording depths and hence what they actually need for calculation is the interval between the depths (i.e. local variable h_val).
Then, isn't it simplar to give as an argument only the interval, rather than the coordinates of all the recording depths?
I also spotted a bug in SplineiCSD() related to this point, i.e., if you give coord_electrode so that the first element of this array is not just below zero (e.g, coord_electrode = (1000E-6, 1100E-6, ...)), the class returns a wrong result (and I cannot manage to fix this bug).

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.