Skip to content

Commit

Permalink
documentaiton updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lucywowen committed Jul 27, 2018
1 parent 86171ef commit 8e026c4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 2 deletions.
Binary file modified docs/auto_examples/auto_examples_jupyter.zip
Binary file not shown.
Binary file modified docs/auto_examples/auto_examples_python.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions supereeg/brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ def __next__(self):
return s

def next(self):
"""
Return next sample from Brain object (wrapper for self.__next__)
"""
return self.__next__()

def update_filter_inds(self):
Expand Down
7 changes: 6 additions & 1 deletion supereeg/nifti.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,15 @@ def make_gif(self, gifpath, index=range(0, 10), name=None, **kwargs):


def get_locs(self):
"""
Return locations of voxels
"""
bo = Brain(self)
return bo.get_locs()


def save(self, filepath):

"""
Save file to disk
"""
self.to_filename(filepath)
2 changes: 1 addition & 1 deletion supereeg/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def simulate_model_data(n_samples=1000, n_elecs=170, locs=None, sample_locs=None
Noise added to simulation
set_random_seed : bool or int
Default False. If True, set random seed to 123. If int, set random seed to value.
Default False (choose a random seed). If True, set random seed to 123. If int, set random seed to the specified value.
Returns
----------
Expand Down

0 comments on commit 8e026c4

Please sign in to comment.