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.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: niicat-0.4.2.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.2

File hashes

Hashes for niicat-0.4.2.tar.gz
Algorithm Hash digest
SHA256 0f44460e562442be472a0a83e14b6c559044aa046b79a2d398c57dc9b286e371
MD5 43bb48d2ded92aedfcd3b47b85357e75
BLAKE2b-256 73309ecf57ef6dec911f644fd068ef8c6f948d5c250d01274757c1a871070bdc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: niicat-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.2

File hashes

Hashes for niicat-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 76fd3550acf3b900c6de6231908bb4eada2e92c773fd81b0c3b698d18f48bcbb
MD5 36d2c6f8b4d01a6980b5c0d462c01917
BLAKE2b-256 cf0d4e2c3e7e097900c62f459af4a5042388052c640c05b51469580206f0dc7f

See more details on using hashes here.

Provenance

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