Skip to content

Commit c33e69c

Browse files
committed
folder reorganization
1 parent 549887a commit c33e69c

9 files changed

Lines changed: 71 additions & 40 deletions

File tree

NOTES.txt

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,55 @@
1+
2+
2017_12_20
3+
1) Tagged the previous stable version as v1.0
4+
2) Tagged the version on elephant as v1.1
5+
3) Merged elephant version which is Py2/3 compatible into master
6+
4) Changed the folder structure a bit to accomodate for the new dev
7+
-corelib has the KCSD.py file which includes all the necessary classes
8+
-tests is where the unit tests will eventually go
9+
-validation is where the tests from the previous edition go (poor naming choice by me, in retrospect)
10+
these are being re-written in a saner 'class'y way now.
11+
-tutorials is where ther ipython notebooks will eventually supposed to go.
12+
13+
14+
NOTES FROM v1.0 which is no longer applicable. Eventually should all move to tutorials.
15+
=====================================================================
16+
Try
17+
---
18+
In file test_kCSD1D.py, test_kCSD2D.py and test_kCSD3D.py play with
19+
1) csd_seed to change True CSD profile
20+
2) total_ele to change the number of electrodes in the plane of electrodes, n evenly spaced in 1D, n^2 in 2D and n^3 in 3D volume
21+
3) in main_loop change ele_lims to change the position of the electrodes
22+
4) in do_kcsd function play with params for regularization
23+
24+
Legend
25+
------
26+
CSD.py - base class of CSD
27+
KCSD.py - base class for kernel CSD methods.
28+
KCSD1D.py - relevant KCD1D reconstruction file (Inherits from KCSD.py)
29+
KCSD2D.py - relevant KCD2D reconstruction file (Inherits from KCSD.py)
30+
KCSD3D.py - relevant KCD3D reconstruction file (inherits from KCSD.py)
31+
MoIKCSD.py - relevant KCSD2D which includes the method of images - models saline conductivity
32+
33+
basis_functions.py - necessary functions that are used as basis sources
34+
utility_functions.py - necessary generic functions
35+
36+
tests/test_kCSD1D.py - file generates TrueCSD, potentials in a plane, and its kCSD reconstruction
37+
- use with relevant seed - for small sources and large sources.
38+
- illustrates the basic API of KCSD2D.py
39+
40+
tests/test_kCSD2D.py - file generates TrueCSD, potentials in a plane, and its kCSD reconstruction
41+
- use with relevant seed - for small sources and large sources.
42+
- illustrates the basic API of KCSD2D.py
43+
44+
tests/test_kCSD3D.py - file generates TrueCSD, potentials in a volume, and its kCSD reconstruction
45+
- use with relevant seed - for small sources, large sources, monopoles, dipole sources
46+
- illustrates the basic API of KCSD3D.py
47+
48+
tests/csd_profile.py - used by test_kCSD1D.py, test_kCSD2D.py, test_kCSD3D.py for CSD profiles.
49+
50+
========================================================================
51+
52+
153
2016_04_18
254
Preparing for release
355
Moved functions from KCSD1D_Helpers etc into something more sane.

README.txt

Lines changed: 19 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
This is 1.0 version of kCSD inverse method proposed in
1+
This is 1.1+ version of kCSD inverse method proposed in
22

33
J. Potworowski, W. Jakuczun, S. Łęski, D. K. Wójcik
44
"Kernel Current Source Density Method"
55
Neural Computation 24 (2012), 541–575
66

77
For citation policy see the end of this file.
88

9+
10+
Earlier Stable versions
11+
----------------
12+
Please see git tags for earlier versions
13+
v1.0 corresponds to the version with the test cases written inside tests folder
14+
v1.1 corresponds to the elephant python library version - no tests here
15+
16+
917
License
1018
-------
1119
Modified BSD License
@@ -17,57 +25,28 @@ d.wojcik[at]nencki[dot]gov[dot]pl
1725

1826
Status
1927
------
20-
KCSD1D + tests(rc)
21-
KCSD2D + tests(rc)
22-
KCSD3D + tests(rc)
23-
MoIKCSD (for MEA's with Saline)
28+
KCSD1D
29+
KCSD2D
30+
KCSD3D
31+
MoIKCSD
32+
33+
Use via
34+
from KCSD import KCSD1D
35+
etc.
2436

2537
Requirements
2638
------------
27-
python 2.7
39+
python 2.7/3
2840
numpy 1.10
2941
scipy 0.17
3042
matplotlib 1.5 (Only For tests and visualization)
3143

44+
3245
Additional Packages - Only of 3D for newer basis functions only.
3346
-------------------
3447
scikit-monaco 0.2
3548
joblib
3649

37-
Try
38-
---
39-
In file test_kCSD1D.py, test_kCSD2D.py and test_kCSD3D.py play with
40-
1) csd_seed to change True CSD profile
41-
2) total_ele to change the number of electrodes in the plane of electrodes, n evenly spaced in 1D, n^2 in 2D and n^3 in 3D volume
42-
3) in main_loop change ele_lims to change the position of the electrodes
43-
4) in do_kcsd function play with params for regularization
44-
45-
Legend
46-
------
47-
CSD.py - base class of CSD
48-
KCSD.py - base class for kernel CSD methods.
49-
KCSD1D.py - relevant KCD1D reconstruction file (Inherits from KCSD.py)
50-
KCSD2D.py - relevant KCD2D reconstruction file (Inherits from KCSD.py)
51-
KCSD3D.py - relevant KCD3D reconstruction file (inherits from KCSD.py)
52-
MoIKCSD.py - relevant KCSD2D which includes the method of images - models saline conductivity
53-
54-
basis_functions.py - necessary functions that are used as basis sources
55-
utility_functions.py - necessary generic functions
56-
57-
tests/test_kCSD1D.py - file generates TrueCSD, potentials in a plane, and its kCSD reconstruction
58-
- use with relevant seed - for small sources and large sources.
59-
- illustrates the basic API of KCSD2D.py
60-
61-
tests/test_kCSD2D.py - file generates TrueCSD, potentials in a plane, and its kCSD reconstruction
62-
- use with relevant seed - for small sources and large sources.
63-
- illustrates the basic API of KCSD2D.py
64-
65-
tests/test_kCSD3D.py - file generates TrueCSD, potentials in a volume, and its kCSD reconstruction
66-
- use with relevant seed - for small sources, large sources, monopoles, dipole sources
67-
- illustrates the basic API of KCSD3D.py
68-
69-
tests/csd_profile.py - used by test_kCSD1D.py, test_kCSD2D.py, test_kCSD3D.py for CSD profiles.
70-
7150

7251
Citation policy
7352
---------------
File renamed without changes.

corelib/__init__.py

Whitespace-only changes.

tests/__init__.py

Whitespace-only changes.

tutorials/__init__.py

Whitespace-only changes.

validation/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)