Skip to content

Commit

Permalink
sim/sims - sim/signals
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Aug 29, 2024
1 parent 68a6a6f commit 3a629da
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
13 changes: 13 additions & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,19 @@ The following functions can be used to update simulation parameters:
create_updater
create_sampler

Simulated Signals
~~~~~~~~~~~~~~~~~

The following objects can be used to manage groups of simulated signals:

.. currentmodule:: neurodsp.sim.signals
.. autosummary::
:toctree: generated/

Simulations
SampledSimulations
MultiSimulations

Utilities
~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion neurodsp/sim/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import numpy as np

from neurodsp.utils.core import counter
from neurodsp.sim.sims import Simulations, SampledSimulations, MultiSimulations
from neurodsp.sim.signals import Simulations, SampledSimulations, MultiSimulations

###################################################################################################
###################################################################################################
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion neurodsp/tests/sim/test_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import numpy as np

from neurodsp.sim.aperiodic import sim_powerlaw
from neurodsp.sim.sims import Simulations, SampledSimulations, MultiSimulations
from neurodsp.sim.update import create_updater, create_sampler, ParamSampler
from neurodsp.sim.signals import Simulations, SampledSimulations, MultiSimulations

from neurodsp.sim.multi import *

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Tests for neurodsp.sim.sims."""
"""Tests for neurodsp.sim.signals."""

from pytest import raises

import numpy as np

from neurodsp.sim.sims import *
from neurodsp.sim.signals import *

###################################################################################################
###################################################################################################
Expand Down

0 comments on commit 3a629da

Please sign in to comment.