Skip to content

Commit

Permalink
feat: add more output and parallelization to fit accessor
Browse files Browse the repository at this point in the history
Allows dictionary of `DataArray`s as parameter to fit accessor.
Now, the return `Dataset` contains the data and the best fit array. Relevant tests have been added.
  • Loading branch information
kmnhan committed Apr 21, 2024
1 parent ab32920 commit 59b35f5
Show file tree
Hide file tree
Showing 3 changed files with 608 additions and 72 deletions.
7 changes: 6 additions & 1 deletion src/erlab/accessors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@
__all__ = [
"ModelFitDataArrayAccessor",
"ModelFitDatasetAccessor",
"ParallelFitDataArrayAccessor",
"MomentumAccessor",
"OffsetView",
"ImageToolAccessor",
"PlotAccessor",
"SelectionAccessor",
]

from erlab.accessors.fit import ModelFitDataArrayAccessor, ModelFitDatasetAccessor
from erlab.accessors.fit import (
ModelFitDataArrayAccessor,
ModelFitDatasetAccessor,
ParallelFitDataArrayAccessor,
)
from erlab.accessors.kspace import MomentumAccessor, OffsetView
from erlab.accessors.utils import ImageToolAccessor, PlotAccessor, SelectionAccessor
Loading

0 comments on commit 59b35f5

Please sign in to comment.