Skip to content

installation & examples #43

Description

@mzaiss

This looks very nice here.
Thanks for the PR MRsources/MRzero-Core#147
I wanted to test your examples but get weird errors after installation.


from mrpro.algorithms.reconstruction import DirectReconstruction
from mrpro.data import KData

throws the errors:

Cell In[14], line 11
      9 from cmap import Colormap
     10 from einops import rearrange
---> 11 from mrpro.algorithms.reconstruction import DirectReconstruction
     12 from mrpro.data import KData
     13 from mrpro.data import SpatialDimension

File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\mrpro\__init__.py:2
      1 from mrpro._version import __version__
----> 2 from mrpro import algorithms, operators, data, phantoms, utils
      3 __all__ = [
      4     "__version__",
      5     "algorithms",
   (...)      9     "utils"
     10 ]

File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\mrpro\algorithms\__init__.py:3
      1 """Algorithms for reconstructions, optimization, density and sensitivity map estimation, etc."""
----> 3 from mrpro.algorithms import csm, optimizers, reconstruction, dcf
      4 from mrpro.algorithms.prewhiten_kspace import prewhiten_kspace
      5 __all__ = ["csm", "dcf", "optimizers", "prewhiten_kspace", "reconstruction"]

File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\mrpro\algorithms\optimizers\__init__.py:7
...
    211 def from_ismrmrd_acquisitions(
   (...)    215     additional_fields: Sequence[str],
    216     convert_time_stamp: _convert_time_stamp_type = convert_time_stamp_from_siemens,

AttributeError: module 'ismrmrd' has no attribute 'acquisition'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions