-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add funding, remove acknowledgements for README
- Loading branch information
1 parent
caa0804
commit 68dc736
Showing
8 changed files
with
141 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
# Frequently asked questions | ||
|
||
[How can I save and load cells and networks?](faq/question_01.md) | ||
- [What units does `Jaxley` use?](faq/question_01.md) | ||
- [How can I save and load cells and networks?](faq/question_02.md) | ||
|
||
See also the [discussion page](https://github.com/jaxleyverse/jaxley/discussions) and the [issue | ||
tracker](https://github.com/jaxleyverse/jaxley/issues) on the `Jaxley` GitHub repository for | ||
recent questions and problems. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
# How can I save and load cells and networks? | ||
# What units does `Jaxley` use? | ||
|
||
All `module`s (i.e., compartments, branches, cells, and networks) in `Jaxley` can be saved and loaded with pickle: | ||
```python | ||
import jaxley as jx | ||
import pickle | ||
|
||
# ... define network, cell, etc. | ||
network = jx.Network([cell1, cell2]) | ||
|
||
# Save. | ||
with open("path/to/file.pkl", "wb") as handle: | ||
pickle.dump(network, handle) | ||
|
||
# Load. | ||
with open("path/to/file.pkl", "rb") as handle: | ||
network = pickle.load(handle) | ||
``` | ||
`Jaxley` uses the same units as the `NEURON` simulator, which are listed [here](https://www.neuron.yale.edu/neuron/static/docs/units/unitchart.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# How can I save and load cells and networks? | ||
|
||
All `module`s (i.e., compartments, branches, cells, and networks) in `Jaxley` can be saved and loaded with pickle: | ||
```python | ||
import jaxley as jx | ||
import pickle | ||
|
||
# ... define network, cell, etc. | ||
network = jx.Network([cell1, cell2]) | ||
|
||
# Save. | ||
with open("path/to/file.pkl", "wb") as handle: | ||
pickle.dump(network, handle) | ||
|
||
# Load. | ||
with open("path/to/file.pkl", "rb") as handle: | ||
network = pickle.load(handle) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.