Git Product home page Git Product logo

ismrmrdviewer's Introduction

Build Status

ISMRM Raw Data Format (ISMRMRD)

A prerequisite for sharing magnetic resonance (imaging) reconstruction algorithms and code is a common raw data format. This repository describes such a common raw data format, which attempts to capture the data fields that are required to describe the magnetic resonance experiment with enough detail to reconstruct images. The repository also contains a C/C++ library for working with the format. This standard was developed by a subcommittee of the ISMRM Sedona 2013 workshop and is described in detail in:

Inati SJ, Naegele JD, Zwart NR, Roopchansingh V, Lizak MJ, Hansen DC, Liu CY, Atkinson D, Kellman P, Kozerke S, Xue H, Campbell-Washburn AE, Sørensen TS, Hansen MS. ISMRM Raw data format: A proposed standard for MRI raw datasets. Magn Reson Med. 2017 Jan;77(1):411-421.

Please cite this paper if you use the format.

Please the ISMRMRD documentation for details.

ismrmrdviewer's People

Contributors

acampbellwashburn avatar dchansen avatar eborisch avatar pehses avatar rajramasawmy avatar roopchansinghv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ismrmrdviewer's Issues

Cannot clone repo because of data quota exceeded

May be delete all the data.

Error downloading object: res/data/simple.h5 (ea1b961): Smudge error: Error downloading res/data/simple.h5 (ea1b961eac11430ceefa2b36069be5f0a18f666ae6b5dad5838e959a076023a4): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Installation on Windows

Hi there,

thank you for creating such a nice package. I am a novice to python and struggle with getting it installed on Windows with an Anaconda Installation of Python.

I opened an Anaconda command prompt, but the step-by-step Windows installation instructions fail with

venv\bin\activate.bat
The system cannot find the path specified.

Do you have any recommendations? Would be great to make such a viewer accessible without needing a python installation.

All the best,
Lars

Viewer cant open raw datasets

I can open image h5 datasets, but viewer throws this error for the test raw datasets:

objc[37132]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff9b082cd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x11544ccd8). One of the two will be used. Which one is undefined.
[INFO] Opening file: installpath/ismrmrdviewer/res/data/simple.h5
Traceback (most recent call last):
File "installpath/ismrmrdviewer/venv/lib/python3.6/site-packages/ismrmrdviewer-0.1.0-py3.6.egg/ismrmrdviewer/ui/MainWindow.py", line 43, in open_file
File "installpath/ismrmrdviewer/venv/lib/python3.6/site-packages/ismrmrdviewer-0.1.0-py3.6.egg/ismrmrdviewer/ui/FileWidget.py", line 19, in init
File "installpath/ismrmrdviewer/venv/lib/python3.6/site-packages/ismrmrd/file.py", line 353, in init
self.__file = h5py.File(filename, mode)
File "installpath/ismrmrdviewer/venv/lib/python3.6/site-packages/h5py/_hl/files.py", line 394, in init
swmr=swmr)
File "installpath/ismrmrdviewer/venv/lib/python3.6/site-packages/h5py/_hl/files.py", line 170, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 85, in h5py.h5f.open
OSError: Unable to open file (file signature not found)

// --------------------------------------------------
This is running macOS, with the following setup.

git clone https://github.com/ismrmrd/ismrmrdviewer.git
cd ismrmrdviewer/
python3 -m venv venv
. venv/bin/activate
python3 setup.py --verbose install
ismrmrdviewer

Please add line number, Thanks a lot!!!

Hi,
This is a very good tool and it helps a lot. But in actual use, I often care about the number of lines. So I hope the tool can add information of line number in the next updata.
Thanks a lot!!!

LFS storage

Currently, the ismrmrdviewer repository is neutered by the fact that the ismrmrd organization is out of LFS storage.
This means noone can pull or push to ismrmrdviewer or indeed any forks, due to the novel way GitHub registers LFS storage.

Our options are:

  • Remove LFS objects from ismrmrdviewer (this means all tests data).
    or
  • Pay for LFS.

@hansenms Could you guys be persuaded to sponsor the LFS data?

Incomplete installation?

I've been trying to install the ismrmrd-viewer based on the repository available here.

I've tried running:

python setup.py install

from both an Anaconda environment on macOS Mojave, and an openSUSE container. In both cases, the installation is made to a virtual environment called 'viewertest'. And in both cases, I see additional files:

(viewertest root)/bin/ismrmrd-viewer
(viewertest root)/lib/python3.6/site-packages/ismrmrd_viewer-0.0.2-py3.6.egg

the latter of which seems to be a flat file, and doesn't seem to include any contents of the 'src' directory, that's needed to support reading and viewing the raw files. When I try to run the viewer:

python (viewertest root)/bin/ismrmrd-viewer ScanArchive_20190529_090502374_converted.h5

I get the following error:

Traceback (most recent call last):
File " (viewertest root)/bin/ismrmrd-viewer", line 11, in
load_entry_point('ismrmrd-viewer==0.0.2', 'gui_scripts', 'ismrmrd-viewer')()
File " (viewertest root)/lib64/python3.6/site-packages/pkg_resources/init.py", line 487, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File " (viewertest root)/lib64/python3.6/site-packages/pkg_resources/init.py", line 2728, in load_entry_point
return ep.load()
File " (viewertest root)/lib64/python3.6/site-packages/pkg_resources/init.py", line 2346, in load
return self.resolve()
File " (viewertest root)/lib64/python3.6/site-packages/pkg_resources/init.py", line 2352, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
ModuleNotFoundError: No module named 'viewer'

I feel like I am missing something really obvious. I am also uploading the installation log for this package.

Maybe the issue is a missing init.py in 'src'?

Many thanks!

install_log.txt

ImportError: numpy.core.multiarray failed to import

I am running into the following error whenever I try to execute the program ismrmrdviewer from the command line.

File "/home/user/miniconda3/envs/ismrmrdViewer/lib/python3.8/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 146, in _import ImportError: numpy.core.multiarray failed to import

I have installed ismrmrdviewer inside a conda virtual env with python 3.8.5
I have installed the requirement.txt dependencies and ran python3 setup.py install

Are there any particular python versions or particular versions of the dependencies that need to be installed in order for it to run correctly?

"pip install git+..." fails due to exceeded git-lfs quota

Installing with pip seems to be broken due to exceeded LFS bandwidth quota.

  • Command: pip install git+https://github.com/ismrmrd/ismrmrdviewer
  • Error:batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
  • Possible workaround: GIT_LFS_SKIP_SMUDGE=1 pip install git+https://github.com/ismrmrd/ismrmrdviewer

Pyside2, Qt5 and Python3.9

Python 3.9 cannot run PySide2 due to some version conflict with Qt5, where 3.8 works fine.

Potential fix using PySide6?

No protocol specified

After the update I am unable to use the viewer just get a message No protocol specified.

qt.qpa.plugin: Could not load the Qt platform plugin "xcb"

Hi,

I was trying to use the ismrmrdviewer, and after installation I got the following error message when launching the viewer (python3 ismrmrdviewer):

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

[1]    23876 abort      python3 ismrmrdviewer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.