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

Uploaded CPython 3.14tWindows x86-64

climax_rfglab-2025.9.6-cp314-cp314t-win32.whl (184.3 kB view details)

Uploaded CPython 3.14tWindows x86

climax_rfglab-2025.9.6-cp314-cp314t-manylinux_2_28_x86_64.whl (316.9 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

climax_rfglab-2025.9.6-cp314-cp314t-macosx_11_0_arm64.whl (279.6 kB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

climax_rfglab-2025.9.6-cp314-cp314t-macosx_10_13_x86_64.whl (292.9 kB view details)

Uploaded CPython 3.14tmacOS 10.13+ x86-64

climax_rfglab-2025.9.6-cp310-abi3-win_amd64.whl (192.7 kB view details)

Uploaded CPython 3.10+Windows x86-64

climax_rfglab-2025.9.6-cp310-abi3-win32.whl (184.8 kB view details)

Uploaded CPython 3.10+Windows x86

climax_rfglab-2025.9.6-cp310-abi3-manylinux_2_28_x86_64.whl (319.0 kB view details)

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

climax_rfglab-2025.9.6-cp310-abi3-macosx_11_0_arm64.whl (282.7 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

climax_rfglab-2025.9.6-cp310-abi3-macosx_10_12_x86_64.whl (295.7 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: climax_rfglab-2025.9.6.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.6.tar.gz
Algorithm Hash digest
SHA256 de34daed27b34ba2f3f8f19ce21afd77b28ddfde47fd5dc7aa631f5f50e0d863
MD5 9f21bc6bba20ae3d32a8345fc37fed60
BLAKE2b-256 269bc36ae5cb427adee3d0d60596498b77506e9c0e4e2c0e8a82f5ce15cc45be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 8722c7e9f62293844ad158d56f71b5f0a005db0d73d257afcb24f4d319bb0012
MD5 5ba6e9962e9d4f002bec4e5fd0644432
BLAKE2b-256 bbf3968dcc5b0fe5d33cb0e914295807b778fdb35a05c9ed55539b44e65b4532

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp314-cp314t-win32.whl
Algorithm Hash digest
SHA256 d816ee78609e2749e094392093642cc5a51ffb2b82c60cfdc7c9c389774c914a
MD5 b8b90c9659d70107fc6b807224d8c54d
BLAKE2b-256 fdd0297163671e87c7e7356f895f25b8062aba60c712b3f0be577d71d9ea9510

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f297f744db172611db11ac30ff8bdca57d712d5d3d707fb9606669e5a8fbac7
MD5 123796d4c4d03835083b2524bfae78ed
BLAKE2b-256 957d28868482914f4161ef966edb7b0471680176df5999ecac6a41439d595ecb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f232856d9934550eb89aa3c42c1b7de4bd2db0e5797b2cba661fd81fcc80010c
MD5 181e25b24ede16e103642fcdd651e7d8
BLAKE2b-256 96b8a5792e934888d4f1dab300f73a08e906fa290b947bdfdc3376cafe06a828

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp314-cp314t-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 7579df535ca9e0a4d56a0748a86cb769423cc9c84b9053d5410da8026aef78dd
MD5 f3509c35a5dca586664f4ca6bcf9b4b2
BLAKE2b-256 c9a8f513cfc7a64123b2b95d189f4801616641253e1ea5d69506fd48270664a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 eb16f23d61dfc603ebdede81edf6af6592dbfe07dd23613a0a93b024a7431fbb
MD5 3fae2d0eb4f01362ab7390486a0dba8f
BLAKE2b-256 b2a9128f1399550d1461a995d303e7d5c44542cec4389627f77a495e90ffd9fa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 4febe7564399656a1c39429eac90c21fae8edc49eb86718febaa4bd1800f1fd9
MD5 be61c0d10d6631195f3e2d978c52db2c
BLAKE2b-256 0ee95cfe5a35a18e994154afd335dddac6fc0ab6c2e4ce7e91c83699566b8ba8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e9e95cd803c6245eba4c42b88dc931f84b26301ff3f263962ab60e635da7b7a
MD5 655266dad5b0208e49125c3b8c1dfebe
BLAKE2b-256 b8cee69d41f8afbb4adcb63085487687a5e5e9b060f37f46acfb9905aca8f30e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d3942e62b8350dde7032e620b6ee1e0f7d1062ea03ebac9b08bade8a628af9d5
MD5 6f49ded3101bece249b0a4939d86db97
BLAKE2b-256 d022975f349ee932119e35e1c610718983dfaaeae694a10b0f9be78893a16d5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for climax_rfglab-2025.9.6-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 db6115caabb48d0945c4fbf25546ac3225ccd465d3697c36c22feb14b2ce29a1
MD5 960f0d1f7c33f60a20ec0e2370f4fd4a
BLAKE2b-256 b8803fcb1d4586e8e8468e17ce3dec6c496c450089cebe643391900a0b078811

See more details on using hashes here.

Provenance

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