You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To run RasterVis locally, you need a to set up a local web server. For example using Python (2.x), browse to the main folder and run:
18
-
``` python -m SimpleHTTPServer 8888 ```. Then open http://localhost:8888/ in your browser.
17
+
To run RasterVis locally, you need to install the dependencies and set up a local web server.
18
+
19
+
To install the dependencies and start a webserver, run:
20
+
```
21
+
npm install
22
+
npm run postinstall
23
+
24
+
```
19
25
20
26
### Data Format and Naming
21
27
All files must be in the JSON format.
28
+
Time should be measured in milliseconds.
22
29
23
30
All data must be placed in the /DATA folder
24
31
@@ -33,21 +40,19 @@ There are three main file types:
33
40
34
41
The trialInfo.json contains an array of three objects structured as follows:
35
42
<pre>
36
-
|--Subject (NOTE TO SELF: change name to subject instead of monkey)
37
-
|--name: Name of subject
38
-
|--sessionNames
39
-
|----name: Name of session
40
-
|----neurons: Array of neuron names
41
-
42
-
|--timePeriods (NOTE TO SELF: change name to trialEvents)
43
+
|--neurons
44
+
|--name: Name of neuron
45
+
|--sessionName: Name of session
46
+
|--timePeriods
43
47
|--name: Name of trial event
44
48
|--label: Short label of trial event
45
49
|--startID: Beginning of trial event
46
50
|--endID: End of trial event
47
51
|--color: Color of trial event
48
52
|--experimentalFactor
49
53
|--name: Name of experimental factor to sort by
50
-
|--value: experimental factor key (NOTE TO SELF: change name to key)
54
+
|--value: experimental factor key
55
+
|--factorType: continuous | categorical | ordinal
51
56
</pre>
52
57
53
58
The (sessionName)_TrialInfo.json is an array of objects corresponding to each trial. Each trial object contains the properties corresponding to trial events and experimental factors. For example:
0 commit comments