Skip to content

Commit

Permalink
update reference page
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Apr 17, 2020
1 parent 385555c commit bcef8e8
Showing 1 changed file with 57 additions and 22 deletions.
79 changes: 57 additions & 22 deletions doc/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Reference and Reporting Information
===================================

This page covers information for how to reference and report on using FOOOF, as well as some collected
informaiton and examples of projects, tools, and analyses that have and can be done using FOOOF.
information and examples of projects, tools, and analyses that have and can be done using FOOOF.

Table of Contents
-----------------
Expand All @@ -13,63 +13,98 @@ Table of Contents
Reference
~~~~~~~~~

The reference for this method is
`Parameterizing Neural Power Spectra <https://doi.org/10.1101/299859>`_.
The reference for this power spectrum model and associated code module is the
`Parameterizing Neural Power Spectra <https://doi.org/10.1101/299859>`_
paper.

This link currently leads to a preprint, on biorxiv. The paper is currently under review,
and this link will be updated to the accepted journal version when available.

The paper reports on the method, and include simulation work and example analyses and applications.
The code for the simulations and applications is all indexed and available in the
`Paper repository <https://github.com/fooof-tools/Paper>`_.
This link currently leads to a preprint, on biorxiv, which describes the method. The full version of the paper is currently under review, and this link will be updated to the accepted journal version when available.

Please cite this paper if you use this method, and/or if you wish to refer to the our approach for parameterizing neural power spectra, and/or to refer to any ideas and examples from this website.

.. topic:: Reference

Haller M, Donoghue T, Peterson E, Varma P, Sebastian P, Gao R, Noto T, Knight RT, Shestyuk A,
Voytek B (2018) Parameterizing Neural Power Spectra. bioRxiv, 299859.
doi: https://doi.org/10.1101/299859

.. topic:: Bibtex

| @article{haller_parameterizing_2018,
| title = {Parameterizing neural power spectra},
| url = {http://biorxiv.org/lookup/doi/10.1101/299859},
| doi = {10.1101/299859},
| journal = {bioRxiv},
| author = {Haller, Matar and Donoghue, Thomas and Peterson, Erik and Varma, Paroma and Sebastian, Priyadarshini and Gao, Richard and Noto, Torben and Knight, Robert T. and Shestyuk, Avgusta and Voytek, Bradley},
| year = {2018},
| }

Example Applications
~~~~~~~~~~~~~~~~~~~~

You can find the full list of articles that cite the `Parameterizing Neural Power Spectra` paper at this
`Google scholar link <https://scholar.google.com/scholar?oi=bibs&hl=en&cites=1591416229268020768,15214833138798132105,12543969463602123647>`_
.
As well as reporting on the method, the full version of the paper includes simulation work as well as example analyses and applications.
The code for the simulations and applications is indexed and available in the
`Paper repository <https://github.com/fooof-tools/Paper>`_.

You can also find the full list of articles that cite the `Parameterizing Neural Power Spectra` paper at this
`Google scholar link <https://scholar.google.com/scholar?oi=bibs&hl=en&cites=1591416229268020768,15214833138798132105,12543969463602123647>`_.

Methods Reporting
~~~~~~~~~~~~~~~~~

If you wish to report that you used FOOOF, we recommend including the following information in the methods section:
If you use this module and the power spectrum model in your work, there is some information you should include in the methods section.

Specifically, we recommend including the following information in the methods section:

- The version of FOOOF used (for example 1.0.0)
- The algorithm settings that were used
- The version number of the module that was used (for example 1.0.0)
- The settings that were used for the algorithm that were used

- You should report all public settings, even if default values are used
- The frequency range of the data that was fit

In addition, we recommend that reports should include information on:

- Details of the data, including modality and any pre-processing steps applied
- Details of the data, including modality and any preprocessing steps applied
- How power spectrum were generated, including the length of segments used to calculate spectra
- If and how model goodness-of-fit measures were assessed

Reporting Template & Example
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

An example methods report might look like:
To assist in reporting on using FOOOF, we have some templates and examples of methods reports, and some utilities to access the required information from the code.

The following box is an example of what a methods report might look like (where all of the *X*'s should be filled in with the relevant information).

.. topic:: Methods Report Template

The FOOOF algorithm (version *X.X.X*) was used to parameterize neural power spectra. Settings for the
algorithm were set as: peak width limits : *XX*; max number of peaks : *XX*; minimum peak height : *XX*;
peak threshold : *XX*; and aperiodic mode : *XX*. Power spectra were parameterized across
the frequency range *XX* to *XX* Hz.

Where all of the *X*'s should be filled in with the relevant information.
Generating Methods Reports
~~~~~~~~~~~~~~~~~~~~~~~~~~

As of FOOOF version 1.0.0 there are code utilities to extract all required information for reporting, and for generating methods reports.

Note that as of FOOOF version 1.0.0 there is code utility that will generate this information for you.
If you have a FOOOF object defined (such as `FOOOF` or `FOOOFGroup`), as 'fooof_obj', you
can run the following code to print out the information you need and/or a template of the
methods report:
These utilities require a defined FOOOF object, such as `FOOOF` or `FOOOFGroup`, assumed to be called 'fooof_obj' in the following examples. This object will be used to extract all the relevant settings and any available meta-data for reporting.

The :func:`~fooof.utils.reports.methods_report_info` function can be used to print out the information you need for reporting:

.. code-block:: python
# Import the utility to print out information for reporting
from fooof.utils.reports import methods_report_info
# Print out all the methods information for reporting
methods_report_info(fooof_obj)
The :func:`~fooof.utils.reports.methods_report_text` function can be used to print out an auto-generated methods report, like the one demonstrated above, with all available information filled:

.. code-block:: python
# Import the utility to print out information for reporting
from fooof.utils.reports import methods_report_text
# Generate methods text, with methods information inserted
methods_report_text(fooof_obj)

0 comments on commit bcef8e8

Please sign in to comment.