Skip to content

Commit 29e56dc

Browse files
committed
update other language support
1 parent b942280 commit 29e56dc

File tree

1 file changed

+32
-7
lines changed

1 file changed

+32
-7
lines changed

README.rst

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,40 @@ To install an editable version, download the development version as above, and r
130130
131131
$ pip install -e .
132132
133-
Matlab Support
134-
--------------
133+
Other Language Support
134+
----------------------
135135

136-
FOOOF is implemented in Python, but there is also Matlab wrapper that allows you to use FOOOF from Matlab.
137-
The wrapper is available in the `fooof_mat <http://github.com/fooof-tools/fooof_mat>`_ repository.
136+
The original implementation of FOOOF, available in this repository, is implemented in Python.
138137

139-
If you would like to use FOOOF, from Python, within a pipeline that is mostly in Matlab, the
140-
`mat_py_mat <https://github.com/fooof-tools/mat_py_mat>`_
141-
repository also has some examples and utilities for doing so.
138+
If you wish to run FOOOF from another language, there are a couple potential options:
139+
- a `wrapper`, which allows for running the Python code from another language
140+
- a `reimplementation`, which reflects a new implementation of the fooof algorithm in another language
141+
142+
Below are listed some examples of wrappers and/or reimplementations in other languages (non-exhaustive).
143+
144+
Matlab
145+
~~~~~~
146+
147+
In Matlab, there is a reimplementation available in common toolboxes:
148+
- The `Brainstorm <https://neuroimage.usc.edu/brainstorm/Introduction>`_ toolbox has a reimplementation of fooof
149+
- See the Brainstorm `fooof tutorial <https://neuroimage.usc.edu/brainstorm/Tutorials/Fooof>`_
150+
- The `Fieldtrip <https://www.fieldtriptoolbox.org/>`_ also uses the same reimplementation
151+
- See the Fieldtrip `fooof tutorial <https://www.fieldtriptoolbox.org/example/fooof/>`_
152+
153+
There is also a Matlab wrapper in the `fooof_mat <http://github.com/fooof-tools/fooof_mat>`_ repository.
154+
155+
Note that another option is to use Python FOOOF within a Matlab pipeline, as explored in the
156+
`mat_py_mat <https://github.com/fooof-tools/mat_py_mat>`_ repository.
157+
158+
Other Languages
159+
~~~~~~~~~~~~~~~
160+
161+
Other languages with wrappers include:
162+
- In Julia, there is
163+
`fooof wrapper <https://juliahub.com/ui/Packages/PyFOOOF/Ng8hN/0.1.0>`_
164+
- In R, fooof can be run using
165+
`reticulate <https://rstudio.github.io/reticulate/>`_, as
166+
`shown here <https://github.com/fooof-tools/DevelopmentalDemo/tree/main/R>`_
142167

143168
Reference
144169
---------

0 commit comments

Comments
 (0)