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.4.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.4-cp314-cp314t-win_amd64.whl (192.0 kB view details)

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14tWindows x86

climax_rfglab-2025.10.4-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.4-cp314-cp314t-macosx_11_0_arm64.whl (281.3 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

climax_rfglab-2025.10.4-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.4-cp310-abi3-win_amd64.whl (192.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

climax_rfglab-2025.10.4-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.4.tar.gz.

File metadata

  • Download URL: climax_rfglab-2025.10.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d4d4a70c352519ece85ada9ffb72be0416f4e6fe8258a2ca9dd55156552c2354
MD5 2d8ccb7be417723b8b4405784e43f980
BLAKE2b-256 48dbe4057876e10454d0cc06c6fc16129f1408f4cfd91d5d5e8ff642f20fabc5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 97a3f8ebe52a8a3d504fba21687053fdd0737973bc79734cda1f1bacbef6fed8
MD5 8e7cbe2f054ee43fdb8c64b60ff3c7ce
BLAKE2b-256 a66dc62060f3db46c7011e7bff9b2ef72af232374c5f90ff458c115c19c773a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 677e44eb491850accfa29c5930de675ba1ef5b294515e27593c7b360e011d33b
MD5 f8624060b9e11e1dcbffdb834e4c4c75
BLAKE2b-256 3420ace16e7d13cfd4c35cead04d3f105f9cd27d90d4f30845e12b6a7ef5adbc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 acf119b225ec0bbe635e25d6c1e6bfb617dd2dc5ce94e26ab99506d63df58d4e
MD5 883454e80157a690ba7a5b800313303c
BLAKE2b-256 11d276793873b3252c9b213a65c6affb1905d8da47e5016af37cf8bf2bc36413

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 39700a9910defb829cc58384b0628d4583b46358d05fbd01158e5a66b7e6c27f
MD5 b00a8286dd5b7b19481c2511b147d525
BLAKE2b-256 61b4e4a56ad017c2c671c88233f7115baa1afbd207fd0663e14d2eca613991fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 5892e60af96c338c2159f52edd7c366f55118fb5f88ee6a2b8404d2655461c2c
MD5 bed7ab85f83375145454693906dbae28
BLAKE2b-256 ed389583a95bcb6622e1e03bf3e995a6d5766a8c259f0775fde3ed9272ea88fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c71b63534a952c5f02dbc8218417b35eab28cdc03e60ead66408c3c3995b6cab
MD5 df09327634d0ec8ca0e5a42c59bce572
BLAKE2b-256 b1d4cf5fa64fbaae7b0bbcda079009df5036f6f749e97aeb9e6fdcec07cbdcfd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 8d3174f2af38d79c42625292fae161695de4cda35fecd36f444250ca3520f09a
MD5 47fed20bdb6dc9e61c306b4e01e98b57
BLAKE2b-256 24102bdca85021a0959b2440c3165d2f2d8b90921af5b528b378a3f4ce929934

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa28da29576398f5f7d303de15d24afb547769a3d637165a2136098eb3a01205
MD5 56ad250f71427485a9ccbe0d2c92f676
BLAKE2b-256 11b8c74c89f1eeb653e3fb3b4b2a10c834af4d024dbb20ffc6f4390c70c1c46e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8d6a7a539727ce3850cba2b012ada51f964b8893f561bf618e7570f554ed9b7f
MD5 98ff19f3c9952d48f235c1ee0d54a6eb
BLAKE2b-256 ea0d00458417865157465b529af41d57149af142beeb54ba5cdc2af23d13ce47

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.4-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cb631f0cebd0fe5ab995d3753d5e71b61af8d65ebbdb7d3612b79a21dc26e298
MD5 b1f1c0e01898f0beb768a43f2af13c1a
BLAKE2b-256 6b2f840a34dd727f373b26917f77bc4291f10e7f8ad7c3264411510cfef5ea70

See more details on using hashes here.

Provenance

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