Skip to main content

limax are python utilities for working with LiMAx.

Project description

limax logo

limax: python utilities for LiMAx

GitHub Actions CI/CD Status Current PyPI Version Supported Python Versions GNU Lesser General Public License 3 Zenodo DOI Black mypy

limax is a collection of python utilities for working with LiMAx data with source code available from

The project is developed in collaboration by the Humboldt-University Berlin (Matthias König) and the Jena University Hospital (Hans-Michael Tautenhahn).

Features include:

  • Anonymisation of LiMAx raw data files

  • Visualization of LiMAx DOB curves

  • Calculation of AUC, LiMAx values and other pharmacokinetics parameters from LiMAx DOB curves.

If you have any questions or issues please open an issue.

How to cite

Zenodo DOI


limax is available from pypi and can be installed via:

pip install limax

Best practise is to setup a virtual environment example via conda and install the package. First install anaconda via To run the limax tool open a terminal app (e.g. Application -> Utilities -> terminal on MacOS) and create the conda environment

conda create -n limax python=3.10
conda activate limax
(limax) pip install limax --upgrade


Command line tool

After installation LiMAx analysis can be performed using the limax command line tool

$ limax

Version 0.2.4 (
Example processing single LiMAx raw file:
    limax -i patient1.csv -o .
Example processing folder with LiMAx raw files:
    limax -i limax_examples -o limax_examples_processed
Required argument '--input' missing.
Usage: [options]

  -h, --help            show this help message and exit
                        Path to folder with LiMAx raw files or single LiMAx
                        raw file as '*.csv'.
  -o OUTPUT_DIR, --output_dir=OUTPUT_DIR
                        Path to output folder with processed LiMAx files as

Common problems

On MacOs the terminal app requires permissions to access files, i.e.

PermissionError: [Errno 1] Operation not permitted

This can be solved by changing the permissions of the terminal app via

  • Go to System Preference->Security and Privacy.

  • On the left side click on Full Disk Access

  • Now click on bottom left lock icon and enter password to make changes, see Label 3

  • Now click on + sign button

  • Browse the terminal app from Application -> Utilities


The limax source is released under both the GPL and LGPL licenses version 2 or later. You may choose which license you choose to use the software under.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License or the GNU Lesser General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.


This project is supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054) and by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151 “QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach)” by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).

Develop version

The latest develop version can be installed via:

pip install git+

Or via cloning the repository and installing via:

git clone
cd limax
pip install -e .

To install for development use:

pip install -e .[development]

© 2022-2023 Matthias König, Eva Kindler & Hans-Michael Tautenhahn

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

limax-0.3.1.tar.gz (1.1 MB view hashes)

Uploaded source

Built Distribution

limax-0.3.1-py2.py3-none-any.whl (1.1 MB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page