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. Per default it uses libsixel to display the images. If you add the option -ic it will use iTerm2's imgcat command instead of libsixel to display the images.

Install:

pip install niicat

Install prerequisite libsixel (if you do not use iterm2):

Ubuntu

sudo apt install libsixel-bin

Mac (build from source)

git clone https://github.com/saitoha/libsixel.git
cd libsixel
./configure
make
make install

Also check out the terminal requirements for libsixel to work.

Usage:

niicat T1.nii.gz

This code is based on the following code:

niipre
imgcat

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

Uploaded Source

Built Distribution

niicat-0.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: niicat-0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for niicat-0.2.tar.gz
Algorithm Hash digest
SHA256 7ea693c254ae8f5afae9e3d5d828add470765b44a9fa76b35674c5c8f4991682
MD5 e9c2717eb15245961ec377c0b41aae43
BLAKE2b-256 eb6955fc117c46a8af1b02ffd15db1c0c65fbb4f847873bdfa0472804787fecd

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: niicat-0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for niicat-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 13943e0f008b099d761177aca6a3e886efec8e42558328657f1396c372a8a3d5
MD5 69f5a45a364f18a030dd0acc2e30abd3
BLAKE2b-256 61897ae562fcb272301691c1dfbeba8fdef62fbdf43804427baf7c12c23302ce

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