Skip to content

Commit

Permalink
bit of doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rutgerfick committed Jan 31, 2018
1 parent 05f5921 commit 656814f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dmipy/optimizers/brute2fine.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@


class GlobalBruteOptimizer:
r"""
Brute-Force optimizer. Upon instantiation, given a model and an acquisition
scheme, first computes a global grid of parameters and corresponding signal
attenuations. All except the spherical orientation parameter 'mu' is
sampled between their corresponding parameter_ranges in 'Ns' steps. For
'mu' a spherical grid of 'N_sphere_samples" points is used, which were
generated using the work of Caruyer et al. [1].
When calling the function with some data, the closest parameters are
return based on the sum-squared error between the signal grid and the data.
Parameters
----------
model:
"""
def __init__(self, model, acquisition_scheme,
x0_vector=None, Ns=5, N_sphere_samples=30):
self.model = model
Expand Down

0 comments on commit 656814f

Please sign in to comment.