Git Product home page Git Product logo

Comments (3)

jasmainak avatar jasmainak commented on September 26, 2024

This is done by:

net_jones = jones_2009_model()

jones_rise = net_jones.cell_types['L5_pyramidal'].synapses['gabab']['tau1']
law_rise = net.cell_types['L5_pyramidal'].synapses['gabab']['tau1']
print(f'GABAb Rise (ms): {jones_rise} -> {law_rise}')

jones_fall = net_jones.cell_types['L5_pyramidal'].synapses['gabab']['tau2']
law_fall = net.cell_types['L5_pyramidal'].synapses['gabab']['tau2']
print(f'GABAb Fall (ms): {jones_fall} -> {law_fall}\n')

as documented in this example:

https://jonescompneurolab.github.io/hnn-core/stable/auto_examples/workflows/plot_simulate_beta.html#sphx-glr-auto-examples-workflows-plot-simulate-beta-py

from hnn-core.

kmilo9999 avatar kmilo9999 commented on September 26, 2024

@ntolley @gtdang
I'm having difficulties finding the Dendrite capacitive density and Dendrite resistivity parameters inside the cell types L2 and L5 pyramidal structures.
I do see:

Apical Dendrite Trunk length
Apical Dendrite 1 length
Apical Dendrite 1 diameter
Apical Dendrite Tuft length
Apical Dendrite Tuft diameter
Oblique Apical Dendrite length
Oblique Apical Dendrite diameter
Basal Dendrite 1 length
Basal Dendrite 1 diameter
Basal Dendrite 2 length
Basal Dendrite 2 diameter
Basal Dendrite 3 length
Basal Dendrite 3 diameter

But not the ones I mentioned.
Can you point me to them in the hnn_core/cells_default.py code?

from hnn-core.

ntolley avatar ntolley commented on September 26, 2024

Hey @kmilo9999 you can access them from the code like this:

from hnn_core import jones_2009_model
net = jones_2009_model()
section = net.cell_types['L5_pyramidal'].sections['soma']
print(section.Ra) # resistance
print(section.cm) # capacitance
200.0
0.85

Is that everything you need? I can point you to the lines where this shows up in cells_default.py if you still need

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.