Neuroscience is the study of nervous systems. This tag is broadly applied to questions from the various subbranches like brain imaging, neural engineering, computational and systems neuroscience.
Questions tagged [neuroscience]
162 questions
2
votes
1 answer
Is the problem my function or the dataset I'm trying to use?
I'm new to Julia programming, so researching for my thesis I found the following code, but I can't seem to grasp what the error is. The function main is supposed to take a dataset and then plot some results, but when I try to call the function into…

Andrés CM
- 21
- 2
2
votes
2 answers
How can I apply a function to each row in a pandas dataframe?
I am pretty new to coding so this may be simple, but none of the answers I've found so far have provided information in a way I can understand.
I'd like to take a column of data and apply a function (a x e^bx) where a > 0 and b < 0. The (x) in this…

Neuro_JCB
- 23
- 5
2
votes
2 answers
Extending histogram function to overlapping bins and bins with arbitrary gap?
Is there a histogram function that handles any general bins?
In my neuroscience application, I have two 1D arrays: spikes and time_centers and a parameter time_window. My goal is to output array called firing_rate that has the same size as…

Mikhail Genkin
- 3,247
- 4
- 27
- 47
2
votes
1 answer
Install libjpeg v8 to /opt/local
How do I install libjpeg 8 to /opt/local on OSX? The reason I am asking is that I would like to create small movies of brain activity using the MNE-C libraries.
I executed 'mne_make_movie' which results in the following error:
Movie production…

user3798033
- 25
- 7
2
votes
1 answer
Am I reading the notation of a heavysidestep function correclty for the leaky integrate-fire-or-burst neuron model?
As a passion project I'm recreating a neuronal model from XJ Wang's lab at NYU. The paper is Wei, W., & Wang, X. J. (2016). Inhibitory control in the cortico-basal ganglia-thalamocortical loop: complex regulation and interplay with memory and…

Angus Campbell
- 563
- 4
- 19
2
votes
1 answer
Keras does not mach model with classes
I am new to Keras and I am trying to make a Neuronal Network to recognize 38 cases. I created such a model, but it just does not work. There is some problem with last layer I think. I checked summary and it looks like output of last layers is 38 as…

Wiciaq123
- 486
- 4
- 13
2
votes
1 answer
Neuron and Python installation
Good morning,
I have installed Neuron 7.4 and it works well (I ran several simulations of neuron models) and I would like to use it as interpreter of python.
When I type ('$ nrngui -nopython'), NEURON is launched .
However, when I type ('$…

balou
- 21
- 2
2
votes
1 answer
Debugging NEURON MOD files?
What are some useful ways to debug NEURON simulator .MOD files? In other languages one can usually use print() statements to see the variable values. Is there something like a print() statement in .MOD files?

Justas
- 5,718
- 2
- 34
- 36
2
votes
2 answers
Easy way to list NEURON section properties/information?
In NEURON simulator, is there an easier way to list properties of a section other than iterating over each property individually?

Justas
- 5,718
- 2
- 34
- 36
2
votes
0 answers
How to render a 3D brain image in a mayavi plot
I have to plot a networks of connections of brain regions. I would like obtaining something similar to Figure 1.
I was able to put points in a 3D space and link them with edge by using python with mayavi. The code is here:
import mayavi
# get…

Ewybe
- 395
- 2
- 4
- 15
2
votes
1 answer
Leaky Integrate and fire neuron model
Ive been diving into neural networks lately. They're awesome but a little obscure and very inaccessible to say the least. I am particularly interested in liquid state machines which heavily use the integrate and fire neuron model. This totally…

user1354917
- 105
- 14
1
vote
0 answers
Too many parameters in model
Hi I wanted to create a 'mega' linear mixed effects model with nested fixed effects (using the lme4 package) where the interaction effect of type and language was modelled within each level of brain region or Region-of-interest (ROI), type*language…

Serena
- 11
- 1
1
vote
0 answers
How to fix "TypeError: loop of ufunc does not support argument 0 of type Mul which has no callable tanh method"?
I am trying to get the nullclines of Morris-Lecar model using the equation and solve commands from sympy module, but it tells me "loop of ufunc does not support argument 0 of type Mul which has no callable tanh method"
how can I solve this and draw…

Mariam Ismail
- 11
- 2
1
vote
1 answer
How to understand the dimensionality of 3D MRI or Nifti images?
I see that 3D images in the shape of XYZ, where X is the height of the image, Y the breadth, and Z the depth. Depth indicates the number of 2D images that make this single 3D MRI images. Right?
Is my understanding correct or is there something that…

John
- 47
- 5
1
vote
1 answer
Coloring area between pixels based on thickness
I'm trying to isolate the gray matter in a brain image and color it based on the cortical thickness at each point giving a result similar to this:
Cortical thickness map based on this original: Original brain scan
So far I have segmented the white…

flygongaby
- 11
- 2