šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

mrftools

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mrftools

Tools for Magnetic Resonance Fingerprinting

0.2.12
PyPI
Maintainers
1

mrftools

Python / pip package for managing MRF sequence definitions, dictionary definitions, bloch simulation results, and more. Utilizes HDF5 interchange format (.mrf files).

Features

  • MRF Sequence definitions
    • Intended to define a sequence for execution on the scanner or within a bloch simulation
    • Supports timepoints with varying TR, TE, and FA
    • Supports multiple "beats" with varying RRTime, PrepTime, and PrepID
    • Can be defined programatically via Python, via .txt import, or via .mrf import
    • Can be exported to .txt format or .mrf format (** txt export not implemented fully **)
  • MRF Dictionary definitions
    • Intended to define a set of dictionary entries to be used by a bloch simulation
    • Supports entries with varying T1, T2, and B0 values
    • Can be defined programatically via Python, via .txt import, or via .mrf import
    • Can be exported to .txt format or .mrf format
  • MRF Simulation definitions
    • Intended to specify and execute a bloch simulation of a specific sequence over a specific dictionary set
    • Configurable phase range and number of isochromat spins
    • Can either store all isochromat results or perform averaging before saving dictionary
    • Results and configuration can be exported to .mrf format

Installation from pip

  • pip install mrftools

Installation from source

  • git clone https://gitlab.casemri.com/common-resources/mrftools
  • cd mrftools
  • pip install .

Building and Publishing pip Package

setuptools wheel twine

  • python3 setup.py bdist_wheel
  • twine upload dist/*

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts