forked from spm/spm-notebooks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 968edb1
Showing
7 changed files
with
200 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# SPM Notebooks | ||
|
||
## MATLAB Live Editor | ||
|
||
Allows you to create scripts that combine code, output, and formatted text in an executable notebook. | ||
|
||
https://www.mathworks.com/products/matlab/live-editor.html | ||
|
||
## Jupyter | ||
|
||
See [Jupyter Notebook](https://jupyter-notebook.readthedocs.io/en/stable/), [NBviewer](https://nbviewer.jupyter.org/) and [JupyterLab](https://jupyterlab.readthedocs.io/en/latest/). | ||
|
||
Jupyter kernels: [MATLAB](https://github.com/Calysto/matlab_kernel) and [Octave](https://github.com/Calysto/octave_kernel). | ||
|
||
Jupyter notebooks can be opened in an online executable environment with [Binder](https://mybinder.org/). | ||
|
||
### Example | ||
|
||
[SPM notebook example](https://github.com/spm/spm-notebooks/blob/master/index.ipynb) rendered statically with [NBviewer](https://nbviewer.jupyter.org/github/spm/spm-notebooks/blob/master/index.ipynb) and interactively with [Binder](https://mybinder.org/v2/gh/spm/spm-notebooks/master). | ||
|
||
[](https://mybinder.org/v2/gh/gllmflndn/binder/master?filepath=index.ipynb) |
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,5 @@ | ||
curl | ||
octave | ||
liboctave-dev | ||
gnuplot | ||
ghostscript |
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,2 @@ | ||
dependencies: | ||
- octave_kernel |
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,6 @@ | ||
mkdir ${HOME}/spm12 && curl -SL https://github.com/spm/spm12/archive/r7487.tar.gz | tar -xzC ${HOME}/spm12 --strip-components 1 | ||
cd ${HOME}/spm12/src | ||
make PLATFORM=octave | ||
make PLATFORM=octave install | ||
cd ${HOME} | ||
octave --no-gui --eval "addpath (fullfile (getenv (\"HOME\"), \"spm12\")); savepath ();" |
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.