Skip to main content

MR image simulator for teaching purposes

Project description

SpinSight MRI simulator

SpinSight is an MRI simulator written in Python and created for educational puposes. It jointly visualizes the imaging parameters, the MRI pulse sequence, the k-space data matrix, and the MR image. These are updated in near real-time when the user changes parameters. The simulator is run as a web browser dashboard. The data is simulated from computational 2D phantoms in vector graphics format (SVG).

Running the Simulator

Install using pip:

pip install spinsight

Then run as a command line tool

spinsight

This serves SpinSight on the local host, so that the simulator can be run by navigating to localhost in the web browser. The same command line tool can be used to deploy the simulator on a local network, or on a web server (run spinsight -h for help). Be aware that several minutes are required upon loading a phantom for the first time.

Dependencies

See pyproject.toml under heading [tool.poetry.dependencies].

License

SpinSight is distributed under the terms of the GNU General Public License. See LICENSE.md.

Contact Information

Johan Berglund, Ph.D.
Uppsala University Hospital,
Uppsala, Sweden
johan.berglund@akademiska.se


Copyright © 2021–2025 Johan Berglund.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spinsight-1.0.15.tar.gz (100.1 kB view details)

Uploaded Source

Built Distribution

spinsight-1.0.15-py3-none-any.whl (100.3 kB view details)

Uploaded Python 3

File details

Details for the file spinsight-1.0.15.tar.gz.

File metadata

  • Download URL: spinsight-1.0.15.tar.gz
  • Upload date:
  • Size: 100.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/24.3.0

File hashes

Hashes for spinsight-1.0.15.tar.gz
Algorithm Hash digest
SHA256 19beafd1d9917ec58dd1ea6050728379a5b683e6d3bcb76f154da6f6628f5547
MD5 a52b60901ab2c196beb7f403e87718f3
BLAKE2b-256 c70d2460cd571fc85025db337008136cc2c71455c56d00504591f67ce460940f

See more details on using hashes here.

File details

Details for the file spinsight-1.0.15-py3-none-any.whl.

File metadata

  • Download URL: spinsight-1.0.15-py3-none-any.whl
  • Upload date:
  • Size: 100.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/24.3.0

File hashes

Hashes for spinsight-1.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 05ad4c53246163906173d08b6192eb44fdcef876fd1c162bcddbca284d1d4a66
MD5 7541063be70a120f929e24bda11abaf5
BLAKE2b-256 69c320b6c4de296cdc4e7cdfaee62d020dbb230deeb54c33da6ea75de163c398

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page