Skip to content

Commit

Permalink
Move KData to data
Browse files Browse the repository at this point in the history
ghstack-source-id: 5fb36b57f771fd5a759bc31c46c525df3cdb9953
ghstack-comment-id: 2501006560
Pull Request resolved: #559
  • Loading branch information
fzimmermann89 committed Dec 16, 2024
1 parent b5a3b5b commit 95859c4
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/mrpro/algorithms/prewhiten_kspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import torch
from einops import einsum, parse_shape, rearrange

from mrpro.data._kdata.KData import KData
from mrpro.data.KData import KData
from mrpro.data.KNoise import KNoise


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from collections.abc import Callable

from mrpro.algorithms.reconstruction.Reconstruction import Reconstruction
from mrpro.data._kdata.KData import KData
from mrpro.data.CsmData import CsmData
from mrpro.data.DcfData import DcfData
from mrpro.data.IData import IData
from mrpro.data.KData import KData
from mrpro.data.KNoise import KNoise
from mrpro.operators.FourierOp import FourierOp
from mrpro.operators.LinearOperator import LinearOperator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from mrpro.algorithms.reconstruction.RegularizedIterativeSENSEReconstruction import (
RegularizedIterativeSENSEReconstruction,
)
from mrpro.data._kdata.KData import KData
from mrpro.data.CsmData import CsmData
from mrpro.data.DcfData import DcfData
from mrpro.data.KData import KData
from mrpro.data.KNoise import KNoise
from mrpro.operators.LinearOperator import LinearOperator

Expand Down
2 changes: 1 addition & 1 deletion src/mrpro/algorithms/reconstruction/Reconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
from typing_extensions import Self

from mrpro.algorithms.prewhiten_kspace import prewhiten_kspace
from mrpro.data._kdata.KData import KData
from mrpro.data.CsmData import CsmData
from mrpro.data.DcfData import DcfData
from mrpro.data.IData import IData
from mrpro.data.KData import KData
from mrpro.data.KNoise import KNoise
from mrpro.operators.FourierOp import FourierOp
from mrpro.operators.LinearOperator import LinearOperator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
from mrpro.algorithms.optimizers.cg import cg
from mrpro.algorithms.prewhiten_kspace import prewhiten_kspace
from mrpro.algorithms.reconstruction.DirectReconstruction import DirectReconstruction
from mrpro.data._kdata.KData import KData
from mrpro.data.CsmData import CsmData
from mrpro.data.DcfData import DcfData
from mrpro.data.IData import IData
from mrpro.data.KData import KData
from mrpro.data.KNoise import KNoise
from mrpro.operators.IdentityOp import IdentityOp
from mrpro.operators.LinearOperator import LinearOperator
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/mrpro/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from mrpro.data.EncodingLimits import EncodingLimits, Limits
from mrpro.data.IData import IData
from mrpro.data.IHeader import IHeader
from mrpro.data._kdata.KData import KData
from mrpro.data.KData import KData
from mrpro.data.KHeader import KHeader
from mrpro.data.KNoise import KNoise
from mrpro.data.KTrajectory import KTrajectory
Expand Down
2 changes: 1 addition & 1 deletion src/mrpro/operators/FourierOp.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
from torchkbnufft import KbNufft, KbNufftAdjoint
from typing_extensions import Self

from mrpro.data._kdata.KData import KData
from mrpro.data.enums import TrajType
from mrpro.data.KData import KData
from mrpro.data.KTrajectory import KTrajectory
from mrpro.data.SpatialDimension import SpatialDimension
from mrpro.operators.CartesianSamplingOp import CartesianSamplingOp
Expand Down

0 comments on commit 95859c4

Please sign in to comment.