Skip to main content

A package for CSEMRI with C++ accelerated components.

Project description

PyCSEMRI: Python Water-Fat Separation Package for CSE-MRI

Overview

PyWaterFat is a Python package for water-fat separation in Chemical Shift Encoding Magnetic Resonance Imaging (CSE-MRI). This package is based on Diego Hernando's MATLAB fat-water toolbox, with modifications to improve performance and compatibility with Python ecosystems. The confidence map function will be integrated in the near future.

Key Features:

  • Implements complex, mixed, and magnitude fitting algorithms for water-fat separation
  • No GSL dependency
  • Utilizes Eigen C++ library for fast and efficient computations
  • Highly portable and easy to install in various environments, including MRI scanners

Background

This package builds upon the work presented at the ISMRM Workshop on Fat-Water Separation: ISMRM Fat-Water Separation Workshop

Dependencies and Licensing

This project utilizes the following third-party libraries for core functionalities:

  • Eigen: We use the Eigen library for efficient matrix and vector calculations.

    • Availability: Eigen is an open-source C++ template library for linear algebra, available at https://eigen.tuxfamily.org/.

    • License: Eigen is licensed under the Mozilla Public License, Version 2.0 (MPL 2.0).

  • Boost: The Boost C++ Libraries are used in this project specifically for the graph cut algorithm.

    • Availability: The Boost C++ Libraries are a collection of peer-reviewed, portable C++ source libraries, available at https://www.boost.org/.

    • License: Boost is licensed under The Boost Software License.

Please refer to the respective project websites and their associated license files for full details on their terms and conditions.

Installation

This package contains C++ components and requires a compiler for installation from source. However, pre-compiled wheels are provided for common platforms (macOS, Linux), making installation easy via pip.

From PyPI (Recommended for Users)

If you just want to use the package, you can install it directly from the Python Package Index (PyPI). This method will automatically download the correct pre-compiled version for your system.

pip install PyCSEMRI

Usage

A sample code is provided in Example_ChanComb_h5.py.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pycsemri-0.2.4-cp312-cp312-musllinux_1_2_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

pycsemri-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

pycsemri-0.2.4-cp312-cp312-macosx_11_0_arm64.whl (868.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pycsemri-0.2.4-cp311-cp311-musllinux_1_2_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

pycsemri-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pycsemri-0.2.4-cp311-cp311-macosx_11_0_arm64.whl (868.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pycsemri-0.2.4-cp310-cp310-musllinux_1_2_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

pycsemri-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pycsemri-0.2.4-cp310-cp310-macosx_11_0_arm64.whl (868.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pycsemri-0.2.4-cp39-cp39-musllinux_1_2_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

pycsemri-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pycsemri-0.2.4-cp39-cp39-macosx_11_0_arm64.whl (868.0 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

pycsemri-0.2.4-cp38-cp38-musllinux_1_2_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8musllinux: musl 1.2+ x86-64

pycsemri-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pycsemri-0.2.4-cp36-cp36m-musllinux_1_2_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.6mmusllinux: musl 1.2+ x86-64

pycsemri-0.2.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.8 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

File details

Details for the file pycsemri-0.2.4-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 23cda90c7176047ceaafe2ca4804b216d7a08684596aac4f08a9452dbb3c8c17
MD5 0bf610ab81263bba6cee9909574073ff
BLAKE2b-256 7abe02e1ace1b59e4d581668df55522215627cf73b4c255f5bf9c81871f33409

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6c35819770f0055b662b338938597025753e60be930a84cc243294355d901986
MD5 8966ddde82d2b627469ee374ae471d79
BLAKE2b-256 f08b90bd644153d2ff1a189d6db2006b20bb029491b1bc31e1f6c04f82aa3aa5

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 41cddf3ec5c6552e026988a67a78740af77aca6de47c48b010325ed51000ff88
MD5 1c15f773bc1665536f73ad0cca7d08c3
BLAKE2b-256 7fff6621255880034b980cbc5e9770033c8049d0cd353560b319caeba310cd15

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e3a598761d0dc112bf529e15a068ba31ddeb9b411985dd30df58efc8dc4b5c3a
MD5 c3c2d6bb3d73002dc26899ac6ffa7092
BLAKE2b-256 91626ceef5ec86ababd5e6f520e1797c19058f2ba566752d6c9b27b461d15671

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2dbcecf0409ef16bbded1effde32c8030da8947437655968833a5c5c6770154b
MD5 5236c4b07efa715a90236131abb9d377
BLAKE2b-256 d82a12022cf34c8050bda903f300648e70f647517d845469fbf6e1514dd83b34

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95997fcbab5535614a94a85817ef295f869445ac0a9178b107405a94ccc8dc84
MD5 0f382e9d5c0faf8d3f2c5b446b3fecf2
BLAKE2b-256 0bca7f0e8fcf37eff5f41d8181f79347542f4ad9499511f06cabfbfc83e2381d

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 153b62899b3ca76c0cfc2c8409838579b4506c23f82ba484b969c68c0207a9ba
MD5 6f8079828638649cc187e00807ddee53
BLAKE2b-256 5d83b22682212d6009c7842df88f6823031efc058c562929c5e2a3c11df3eeb3

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a1fc8f9667fd0350d0dea6106d3d3ff74b49db2d6b7899dc275e039aefe28cea
MD5 5050a878f132772ab7248b028450b2d7
BLAKE2b-256 c14096be55bdc9353703cc40a667a86b30aabe1b59501bce57e2c9d206210abe

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0bc285338318de0082e8caffcd75abb07e7bd89e106b18dcd6c9e86513453e9a
MD5 e68e3680947159700aea001628dc5a59
BLAKE2b-256 15634271055778ae010552d6bb67913dea53557a7f39ffb65f8fd9d8f7812994

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 83189b4c06a8ec0e1b7902a832e312ae8e8618684a2d2efe94fb10f178dcef5a
MD5 a754eea299d9bf794b829812cd096ed9
BLAKE2b-256 78b262d1264e681fafa35948f9a2f2c21d32092682d2d7f410e8a8b7bfdeedd2

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b1a9015900f2bb46aeee337ea93becc70e2f875ee24bf175b630e1916afcfcb
MD5 c4743ef9719c66405f2f8e2c80aa78f0
BLAKE2b-256 d6d9a91fe84fdef79a0915d1382490789ee9700e9bc5a614f58fca72b5b85ac4

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 68b7c7c916ec4cf7c1ec927e5d89ad173cd4ea20010af04a9065b60aa8850d71
MD5 3d9721525531cb346e9f648e3444da13
BLAKE2b-256 e2916f07cee2653c07a301754659024f5e07257efca7d4cafd61e875f47b0e03

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp38-cp38-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp38-cp38-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e8edd977885adecb4f3e42f4504c8772cc175e01ce1a2afe1f5880cf0f32cb93
MD5 90726eba332a74b66e54dda9bb351760
BLAKE2b-256 6bedc3b36d24f3cca37016ea2b59a207c95f8ae9ddd2f77d5d0f47f568610764

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 222c04b49f68815e78ae7e948881e7130552567d0b9f5da32eb22f60c7f38682
MD5 e41c07225263af4c0c2f4a3495edf8b2
BLAKE2b-256 b03d61e4ac91f33925ea4ee7e89ec51b0921ad6fa7bfd1ee9507c850ea5cf08f

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp36-cp36m-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp36-cp36m-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 43072d3bcb9e94c9aae245f6c9a92c8ba11cfb1a654b90a529f3c31dbdc57de2
MD5 1bd80f9ae58ee82e767292482baa7d1c
BLAKE2b-256 04c136e23d7bdd5bae9882bc0ecb4ddfefecf0d3e9a6a00055526a2528b14b45

See more details on using hashes here.

File details

Details for the file pycsemri-0.2.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pycsemri-0.2.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 55132ee6cca77a4c333b19d20fcea1a4450a1517cb621ec85bf34be04bdcaa77
MD5 061bae4704d20f7ff51da8ea1eee8b5c
BLAKE2b-256 45c0a278db69de6e648c5cb5720a66c5b403ffbad426da7e03606b4e546e612a

See more details on using hashes here.

Supported by

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