Skip to main content

climax is a Command Line IMAge eXplorer

Project description

Logo GPLv3 License

CLImax (a Command Line IMAge eXplorer)

Installing CLImax

We recommend that you install CLImax as a tool using uv:

$ uv tool install climax-rfglab

or

$ uvx --from climax-rfglab climax

A CLImax executable will be created in a bin directory in the PATH, which allows the tool to be run without uv. If the directory with the CLImax executable is not in the PATH, a warning will be displayed and the following command can be issued to add it to the PATH:

$ uv tool update-shell

CLImax can also be installed as a regular Python package using uv:

$ uv pip install climax-rfglab

or pip:

$ python3 -m pip install climax-rfglab

A note on the Python interpreter

CLImax requires that you have Python 3.10 or above installed.

A note for developers

If you want to download the code and run from source, you will first need to compile the part of CLImax that uses Rust. The simplest way to do that is to install maturin and run the following command within the CLImax folder:

$ maturin develop --release

After that, you can run CLImax with:

$ python -m climax.climax

Using CLImax

After installing CLImax with one of the methods above, You can invoke it with:

$ climax <filename>

You can also run CLImax without installing it, taking advantage of uvx:

$ uvx --from climax-rfglab climax <filename>

There are a few ways to open an image with CLImax:

  • You can specifiy the path to the image that you want to open (e.g. tests/cells_movie.tif) :

      $ climax tests/cells_movie.tif
    
  • Or you can indicate a folder (slices in this example) that contains an image sequence:

      $ climax ./slices
    
  • If there are image channels split into different files, you can specify a group of substrings to distinguish which files in the folder belong to which channel. For example, to open the files in the slices folder containing the substrings '488' and '561' as two different channels:

      $ climax ./slices -s 488 561
    
  • You can use a list of paths to concatenate sideways (i.e. display side-by-side, but all the images must have the same dimensions!!):

      $ climax cells_movie_1.tif cells_movie_2.tif
    
  • You can specify the color map used to display the image. The color map defaults to 'gray'. Check here for a list of color maps.

      $ climax cells_movie.tif -c viridis
    
  • Notice that if you try to open a color image, the channels will be split and displayed side-by-side (red, green, blue). Thus, for instance, if you open the CLImax logo:

Color

  • You can indicate the zoom factor initially used to display the image. Keep in mind that larger zoom values will require longer to render. The default value is 1.0, but you can select any of the values in climax.zoom_factors (currently 0.03125, 0.0625, 0.125, 0.25, 0.5, 1., 2., 4., 8., 16., and 32.):

      $ climax cells_movie.tif -z 2.0
    

CLImax provides a dashboard with additional functionality:

name function
rotate rotate 90° clockwise
flip h. flip horizontally
flip v. flip vertically
invert invert color map
update continuous/discrete update
x-y, z-y, z-x slicing plane through stack
auto automated contrast adjustment (min-mode, max-99th percentile)

The dashboard also shows the histogram of the image currently on display. The histogram is updated in real time as the user explores the image.

Histogram

There is also a command bar with additional functionality that can be invoked with the mouse or with several quick-keys:

key function
. next slice
, previous slice
+ zoom in, uses nearest-neighbour or bilinear interpolation
- zoom out, uses nearest-neighbour or bilinear interpolation
k toggle dark mode on/off, initially off
t open a new image
i toggle bilinear interpolation on/off, initially off (i.e. nearest neighbour interpolation)

CLImax today

As we develop and improve CLImax, there may be small changes to the user interface. This is how CLImax looks as of today:

CLIMAX today

Citing CLImax

If you use CLImax, please cite this repository. We are working on the paper!

Sponsors

We are grateful for the generous support from the following agencies and institutions, which contribute to the development and maintenance of CLImax:

Sponsors

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

climax_rfglab-2025.9.4.tar.gz (7.5 MB view details)

Uploaded Source

Built Distributions

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

climax_rfglab-2025.9.4-cp314-cp314t-win_amd64.whl (191.3 kB view details)

Uploaded CPython 3.14tWindows x86-64

climax_rfglab-2025.9.4-cp314-cp314t-win32.whl (183.5 kB view details)

Uploaded CPython 3.14tWindows x86

climax_rfglab-2025.9.4-cp314-cp314t-manylinux_2_28_x86_64.whl (316.1 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

climax_rfglab-2025.9.4-cp314-cp314t-macosx_11_0_arm64.whl (278.9 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

climax_rfglab-2025.9.4-cp314-cp314t-macosx_10_13_x86_64.whl (292.2 kB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

climax_rfglab-2025.9.4-cp310-abi3-win_amd64.whl (192.0 kB view details)

Uploaded CPython 3.10+Windows x86-64

climax_rfglab-2025.9.4-cp310-abi3-win32.whl (184.1 kB view details)

Uploaded CPython 3.10+Windows x86

climax_rfglab-2025.9.4-cp310-abi3-manylinux_2_28_x86_64.whl (318.2 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

climax_rfglab-2025.9.4-cp310-abi3-macosx_11_0_arm64.whl (281.9 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

climax_rfglab-2025.9.4-cp310-abi3-macosx_10_12_x86_64.whl (295.0 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file climax_rfglab-2025.9.4.tar.gz.

File metadata

  • Download URL: climax_rfglab-2025.9.4.tar.gz
  • Upload date:
  • Size: 7.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for climax_rfglab-2025.9.4.tar.gz
Algorithm Hash digest
SHA256 fced15f05549760204e17aeca4501df798bdd28d8e8e98ed201dc1d69e364f52
MD5 d2d694c791ae6b7ea68b4bca8176e346
BLAKE2b-256 f62ed11fef965994da7ed87c8f26899ac0c2fbc53ad5ab49923389e85d8e77df

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4.tar.gz:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 86eca40c987cef45fd23ebd10903f76e3b0c4c7ff7bfee75c29d0a1e9f38b9fa
MD5 62ce1d0278828c1bd207ab18caf4cfac
BLAKE2b-256 9ed48e5c6d5c30c2aa2359bcdb48753b975125042b8815b7c0e742e6b5f7cdbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp314-cp314t-win_amd64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp314-cp314t-win32.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 09748a8d02e90786c0fdbc9460604c2005e2505f6b25e8d471daf68cc580f8c2
MD5 032e732bd78f9c034fbbdd0689fb766d
BLAKE2b-256 7299377252bf94bd89c82c7810d950bd920dca722aa1783a332e3cb352219a4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp314-cp314t-win32.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 799cba51e3220128bdf081ef91b2e54d1b75f9d7a5513b4a83f00c9974028dae
MD5 e2d888b45af43cf7c27ebcb19dfd5669
BLAKE2b-256 a51cbdd70e6e3077a254ba5eb68dd634014eefaf38f292b3f6237f8429229bcc

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp314-cp314t-manylinux_2_28_x86_64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 248923962393d1376a7e65f3c9abafb66d5073d5088b699febbefa6bcf0fa6f1
MD5 851c888e9c4ad7b854eb0bb818940cb8
BLAKE2b-256 ff4b859ab8b7016f99ac9df1fcdf70424a3e77018108168a622c6186cc4cd58e

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp314-cp314t-macosx_11_0_arm64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp314-cp314t-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 13ec9a4dbcbc675abb8acae891b54e8d51b24c9aa86f71ebaff508b5c32033ea
MD5 981709b4a48df1f3a9127efe25432ea1
BLAKE2b-256 22c12746d517e331e613e9703d20379ba4f6d1585ba04c311e4de5de0e9d6006

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp314-cp314t-macosx_10_13_x86_64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 334f6ec1669adc160110cfe3c8ead5c3782cd0e4dc0d8aa30803ac9c5540e691
MD5 90d8c2b38c593f8f04ce47943025f9ec
BLAKE2b-256 311d6bd9e68217c124a0f10816992d4a610c46bb6699fb0d2b1eb570ee5e74cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp310-abi3-win_amd64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 0b4be529aeaca16e047c174ba5b28fef5a94a49293b8e4710d92861e7970c468
MD5 39ac029465f462db113ccc170958076d
BLAKE2b-256 d0e75f35422ee874b88e58252d12e87b867a98b04c29e6fb932566169059ad8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp310-abi3-win32.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cfda7cd2ca2c6736e25d9c4e1922dfe74cf29be2fcb9a26120561091081f7dce
MD5 987281665e3fa6348f1d21517a29d144
BLAKE2b-256 efc1ce11ff57438b5c68a5c6517c6b34e0694fd7112e40d15f8c14edb8c2a0a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp310-abi3-manylinux_2_28_x86_64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2f28d04d47002c25d703b5df69488f1be9b47f94e6db1fd42a6812586b3cffd0
MD5 80ecf364f4a7bee3c5b8b90ad3e0e099
BLAKE2b-256 be1c28985ed4259c8d85b6a54e63556671ef990ae015a32559d345616b3b0f30

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file climax_rfglab-2025.9.4-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.9.4-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 21f9ae32c859a32b653b86c4f4fb8261f6e7b4852cfc9ef743d3420278904c54
MD5 27804f3f4ef36d4c8d93b9929bbb74d9
BLAKE2b-256 807344498b47e225ca80a4a4b0d46cd06b594ea529a99e514245b307f9bae8d3

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.9.4-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: build_deploy.yaml on rfg-lab/climax_github

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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