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/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 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.0.tar.gz (24.0 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.0-cp314-cp314t-win_amd64.whl (191.7 kB view details)

Uploaded CPython 3.14tWindows x86-64

climax_rfglab-2025.10.0-cp314-cp314t-win32.whl (184.2 kB view details)

Uploaded CPython 3.14tWindows x86

climax_rfglab-2025.10.0-cp314-cp314t-manylinux_2_28_x86_64.whl (317.0 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

climax_rfglab-2025.10.0-cp314-cp314t-macosx_11_0_arm64.whl (281.1 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

climax_rfglab-2025.10.0-cp314-cp314t-macosx_10_13_x86_64.whl (293.1 kB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

climax_rfglab-2025.10.0-cp310-abi3-win_amd64.whl (192.3 kB view details)

Uploaded CPython 3.10+Windows x86-64

climax_rfglab-2025.10.0-cp310-abi3-win32.whl (184.9 kB view details)

Uploaded CPython 3.10+Windows x86

climax_rfglab-2025.10.0-cp310-abi3-manylinux_2_28_x86_64.whl (319.1 kB view details)

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

climax_rfglab-2025.10.0-cp310-abi3-macosx_11_0_arm64.whl (282.0 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

climax_rfglab-2025.10.0-cp310-abi3-macosx_10_12_x86_64.whl (295.8 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: climax_rfglab-2025.10.0.tar.gz
  • Upload date:
  • Size: 24.0 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.0.tar.gz
Algorithm Hash digest
SHA256 01599a37d96485d9f8520e86f13f445dc98d0fa7babe8d18d801e17c75e6dcae
MD5 a0dbaf1916291d5e5f6867bb76cc6ba8
BLAKE2b-256 dab75b371ea326d3d5df7e4799b2cf7dfd80e99113aec8a420b64ada897dc6b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 ee845164eb82a9a5d9d62fd47993da28ce9082c55269d3c8d6a905324dc11d74
MD5 4de47d8cef7b225d7bbaf82e4d5721d7
BLAKE2b-256 e5cdc58e3f638a439da86013c60e888f92cafb74722a0800ab2802bf6f4d7064

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 506f4f664492882ddb2b76684f5d48ea75e2464fbeafe65d3ee694ce2d8a1680
MD5 a233a1af26dd3abe3506519bd0c3a407
BLAKE2b-256 d565112c1552e81d9bf99cff5fadb6a8de024457c90c899d8d311f21378e9d12

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edf057a2678bd2fa79a4709116a0e7ef09f39c1380a5cead123783ebffb97c47
MD5 3e6eda564f5458a5ae27631bb1e08805
BLAKE2b-256 56d229e6609424162045202891a4e240f1b2908be43773eacd898889a881b821

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 379acaff32532b64a28eacd0864b4310d4ba6acb451fcffd4425ac6a2123287d
MD5 681ce21d2f5aba43137d8eb94bde44d7
BLAKE2b-256 0b1c858d7288f72996c81261be3d01ebc48bef58a40de052569d57ab83c53f8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 19524d2743ead5d770d159f76264fa370afd0b97b1f62fd75276bf619f523186
MD5 524d1de56b084973d8c6e39f02c959e0
BLAKE2b-256 2bb72cbce2862a4ad5dc742ba9f62812ca4dbb2d6e30a554d9098b9b9a742886

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3bfca5a34ca3a4a1fd3f784a6e1e3ac2775cb8cbbb07c5d2e39a74e1771eeb4a
MD5 145f3fb7b93915e5f225d46c0fcded90
BLAKE2b-256 a590cc30f3810bff149a98d92d93f6ca300da9dc5ebd57f2c31222d597c2775f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 629fb638e36e9ad9fae956aa3f18365106b6a4aea276f74a7bb94963eaa37b4a
MD5 7cd0f8670470e2faec5866a107bcaf26
BLAKE2b-256 668b71f279e59dd6a7c498f9f5bf972c24aa4ede832b16611193affa1514051c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 60e97be7cf1612d87a45ead65fad2bf53aed5fe9f226d17c3f7a9f63ed2eb3c2
MD5 74733b7ec3e115aa010e6a21dc4988cf
BLAKE2b-256 a1ee89e636894a5390636776d32339e9a3736ff21826e48f2416c947680863da

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6eec3e3b59c6ea3d827cedf9c826a2ec0bf7f65111104c03f7fcc91c7a6c6080
MD5 e2494826ca62d775094cb32564b566d5
BLAKE2b-256 d98119bb89ac8745553e09a909fc7882e249ae3c9700e336f5865fb69c76dc9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.10.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 61d63c889bef494a15daddf357a8cdc43c86366f8dbdff5957335db0f1fc0f30
MD5 42c53573e9da426c692037f98a9589b4
BLAKE2b-256 98717d051769aab7353cbd2e3e94dca9152b4a3c4ed47f95fbbb9d57c5689d25

See more details on using hashes here.

Provenance

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