Skip to content

Commit

Permalink
DOC
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Jan 21, 2021
1 parent cacd0a1 commit bc4cd29
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
14 changes: 7 additions & 7 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ New in 0.34

* API:

- :calls:`plot.Correlation` renamed to :class:`plot.Scatter` with some parameter changes for improved functionality
- :class:`plot.Correlation` renamed to :class:`plot.Scatter` with some parameter changes for improved functionality.

* Added:
* New:

- :func:`boosting`: Option to store TRFs for the different test partitions
(``partition_results``).
- :func:`normalize_in_cells`
- :func:`load.convert_pickle_protocol`
- :class:`UTS`: ``unit`` parameter to represent time in units other than seconds
- :mod:`report` submodule with shortcuts for data summary and visualization
(``partition_results`` parameter).
- :func:`normalize_in_cells` (see :ref:`exa-compare-topographies`).
- :class:`UTS` dimension: ``unit`` parameter to represent time in units other than seconds.
- :mod:`report` submodule with shortcuts for data summary and visualization.
- :func:`load.convert_pickle_protocol` for compatibility with older Python version.


New in 0.33
Expand Down
2 changes: 1 addition & 1 deletion doc/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ Reports
.. currentmodule:: eelbrain

The :mod:`report` submodule contains shortcuts for producing data summaries and
visualizations.
visualizations. Meant to work in Jupyter notebooks.

.. autosummary::
:toctree: generated
Expand Down
10 changes: 0 additions & 10 deletions eelbrain/_experiment/mne_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -3401,11 +3401,6 @@ def load_raw(
- :ref:`state-session`: from which session to load raw data
- :ref:`state-raw`: preprocessing pipeline
Notes
-----
Bad channels defined in the raw file itself are ignored in favor of the
bad channels in the bad channels file.
"""
pipe = self._raw[self.get('raw', **kwargs)]
raw = pipe.load(self.get('subject'), self.get('recording'), add_bads)
Expand Down Expand Up @@ -3469,11 +3464,6 @@ def load_raw_stc(
- :ref:`state-session`: from which session to load raw data
- :ref:`state-raw`: preprocessing pipeline
Notes
-----
Bad channels defined in the raw file itself are ignored in favor of the
bad channels in the bad channels file.
"""
raw = self.load_raw(samplingrate=samplingrate, tstart=tstart, tstop=tstop, **kwargs)
inv, label, mri_sdir, mrisubject, is_scaled, parc = self._prepare_inv(raw, mask, morph)
Expand Down
4 changes: 4 additions & 0 deletions eelbrain/_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,10 @@ def melt_ndvar(ndvar, dim=None, cells=None, ds=None, varname=None, labels=None):
-------
long_table : Dataset
Dataset in long format.
Examples
--------
See :ref:`exa-compare-topographies`.
"""
ndvar = asndvar(ndvar, ds=ds)
if dim is None:
Expand Down
6 changes: 3 additions & 3 deletions eelbrain/datasets/_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def _get_continuous(
ynd: bool = False,
seed: int = 0,
xn: int = 0,
):
) -> Dataset:
"""Generate continuous data for reverse correlation
Parameters
Expand All @@ -62,8 +62,8 @@ def _get_continuous(
Returns
-------
data : dict
{:class:`str`: :class:`NDVar`}`` dictionary with simulated data:
data
Dataset with simulated data:
- ``x1``: random time series
- ``x2``: two random time series
Expand Down

0 comments on commit bc4cd29

Please sign in to comment.