Skip to main content

Preview nifti images on the terminal

Project description

niicat

This is a tool to quickly preview nifti images on the terminal. This can be helpful if you are working on a remote server via SSH and do not have a -X connection. It uses libsixel to display the images. Niicat can also display png, jpg or similar images.

Install:

pip install niicat

Usage:

niicat T1.nii.gz

Possible problems

If nothing is displayed check if your terminal supports sixel.

Per default niicat is trying to use libsixel-python. If this is causing problems you can also try using niicat with the option -ic if you are using iterm2 (this will use imgcat from iterm2) or with the option -lb (this will use libsixel-bin which can be installed via sudo apt install libsixel-bin).

Niicat was only tested on python >= 3.5.

Copyright

Copyright © German Cancer Research Center (DKFZ), Division of Medical Image Computing (MIC). Please make sure that your usage of this code is in compliance with the code license.

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

niicat-0.4.4.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

niicat-0.4.4-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file niicat-0.4.4.tar.gz.

File metadata

  • Download URL: niicat-0.4.4.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.16

File hashes

Hashes for niicat-0.4.4.tar.gz
Algorithm Hash digest
SHA256 bf4801817f6a0984dccf3f04419b272750948d6f82c65020dd8497877c603da5
MD5 44e0a7d563b856acdb18777f814c0d89
BLAKE2b-256 e0539fd2026d0fc98975d6f64a7bf129670f229bfbe14e90c77128528001fc75

See more details on using hashes here.

File details

Details for the file niicat-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: niicat-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.16

File hashes

Hashes for niicat-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c33dc607896ed742ad3df6f466ed820520b5903274ebd88eb3008da77ebe554
MD5 d263ae946e05ac62acbae5ed32b6428a
BLAKE2b-256 874b8b267e7fa854731707a4ba0485d833ca55a4ff03ad03939423cc26ee8647

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