Skip to main content

Load Arrays of Imaging Data

Project description

pylarid: Load Arrays of Imaging Data

pylarid is a Python package that is intended to facilitate analysis of magnetic resonance imaging (MRI) data.

Building Pylarid

pylarid consists of an extension module built in C++ to run on Python 3. pylarid is currently tested using Python 3.12 on macOS Sonoma using Clang and on Windows 11 using Visual Studio, and using Python 3.11 on Arch Linux using GCC.

To build and install pylarid from source, CMake and a compiler that supports C++20 are required.

Build using PyPA's build (Recommended)

Preferably, this is done in a virtual environment. If using Visual Studio, use a 64-bit native tools developer command prompt. First, install the most up-to-date versions of pip and pipx in the virtual environment.

python -m pip install --upgrade pip
pip install --upgrade pipx

Next, obtain the pylarid source code, build, and install.

git clone git@github.com:jme2041/pylarid.git
cd pylarid
pipx run build --wheel -Cbuild-dir=build
pip install .

Note that -Cbuild-dir=build sets the temporary directory to build. This is optional, but recommended for speeding up builds and for avoiding warnings about the intermediate directory being temporary when building with Visual Studio (warning MSB8029).

To uninstall, use pip uninstall pylarid.

Manual Build Using CMake (advanced)

To build and install pylarid directly using CMake, create a build directory within the pylarid directory and follow the normal steps for building and installing software using CMake.

To build and install on macOS and Linux:

mkdir build
cd build
cmake ..
make
make install

To uninstall, use make uninstall.

To build and install on Windows using Visual Studio:

mkdir build
cd build
cmake ..
cmake --build . --config Release
cmake --build . --config Release --target install

To uninstall, use cmake --build . --config Release --target uninstall.

Research and Educational Use Only

pylarid is for research and educational purposes only. Clinical applications are not recommended or advised. pylarid has not been evaluated by the United States Food and Drug Administration (FDA), or by any other agency. pylarid is not intended to diagnose, treat, cure, or prevent any disease.

License

Copyright 2023 Jeffrey M. Engelmann

pylarid is released under the MIT license. For details, see LICENSE.txt.

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

pylarid-0.1.dev0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

pylarid-0.1.dev0-cp312-cp312-macosx_14_0_arm64.whl (5.7 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

File details

Details for the file pylarid-0.1.dev0.tar.gz.

File metadata

  • Download URL: pylarid-0.1.dev0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for pylarid-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 f31b83a2713b3ac1a4d208d924bcd598477f7b8a2aa755a5c9b3447b4e685bc3
MD5 e7387eeb579241210b1e5816adda13a6
BLAKE2b-256 fa7ccde4443e0e39701589c83a7cb3cdd13425fdb0c53128b3799458572e6589

See more details on using hashes here.

File details

Details for the file pylarid-0.1.dev0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for pylarid-0.1.dev0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 449fd508ac7cec4991f86e5afc66c930b736a518321478242e13c2571e50fe06
MD5 dd9b801f8f01ff604408ac3446403950
BLAKE2b-256 46d4ec7222531efc8e2c5138e17df733a940b6ff5724a67706589f20374888a7

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