Skip to content

Commit

Permalink
Update readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinqi Huang committed Feb 21, 2022
1 parent ff6f5c2 commit 5aa7cc4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
10 changes: 5 additions & 5 deletions NeuroCores/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,17 @@ The network
Common argument for all functions is the network itself (`net`). The network
should have the following fields defined.

* `LTP_V` and `LTP_pw`: Voltage and pulse width for potentiation
* `LTD_V` and `LTD_pw`: Voltage and pulse width for depression
* `epochs`: The total number of timesteps
* `epochs`: The total number of timesteps for training
* `epochsForTesting`: The total number of timesteps for testing
* `NETSIZE`: The total number of neurons
* `LTPWIN` and `LTDWIN`: Window for LTP and LTD
* `DEPTH`: Depth of the network
* `Ap`, `An`, `a0p`, `a1p`, `a0n`, `a1n`, `tp`, `tn`: memristor parameters
* `rawin`: The raw state of all neurons
* `stimin`: The stimulus input (see NeuroData/motif_stim.txt for an example)
* `ConnMat`: The connectivity matrix (see NeuroData/motif_connmat.txt for an
example)
* `params`: A dict containing any user defined parameters defined in the base
configuration excluding `NETSIZE`, `LTPWIN`, `LTDWIN` and `DEPTH` that must
configuration excluding `NETSIZE`, `DEPTH`, `Pattern ` that must
be *always* defined. By using an alternate base configuration file (see
NeuroData/Neurobase.json for the base configuration) additional parameters can
be introduced and will be available under the `params` dict.
Expand All @@ -61,3 +60,4 @@ current status of the network and has the following fields defined.
* `fireHist`: History of firing neurons. It should be updated during the
`neurons` step.


29 changes: 29 additions & 0 deletions NeuroData/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
NeuroPack core library

------------------------------------------------------------------------------
All necessary configuration parameters in NeuroBase.json file:

* `NETSIZE`: The total number of neurons
* `DEPTH`: Depth of the network
* `SPIKETRAIN`: if spike train is enabled as inputs.
* `Pattern_epoch`: the number of spikes regarded as one input if spike train is enabled. Currently used in tempotron core.
* `temporalCoding_enable`: if temporal coding is enabled.
* `LAYER`: the number of layers
* `dt`: time step used in Izhkevich neuron core.
* `INITRES`: memristors initialised resistance states
* `DEVICEINITVAIATION`: memristor initialisation variation
* `POSVOLTOFPULSELIST`: magnitudes of pulse options for positive pulses
* `POSPULSEWIDTHOFPULSELIST`: pulsewidth of pulse options for positive pulses
* `NEGVOLTOFPULSELIST`: magnitudes of pulse options for negative pulses
* `NEGPULSEWIDTHOFPULSELIST`: pulsewidth of pulse options for negative pulses
* `MAXUPDATESTEPS`: maximum update step number for weight updating
* `RTOLERANCE`: R tolerance. Defined as (R_real - R_exp)/R_exp

------------------------------------------------------------------------------
connectivity matrix format:
# PREID, POSTID, W, B, TYPE
# TYPE can be either +1 (excitatory) or -1 (inhibitory)

------------------------------------------------------------------------------
stimuli file format:
# timestep - neuron ID that fires, neuron ID that fires, neuron ID that fires, ...., neuron ID that fires

0 comments on commit 5aa7cc4

Please sign in to comment.