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, which allows the tool to be run without uv. If the directory that contains 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/fixtures/gray_stack.tif) ... :

      $ climax tests/fixtures/gray_stack.tif
    
  • ... including zarr images (e.g. tests/fixtures/4D_stack.zarr):

      $ climax tests/fixtures/4D_stack.zarr
    
  • 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 displayed as different dimensions. 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 take 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
    

The CLImax dashboard provides tools to display and manipulate images:

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
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

A command bar provides 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
o open a new image
t open an image sequence (select a folder)
i toggle bilinear interpolation on/off, initially off (i.e. nearest neighbour interpolation)

CLImax today

As we develop and improve CLImax, there may be 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.10.6.tar.gz (34.4 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.10.6-cp314-cp314t-win_amd64.whl (192.0 kB view details)

Uploaded CPython 3.14tWindows x86-64

climax_rfglab-2025.10.6-cp314-cp314t-win32.whl (184.4 kB view details)

Uploaded CPython 3.14tWindows x86

climax_rfglab-2025.10.6-cp314-cp314t-manylinux_2_28_x86_64.whl (317.3 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

climax_rfglab-2025.10.6-cp314-cp314t-macosx_11_0_arm64.whl (281.3 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

climax_rfglab-2025.10.6-cp314-cp314t-macosx_10_13_x86_64.whl (294.3 kB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

climax_rfglab-2025.10.6-cp310-abi3-win_amd64.whl (192.6 kB view details)

Uploaded CPython 3.10+Windows x86-64

climax_rfglab-2025.10.6-cp310-abi3-win32.whl (185.2 kB view details)

Uploaded CPython 3.10+Windows x86

climax_rfglab-2025.10.6-cp310-abi3-manylinux_2_28_x86_64.whl (319.3 kB view details)

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

climax_rfglab-2025.10.6-cp310-abi3-macosx_11_0_arm64.whl (282.1 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

climax_rfglab-2025.10.6-cp310-abi3-macosx_10_12_x86_64.whl (295.1 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: climax_rfglab-2025.10.6.tar.gz
  • Upload date:
  • Size: 34.4 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.10.6.tar.gz
Algorithm Hash digest
SHA256 38ccbe9c5deaea128efbcdd81d5ed323cedf1c46978258dff6dcc69046bfdd8d
MD5 bdb09ae3b49465ed7f3d31ab9cf50c1a
BLAKE2b-256 08ca5b747531b085b7ad65941779d96d84d4922dbe702525e1df8445941d8538

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6.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.10.6-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 7e1c6e518e451658c71336be9aca71ef41677889689ee86576ddd401d10f1308
MD5 3919269efbb4631444331ce6708fdf0b
BLAKE2b-256 ac69b29fef17508fb26a38253c25b0574d489f90ec88a5c332695fda5fc8353f

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp314-cp314t-win32.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 9ac916b919ca062a6195e427bc25bb745b3f5ae6765019004b2c21f078eae22f
MD5 55e04883a19467d2ac3cde1390774cf8
BLAKE2b-256 973a93f7f2afdbb4df334b8c2c9d66a3c1cf0549f50bc1a8629fb4f27c8c762e

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cb9e12f7afcecf7373687c70a6cc66187a802e07b2d6f407ff0f4bda12a7f217
MD5 fe32f97a29892d57e041e9c0b3dd7ae6
BLAKE2b-256 016192afe35abf5c11247a3f34572b470faf10b4e5b6219245037ad8d2c97adf

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 04c6afcb48794ed453b119e1b80bc532e001592ba62202624a114698d948edd1
MD5 c49924b723a1801985f5ef6ebdf1f5eb
BLAKE2b-256 b6c54fcb1b9ad5d2f45d8a30ae34312ab1ee549681977e76fe57c578294eda91

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp314-cp314t-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4088647002b7889d945e561de2091d7e7668a57141871836dc99dc7764364f64
MD5 5f302446c7266f2f5c100ce4f54752d8
BLAKE2b-256 c46edbc9fbc7889317d64a21b5e99ffe42deea5dc0f6bf666ec8ca02ba27dc5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4fbb6785388b80a8cb4d395f16ea219f46a53f13f1c3124a74a46e55dbeb7b73
MD5 eb5824b90c314508d818e3c5f35d4f22
BLAKE2b-256 58b641cb70dff7b22a452eb114ad54855ccc7d29dd9fa9d930baf93e17dca802

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 132b6422ecb9949c926df5d533da681c9611cd6d583c9e3ba445c05a1afa342a
MD5 23ada3a91ecc010448a8c1cb42e956f7
BLAKE2b-256 e17832db87c128bd4b714042045025335d22868b412ca6d542d165e1143d4cde

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa23e7377d2158c4f7633a1ec1c1f8eee682d3dfc47b3c64390ad124f8703130
MD5 69ff290ece66dd7497ab3c3931ae9e29
BLAKE2b-256 931409fca33f7fa93da4d6ff0b192765abfae07ae6c5613ed571abc0d38501f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5407a9ce64ff13aab073bc7f473321f30e910075198692791a6bca5f6bf4926
MD5 ab47a6772333b167d97226f4c9bbd741
BLAKE2b-256 3d9d710ba67f96425b0ad064d82b3943765a04c4240c016808b5896b8f919d0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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.10.6-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.10.6-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bc2268fde26b8f304b13b5562666bd141558a5b6bff4416ceec3444a16969c33
MD5 a9ecb0ef784626ec8eb3b1a9ecdca00d
BLAKE2b-256 6702c423c8cdbd58029d829c6ee2ad394664f6271369121365f95ac5b3918045

See more details on using hashes here.

Provenance

The following attestation bundles were made for climax_rfglab-2025.10.6-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