Skip to main content

No project description provided

Project description

https://people.ee.ethz.ch/~jweine/cmrseq/latest/_images/logo_cmrseq.svg

Define your MRI sequences in pure python!

The cmrseq frame-work is build to define MRI sequences consisting of radio-frequency pulses, gradient waveforms and sampling events. All definitions follow the concept hierarchically assemble experiments where the basic building blocks (Arbitrary Gradients, Trapezoidals, RF-pulses and ADC-events) are forming the core functionality and are all instances of SequenceBaseBlock-instances. On instantiation all base-blocks are validated against the System specifications. Composition of base-blocks is done in a Sequence object. The Sequence object implements convenient definitions for addition and composition of multiple Sequence objects as well as to perform a variety on common operations on semantically grouped base-blocks.

Several semantically connected groups of building blocks (e.g. a slice selective excitation) are allready functionally defined in the parametric_definitions module. For a complete list of available definitions checkout the API-reference.

The original motivation for cmrseq was to create a foundation to define sequences for simulation experiments. Therefore Sequences can be easily gridded onto a regular (or even unregular grids with a maximum step width) grids. Furthermore, commonly useful functionalities as plotting, evaluation of k-space-trajectories, calculation of moments, etc.

To close the gap to real-world measurements, cmrseq includes an IO module that allows loading Phillips (GVE) sequence definitions as well as reading and writing Pulseq (>= 1.4) files, which then can be used to export the sequence to multiple vendor platforms. For more information on this file format please refer to the official PulSeq web-page.

Installation

The registry contains the versioned package, which can be installed using:

pip install cmrseq

There are only few package dependencies, namely: - numpy - matplotlib to display the waveforms - pint to assign physical units and assert correctness of calculations - tqdm progressbar visualizations - scipy selected functionalities

Documentation & Getting Started

The API documentation for released versions can be found here.

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

cmrseq-0.26.tar.gz (134.1 kB view details)

Uploaded Source

Built Distribution

cmrseq-0.26-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

Details for the file cmrseq-0.26.tar.gz.

File metadata

  • Download URL: cmrseq-0.26.tar.gz
  • Upload date:
  • Size: 134.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for cmrseq-0.26.tar.gz
Algorithm Hash digest
SHA256 2afc51f7f53dde4c79c4b144f2cfe98f2657e035ab083a2388dd8d13b50cbbba
MD5 086ff60edcd522ffb056e41a977b9b8a
BLAKE2b-256 35b96c469708897795f35dac52ca58d913a1cf458703f10f08456bf98cf9584e

See more details on using hashes here.

File details

Details for the file cmrseq-0.26-py3-none-any.whl.

File metadata

  • Download URL: cmrseq-0.26-py3-none-any.whl
  • Upload date:
  • Size: 151.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for cmrseq-0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 a8c4353eec802b6f30c7fbebe67c7f2a970cc95506343918e08805dcf1f1d029
MD5 b6352c59aab2876bd5b53f6ed23b2eef
BLAKE2b-256 f382b86534194148de9cf725234239ac454b9f612d527830e0de2d05077f7853

See more details on using hashes here.

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