Skip to main content

SSFP simulation

Project description

SSFP

Simple steady-state free precession simulation. The goal is to provide a simple to use, pip-installable solution for simulating this wonderful pulse sequence.

In this package:

  • bSSFP: bssfp()

Installation

Should be as easy as:

pip install ssfp

Usage

See ssfp.examples for typical usage. You can run examples like:

python -m ssfp.examples.basic_bssfp

Balanced steady-state free precession can be called through bssfp(). This is an implementation of equations [1–2] in [1]. These equations are based on the Ernst-Anderson derivation [2] where off-resonance is assumed to be subtracted as opposed to added (as in the Freeman-Hill derivation [3]). Hoff actually gets Mx and My flipped in the paper, so we fix that here. We also assume that the field map will be provided given the Freeman-Hill convention.

from ssfp import bssfp

# Here's the simplest usage, see docstring for all the possible
# function arguments
sig = bssfp(T1, T2, TR, alpha)

References

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

ssfp-0.1.0.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

ssfp-0.1.0-py3-none-any.whl (22.2 kB view hashes)

Uploaded Python 3

Supported by

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