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
1
vote
2 answers
Solve multiple equal ODE systems that influence each other
I'm using MATLABs ODE suite to solve a system of 13 differential equations that determine the behavior of a neuron. Now I'd like to add a second neuron, that is operated by the same set of differential equations, but is influenced by the first…

MikeR
- 11
- 1
1
vote
1 answer
Using an array of iterators for reading sparse information
I am currently writing a c++ code to work with spike trains for a problem in theoretical neuroscience. The actual neuroscience, however, is fairly irrelevant to my question. Basically, I have a long timeframe, I want to store every time the neuron…

Yoni Browning
- 11
- 2
0
votes
0 answers
Leaky Integrate and fire neuron model - Linear decay of the membrane potential
I know that the in the LIF model, in the absence of input signals, the membrane potential will decay non linearly following an exponential of exp(t/tm) where tm is The membrane time constant. I am looking for references that discusses why the…

IrDa
- 1
0
votes
0 answers
Why does my class incremental learning accuracy decrease in the middle?
I am trying to generate a class-incremental framework which decreases forgetting on a split-cifar10 dataset but I am running into problems.
I am trying to use a memory buffer and train my model on experience replay. However, I am getting a dip in…

EH21
- 1
0
votes
0 answers
Brian2 error: 'Attribute' object has no attribute 'id' and Unknown syntax: Call
I have tried to construct a Hodgkin-Huxley Model with brian2 and encountered the following error messages at the same time: 'Attribute' object has no attribute 'id' and Unknown syntax: Call at the same time. I used Anaconda Jupyternotebook amd my…

ZLi
- 1
0
votes
0 answers
Shapes must be equal rank, but are 0 and 2 From merging shape 0 with other shapes. for '{{node AddN}} = AddN[N=2, T=DT_FLOAT] bug?
I am currently trying to train an EEGnet model with tensorflow to do binary classification of EEG signals ( paper: [https://arxiv.org/abs/1611.08024] . My model is as follows
fs = 512 # sampling frequency
def…

Djeser Kordon
- 1
- 1
0
votes
1 answer
How to move the leaky integrate and fire model from using the Euler method to a Python ODE solver?
I have a questions with regards to the implementation of the leaky integrate and fire model in Python using ODE solvers.
I have an implementation using the Euler method with a for loop:
import numpy as np
import matplotlib.pyplot as plt
# Define…

OMS
- 57
- 1
- 9
0
votes
0 answers
How to plot the discretized Hodgkin Huxley Equation for different locations along a 10 cm axon?
I'm trying to plot this equation at various locations on the axon (ie, 1, 2, 4, 6 cm):
in python using the Forward Euler method. There are two boundary conditions at k=1 where (V_{k+1} + V_{k-1}-2V_{k}) = (V_{2} - V_{1}), and at k=N=100 where…

rerecodes
- 33
- 5
0
votes
0 answers
Error "File too small" When using spm_slice_vol, Fieldtrip MATLAB
When I was trying to convert a CT scan file's coordinate system into an approximation of the ACPC coordinate system on Fieldtrip MATLAB for a tutorial, there was error prompting that:
Warning: Cant get default Analyze orientation - assuming flipped…
0
votes
0 answers
How can I download a package with 'invalid active developer path'?
I am trying to download a package 'neuroCombat' in MacOS (Catalina) but having no success.
I have tried just the basic 'install.packages("neuroCombat") but get the error 'Warning in install.packages :
package ‘neuroCombat’ is not available (for R…

AmeliaB
- 1
0
votes
0 answers
Dataset for task fMRI
I can't find any preprocessed dataset for task-fmri on which I can apply dynamic causal modeling (Friston et al. 2003). Does anyone know any dataset (other than the 3 region attention to motion dataset)? Thanks.
Most papers use different datasets…
0
votes
0 answers
pyod for EEG outlier detection
I have segments of EEG data as 19 epochs:
np.shape(epoch)
Out: (19, 2)
For ith epoch, epoch[i][0] is the data and epoch i is the time. So,
np.shape(epoch[0][0])
Out: (5, 127501)
is the data from five EEG channels corresponding to time…

S C
- 284
- 2
- 9
0
votes
1 answer
Why am I getting this error with 3dDeconvolve when I run my AFNI script on an Ubuntu bash shell?
I'm trying to run a variation of the doDecon.sh AFNI script in the OpenScience_Scripts repository that will process the functional neuroimaging data for each of the three tasks I am analyzing separately, but I keep running into an error with the…

anamarz
- 1
- 1
0
votes
1 answer
How to round Quantity instances in brian2?
I have this problem:
equilibrium_potential = my_func() # outputs equilibrium_potential*mV
I want to check that equilibrium_potential is around 77*mV. I've tried calling base python round on the equilibrium_potential which is of type…

FountainTree
- 316
- 1
- 11
0
votes
1 answer
NII Files Voxel Data Ordering
I have a .nii file with the following meta data
NII Header Size: 348
NII Magic Number: n+1
Dimension Information:
Frequency Dimension: 0
Phase Dimension: 0
Slice Dimension: 0
Number of…

David Yue
- 713
- 7
- 24