Complex stimulation analysis
@salvadord đang làm issue này rồi.
Từ ngày 31/10/2023.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
There is 4 different patterns that can be created:
- rythmic pattern
- evoked pattern
- poisson pattern
- gauss pattern
Each pattern have different parameters, but all own a "rand" parameter, not documented, that must be the random seed (?) of the pattern.
(??)
A "Spike Pattern" entry could be added in the "Stimulation Source" section.
The "pattern" section should be activated only if the the "interval" is not set in the parameters.
To do that, it's important to first select if we want a "pattern" or an "interval" or something else (there is another entry in the code it seems).
This kind of things looks like it's only used for VecStim, which is a new kind of stimulation not yet implemented.
If "pattern" is chosen a drop-down menu let the user select between each pattern.
By default "rythmic pattern" is selected.
Associated model entries
.. params['spikePattern']
spikePattern is where are located the patterns.
In this dict: type defines the type of pattern: rhythmic, evoked, poisson, gauss
In the params for the "VecStim" type of stimulation, there is:
- seed (optional)
- pulses (optional), list of "start, end, rate/interval, noise", where there can be either "rate", or "interval". "rate" can be a list of 2 elemements also
- rate (if rate is set, then "interval" is set, which disable the use of patterns)
- interval (if set explicitaly, "start" and "noise" can be set as parameter, they are both optional)
- if interval is not set, the check is done for "spikePattern"
- if interval is not set and spikePatterns is not set, the check is done for "spkTimes"
Interactions: if interval is set, then spikePattern and spkTimes parameters should be disabled.
In a general way, interval/spikePattern/spkTimes should react as in a xor (for disabling).
spikePattern:
- type: type of pattern
- sync: boolean, yes or no for the sync
- allotherparams: the parameters that will be passed to the pattern functions (see below)
Rythmic pattern
Parameters
- start (if -1 uniform distribution betwee, startMin and startMax (ms)) # time of first spike
- startMin (ms) activated only if start == -1 (default value 25) # minimum values of uniform distribution for start time
- startMax (ms) activated only if start == -1 (default value 125) # maximum values of uniform distribution for start time
- startStd (ms) only used if > 0.0 (validation rule, if < 0.0, change label for "unused" with tooltip explaining why?) # standard deviation of normal distribution for dtart time; mean is set by start param. Only usef if > 0.0
- freq (Hz) # oscillatory frenquency of rhytmic pattern
- freStd (Hz) # standard deviation of scillatory frequency
- distribution type ('normal' | 'uniform') # distribution type of scillatory frequencies
- eventsPerCycle should be 1 or 2 # spikes/burst per cycle
- repeats # number of times to repeat input pattern (equivalent to number of inputs)
- stop # maximum time for last spike of pattern
For start, startMin, startMax parameters, we can set only two inputs, one for "start" and one for "max", and a checkbox saying "start uniform distribution", if checked, the "max" input is available, and for the call, "start" is automatically set to "-1", while the "start" input is mapped to "startMin" and "max" to "startMax".
Interactions
If start == -1:
- startMin is used
- startMax is used
If distribution 'normal' is selected, then the following parameters can be used:
- freq
- freqStd
- eventsPerCycle
- start (either computed or original)
- repeats
- stop
If distribution 'uniform' is selected, then the following parameters can be used:
- freq
- freqStd
- eventsPerCycle
- start (either computed, or original)
- tstop (?)
Evoked Pattern
Parameters
- start (ms) # time of first spike
- inc (ms) (default value 0) # increase in time of first spike
- startStd (ms) # standard deviation of start
- numSpikes # total number of spikes to generate
No complex interactions here
Poisson Pattern
Parameters
- start (ms) # time of first spike
- stop (ms) # stop time; if -1 the full duration (doesn't really appear in the code)
- frequency (ms) # standard deviation of start
No complex interaction here
Gauss Pattern
- mu # Gaussian mean
- sigma # Gaussian variance
No complex interaction here
- Ngôn ngữ chính
- JavaScript
- Star
- 23
- Fork
- 10
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của MetaCell/NetPyNE-UI
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
MetaCell/NetPyNE-UI#835 ·
-
Docker Build Error: Failed to Pull jupyter/base-notebook:hub-1.5.0 Due to Authorization Issue Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
MetaCell/NetPyNE-UI#832 ·
-
CNS24 Tutorial - Issues Đang mở
MetaCell/NetPyNE-UI#829 · 2 bình luận · 3 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
MetaCell/NetPyNE-UI#794 · 2 bình luận ·
-
MetaCell/NetPyNE-UI#793 · 1 bình luận · 1 người được giao ·
Tất cả issue của MetaCell/NetPyNE-UI
Issue tương tự
-
bug customer-eng Durable Agents Inngest status: needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
optimization optimization:agents-md-curator
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
githubnext/gh-aw-cao#13475 ·
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
AOSSIE-Org/OrgExplorer#253 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
oxc-project/oxc#26944 ·
-
ai-observability bug team/ai-observability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100