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:
Project details
Release history Release notifications | RSS feed
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.1.tar.gz
(4.9 kB
view details)
Built Distribution
niicat-0.2.1-py3-none-any.whl
(11.4 kB
view details)
File details
Details for the file niicat-0.2.1.tar.gz
.
File metadata
- Download URL: niicat-0.2.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 576410b8571b5e625575766e82a000196a6409583cdfc028d4f05465c09d181b |
|
MD5 | 9299c0cd7519358b4d1987fff720d9f0 |
|
BLAKE2b-256 | a6ccd957b820f2cb3e842f210ef3d38b66c30eccbaccb9d3379aed6dbec808ac |
Provenance
File details
Details for the file niicat-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: niicat-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50a93bc046c3a8943adab0a28b9f69ad72884047720b7385f577f1366901d3d4 |
|
MD5 | eadbfca908888be580324abc7c2c7bd5 |
|
BLAKE2b-256 | 829e07b26ff8864a436e89b4f86d3507caf96bcfc6055cbf01dc778243a84e71 |