bartorch 0.0.4__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bartorch/__init__.py +61 -0
- bartorch/_abi.py +1249 -0
- bartorch/_backend.py +288 -0
- bartorch/_buffer.py +76 -0
- bartorch/_call.py +477 -0
- bartorch/_catalogue.py +3663 -0
- bartorch/_coverage.py +149 -0
- bartorch/_cuda.py +102 -0
- bartorch/_dispatch.py +483 -0
- bartorch/_finufft.py +564 -0
- bartorch/_flags.py +88 -0
- bartorch/_grid.py +89 -0
- bartorch/_layout.py +106 -0
- bartorch/_lib.py +97 -0
- bartorch/_marshal.py +195 -0
- bartorch/_operator.py +311 -0
- bartorch/_options.py +165 -0
- bartorch/_settings.py +69 -0
- bartorch/apps/__init__.py +20 -0
- bartorch/apps/mobafit.py +126 -0
- bartorch/apps/pics.py +241 -0
- bartorch/apps/pocsense.py +178 -0
- bartorch/cli/__init__.py +207 -0
- bartorch/cli/_apps.py +84 -0
- bartorch/cli/_argv.py +221 -0
- bartorch/fourier.py +158 -0
- bartorch/interop.py +107 -0
- bartorch/interp.py +86 -0
- bartorch/io.py +51 -0
- bartorch/learning/__init__.py +24 -0
- bartorch/learning/channels.py +67 -0
- bartorch/learning/denoiser.py +190 -0
- bartorch/learning/unrolled.py +203 -0
- bartorch/libbartorch.dll +0 -0
- bartorch/libbartorch_finufft_x86_64_v2.dll +0 -0
- bartorch/libbartorch_finufft_x86_64_v3.dll +0 -0
- bartorch/libbartorch_finufft_x86_64_v4.dll +0 -0
- bartorch/linop/__init__.py +74 -0
- bartorch/linop/autograd.py +85 -0
- bartorch/linop/base.py +692 -0
- bartorch/linop/basic.py +389 -0
- bartorch/linop/combine.py +265 -0
- bartorch/linop/form.py +440 -0
- bartorch/linop/mri.py +1258 -0
- bartorch/linop/nufft.py +265 -0
- bartorch/linop/plan.py +211 -0
- bartorch/linop/sense.py +854 -0
- bartorch/linop/shape.py +563 -0
- bartorch/linop/signal.py +225 -0
- bartorch/nlop/__init__.py +73 -0
- bartorch/nlop/autograd.py +69 -0
- bartorch/nlop/base.py +1145 -0
- bartorch/nlop/basic.py +480 -0
- bartorch/nlop/bundle.py +473 -0
- bartorch/nlop/callback.py +228 -0
- bartorch/nlop/derivative.py +135 -0
- bartorch/nlop/irgnm.py +516 -0
- bartorch/nlop/mri.py +500 -0
- bartorch/nlop/plan.py +136 -0
- bartorch/nlop/simulation.py +359 -0
- bartorch/nlop/step.py +241 -0
- bartorch/optim/__init__.py +58 -0
- bartorch/optim/autograd.py +53 -0
- bartorch/optim/blocks.py +957 -0
- bartorch/optim/fixed_point.py +144 -0
- bartorch/optim/functional.py +233 -0
- bartorch/optim/linear.py +1233 -0
- bartorch/optim/pocs.py +133 -0
- bartorch/optim/scaling.py +89 -0
- bartorch/priors/__init__.py +53 -0
- bartorch/priors/autograd.py +41 -0
- bartorch/priors/base.py +618 -0
- bartorch/priors/denoise.py +155 -0
- bartorch/priors/implicit.py +120 -0
- bartorch/priors/terms.py +424 -0
- bartorch/thresh.py +48 -0
- bartorch/tools/__init__.py +21 -0
- bartorch/tools/calib.py +127 -0
- bartorch/tools/process.py +527 -0
- bartorch/tools/recon.py +270 -0
- bartorch/tools/sampling.py +93 -0
- bartorch/tools/simulate.py +103 -0
- bartorch/util.py +349 -0
- bartorch/wavelet.py +171 -0
- bartorch-0.0.4.dist-info/METADATA +160 -0
- bartorch-0.0.4.dist-info/RECORD +97 -0
- bartorch-0.0.4.dist-info/WHEEL +5 -0
- bartorch-0.0.4.dist-info/entry_points.txt +3 -0
- bartorch-0.0.4.dist-info/licenses/LICENSE +21 -0
- bartorch-0.0.4.dist-info/licenses/external/bart/LICENSE +30 -0
- bartorch-0.0.4.dist-info/licenses/external/blocksruntime/LICENSE.TXT +76 -0
- bartorch-0.0.4.dist-info/licenses/external/finufft/LICENSE +219 -0
- bartorch-0.0.4.dist-info/licenses/external/finufft/NOTICE +42 -0
- bartorch-0.0.4.dist-info/licenses/external/pocketfft/LICENSE.md +25 -0
- bartorch-0.0.4.dist-info/licenses/finufft-dependencies/DUCC0/LICENSE +33 -0
- bartorch-0.0.4.dist-info/licenses/finufft-dependencies/POET/LICENSE +21 -0
- bartorch-0.0.4.dist-info/licenses/finufft-dependencies/xsimd/LICENSE +29 -0
bartorch/__init__.py
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"""BART, the Berkeley Advanced Reconstruction Toolbox, in-process on torch tensors.
|
|
2
|
+
|
|
3
|
+
Shapes are C order: an axis argument is an index into a tensor's shape, never
|
|
4
|
+
a BART bitmask.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from __future__ import annotations
|
|
8
|
+
|
|
9
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
10
|
+
|
|
11
|
+
from bartorch import (
|
|
12
|
+
_settings,
|
|
13
|
+
apps,
|
|
14
|
+
cli,
|
|
15
|
+
fourier,
|
|
16
|
+
interop,
|
|
17
|
+
interp,
|
|
18
|
+
io,
|
|
19
|
+
learning,
|
|
20
|
+
linop,
|
|
21
|
+
nlop,
|
|
22
|
+
optim,
|
|
23
|
+
priors,
|
|
24
|
+
thresh,
|
|
25
|
+
tools,
|
|
26
|
+
util,
|
|
27
|
+
wavelet,
|
|
28
|
+
)
|
|
29
|
+
from bartorch._dispatch import BartError
|
|
30
|
+
from bartorch._settings import * # noqa: F401,F403
|
|
31
|
+
from bartorch.fourier import * # noqa: F401,F403
|
|
32
|
+
from bartorch.interp import * # noqa: F401,F403
|
|
33
|
+
from bartorch.thresh import * # noqa: F401,F403
|
|
34
|
+
from bartorch.util import * # noqa: F401,F403
|
|
35
|
+
from bartorch.wavelet import * # noqa: F401,F403
|
|
36
|
+
|
|
37
|
+
try:
|
|
38
|
+
__version__ = version("bartorch")
|
|
39
|
+
except PackageNotFoundError:
|
|
40
|
+
__version__ = "0.0.0.dev0"
|
|
41
|
+
|
|
42
|
+
__all__ = [
|
|
43
|
+
"BartError",
|
|
44
|
+
"__version__",
|
|
45
|
+
"apps",
|
|
46
|
+
"cli",
|
|
47
|
+
"interop",
|
|
48
|
+
"io",
|
|
49
|
+
"learning",
|
|
50
|
+
"linop",
|
|
51
|
+
"nlop",
|
|
52
|
+
"optim",
|
|
53
|
+
"priors",
|
|
54
|
+
"tools",
|
|
55
|
+
*_settings.__all__,
|
|
56
|
+
*fourier.__all__,
|
|
57
|
+
*interp.__all__,
|
|
58
|
+
*thresh.__all__,
|
|
59
|
+
*util.__all__,
|
|
60
|
+
*wavelet.__all__,
|
|
61
|
+
]
|