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.

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

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)

In addition to that, there is a command bar with additional functionality that can be invoked with the mouse or with several quick-keys:

key function
. next slice
, previous slice
z zoom, cycles between 2X, 4X, 0.25X, 0.50X and 1X, 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

climax_rfglab-2025.7.4-cp313-cp313-macosx_11_0_arm64.whl (249.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

climax_rfglab-2025.7.4-cp312-cp312-macosx_11_0_arm64.whl (249.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

climax_rfglab-2025.7.4-cp311-cp311-macosx_11_0_arm64.whl (252.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

climax_rfglab-2025.7.4-cp310-cp310-macosx_11_0_arm64.whl (253.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file climax_rfglab-2025.7.4-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.7.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c1f66c1e16e754cf6ba2df554079cc978dc7adaa02952bf184936fbc42c9a5a
MD5 ede67ce87bcbe0e5268769aa026dcc66
BLAKE2b-256 d2a0c6f6831dc6d8ff906c4f3afdfce754ffb6a87bd72972406be5e712486e5f

See more details on using hashes here.

File details

Details for the file climax_rfglab-2025.7.4-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.7.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 777e44be4e70db73df12c5a4498272c0da108e66e99f2b74980766a15bc192d2
MD5 cded8aa9b39e935d2561b244d82ff709
BLAKE2b-256 5e7dc1c5ecfb7847d371bbfec7bd17eb4039281fdbac5bd3b9717663ddf52bda

See more details on using hashes here.

File details

Details for the file climax_rfglab-2025.7.4-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.7.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 49161c398809dcc0994ef442baf54b2fa54217c5316918cd250efde6cbba1ecb
MD5 2a7d801dea99b2d9b687a881fda10e8c
BLAKE2b-256 1bb9e51afd3562dff6336f3f79ee7bbed9c2c219b4f9ba7c4567c3c41b3584dd

See more details on using hashes here.

File details

Details for the file climax_rfglab-2025.7.4-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for climax_rfglab-2025.7.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e070cb60b17c7bebdcb165f0467447b2ca53bd8e2539106affc1045b03e93cc6
MD5 8df3e52b3d8a282081c50ee39290c0ac
BLAKE2b-256 b7e2017daab8bda2ff14a04eea9bc7622c80ba27f144a821f194809b5684747c

See more details on using hashes here.

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