Skip to main content

A package created for ease of use working with NumPy in 3D Slicer

Project description

slicerutil

A package containing usefull functions for working with common nodes in 3D Slicer as NumPyArrays.

Table of Contents

Usage

!!!!Please install this package in a Slicer python environment!!!!

After installing the package use the following to import

import slicerutil as su


License

The following repository is under MIT license.

Setup

Downloading the 3D slicer application & supporting software

Please follow the steps provided bellow:

  1. Visit slicer to download the application.
  2. Visit anaconda to download python3/ jupyter notebook.
  3. Visit Visual Studio Code to download the source-code editor (optional).
  4. From the Extensions Manager widget, download the SlicerJupyter, MeshToLabelMap, PETDICOMExtension (if working with PET DICOMS), SlicerRT (if working with radiotherapy data).
    • The Slicer application needs to restart to install the extensions.

Set up the SlicerJupyter

  1. Using the search widget in Slicer, open the SlicerJupyter extension by searching for JupyterKernel.
  2. Click the "Start Jupyter Server" button. A JupyterLab notebook will open when the setup is complete.
  3. Click the "Jupyter server in external Python environment" and copy the command to clipboard.
  4. Open the anaconda prompt (Terminal if on mac) and paste the command.
  5. (Optional) open an external environment (Visual Studio Code) and select the Slicer kernel!

Acknowledgements

The slicer scripting tutorial would not be possible without the following open source software:

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

slicerutil-0.1.1.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

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

slicerutil-0.1.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file slicerutil-0.1.1.tar.gz.

File metadata

  • Download URL: slicerutil-0.1.1.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for slicerutil-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7a5e0c94d579e2710ab61f890cf4f83719696a260ff637f46ce6b6b8ea4839a0
MD5 f051ea1f879b6d9a5149703721f4d470
BLAKE2b-256 a4838f0419b327fc263827f91534234c49a20423e0ce0753250a73fb382d1a03

See more details on using hashes here.

File details

Details for the file slicerutil-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: slicerutil-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for slicerutil-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a41f9195e2862157f5baddb30b3bbfccc1fdaceff7e5df992bfa9aa023b0e9ad
MD5 45641209e7498945a151829c7fd5f7a9
BLAKE2b-256 70460990a4220eeb72ab3e19f5f1900cff2cfe05211121fdb1ce34b04eed2e0d

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