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.5.tar.gz (39.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.10.5-cp314-cp314t-win_amd64.whl (192.0 kB view details)

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14tWindows x86

climax_rfglab-2025.10.5-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.5-cp314-cp314t-macosx_11_0_arm64.whl (281.4 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

climax_rfglab-2025.10.5-cp314-cp314t-macosx_10_13_x86_64.whl (294.4 kB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

climax_rfglab-2025.10.5-cp310-abi3-win_amd64.whl (192.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

climax_rfglab-2025.10.5-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.5-cp310-abi3-macosx_11_0_arm64.whl (282.1 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

climax_rfglab-2025.10.5-cp310-abi3-macosx_10_12_x86_64.whl (295.2 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: climax_rfglab-2025.10.5.tar.gz
  • Upload date:
  • Size: 39.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.10.5.tar.gz
Algorithm Hash digest
SHA256 867fb39c24598708b6268df63e3d973c51874f75fc3770e20e37a3b0dac7d81e
MD5 008ed8758c4da8e362e0abcab640b8a0
BLAKE2b-256 43ca4ddb16cdaf6e7e86faba67615cde27fddd39f0264b71996c56f626ff9e15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 62c915e70dc67559fa165f77ead71f6b59e6df3389073de7bc38d4bc7b9b3f44
MD5 97bbb67ecc5617630d2aa767c836c077
BLAKE2b-256 eab6aa8c9463c391967c87b229c6a1cac42638c96b537bc931ec5199a9ffe839

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 e815cd4f0c70b1c0592442ba39a3c16b8c3108a63954abded7bbeee715c86762
MD5 08422000efc246a37baf7fb6fd3ce380
BLAKE2b-256 bfcc12417e8948c7f3f2d77197615596f0712c931ded2fa6cac14549f27bfa7c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d9973e6da07d4ca072de6de0289785e4363526c20e1ef1983f450aee50e7b4de
MD5 d1bf403f55e4c87d06f275ff118efc3b
BLAKE2b-256 cbfdc3b90e8702c4ba1824379aca39e9890101461e899bdf6afce1ac59b51991

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c5c3c5f6584df80e3e46ce85664840a0ae11c96dcc7fa4712a0bb8f3570fe4dd
MD5 958fab8d9473a1995ef5debfb9a3b160
BLAKE2b-256 08bc56b9e94b1c964864ac2a5aefa5121bb19868f4dfdd9eee6cf84880e3bb73

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 b3c4c01b76c613df0aef8971f2f7aa4a7c6063b7ae5830b350013b85ccf4d500
MD5 6fb56904f86f6b31ecab1614f9ce6bf3
BLAKE2b-256 dbbea5d72dfcc29ef5e0f25ff60179ee2a4b797f326013345db33f5d6991bf84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2b6847d87022a809129d53bf1b475d92c721b1c5731ccf5f76a3fc225f591c3b
MD5 d103f43e19609de1a33967381c1a6c7c
BLAKE2b-256 d557ac9cf6f7c4bd181de54070cecfa3012a4ca78f4b244cd5a60491b96cc024

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 36ddd2de42cfa21115b141a5aa1f6780b506d50e0c2de8670a639998eda1c1f4
MD5 e595cfd9845a4a39ee9e90b9e899fa46
BLAKE2b-256 7cd0609c5328078c63dd56570f7d4e64f9be80b87aa7ef7ade583884fcad5616

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc2dd70527b5809a989edd7ca96d196496906c1cc9fad380bf4ab0e7709556ad
MD5 9e304df8dcf6e080a3ffeb6ccff96471
BLAKE2b-256 8f8bdb6bfb8a1d0bf5d08c6e8edff4576570dacad55fe59798b1b36a1b699b4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 adfb3ab1d54280ae552937628c1d66dac27b26ac07cca4c7407d2175f7ddba7f
MD5 d1f9a9464722bb2c3d2f835ec842755e
BLAKE2b-256 98deb5cdf96e6f1e0e5e81338485bff02708968eaa907bbedd6a7d2a3acdd18d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.5-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 67335c030f3bbe31fa015a576c0fae5abb6496aafac80ff33225ef54e68d594c
MD5 c8e4364316b8a1b3076e6212c0aa09c1
BLAKE2b-256 30a7f1b0883ef62e04d75ac6c5b44e0e336fdf74924472e6f334c430ae49b59b

See more details on using hashes here.

Provenance

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