Skip to main content

GUI tool to simulate Reaction Microscope detector images.

Project description

Remi Detector Calculation for Monitoring Electrons

GUI tool to simulate Reaction Microscope detector images.

Example Outputs

Electron Wiggles Ion fragmentation

Usage

With uv (recommended)

[!WARNING] You currently have to use your system python with included tkinter library (e.g. apt install python3-tk). uv apparently can not bring a working tk library. (Until https://github.com/astral-sh/python-build-standalone/pull/676 is merged) If you can not get tk to run, you can try to follow the "For developers" section. You would notice something like ImportError: module '_tkinter' has no attribute '__file__'.

Try out with temporary python environment:

uvx redcamel

Permanently install in isolated python environment:

uv tool install redcamel

Run:

redcamel

Upgrade

uv tool upgrade redcamel

uv can be found here: https://docs.astral.sh/uv/getting-started/installation/

With pipx (recommended)

Install in isolated python environment:

pipx install redcamel

Run:

redcamel

Update:

pipx upgrade redcamel

pipx can be found here: https://pipx.pypa.io/latest/installation/

With pip

Installing in your current python environment:

Install:

pip install redcamel

Run:

redcamel

Update:

pip install --upgrade redcamel

With conda/mamba/pixi

Not yet implemented, sorry..

Authors

  • Initial implementation by Patrizia Schoch
  • Maintained by Hannes Lindenblatt

For developers

First get the repository

git clone https://codeberg.org/FlashREMI/RedCamel.git

or if you have an codeberg.org account with an ssh key set up:

git clone ssh://git@codeberg.org/FlashREMI/RedCamel.git

Then work inside the RedCamel folder. uv or pixi will find their configuration files there.

Usage with uv

uv run redcamel

uv can be found here: https://docs.astral.sh/uv/getting-started/installation/

Usage with pixi

[!TIP] pixi / the conda-forge python distribution actually includes tk libraries so you do not need installed system tk :)

pixi run redcamel

pixi can be found here: https://pixi.sh/latest/#installation

Usage with mamba / conda

Setup

  • install environment with dependencies:
mamba env create

Usage

  • activate environment:
mamba activate redcamel
  • run GUI with:
python src/redcamel/remi_gui.py
  • Play around with plots and sliders!

Updating

  • pull changes:
git pull
  • update environment:
mamba activate redcamel
mamba env update

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

redcamel-0.1.3.tar.gz (246.7 kB view details)

Uploaded Source

Built Distribution

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

redcamel-0.1.3-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file redcamel-0.1.3.tar.gz.

File metadata

  • Download URL: redcamel-0.1.3.tar.gz
  • Upload date:
  • Size: 246.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.0

File hashes

Hashes for redcamel-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0cd74b4e53cc4076f52401f28b6f0fa60c26da4c1bc1177424e11025c9218f76
MD5 7f3a06e12fdf3bda174fe699c24bcfd7
BLAKE2b-256 8600d902690a8a68579e6775fe9b763149a70731f832ccb8aa1762fd235fac81

See more details on using hashes here.

File details

Details for the file redcamel-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: redcamel-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.0

File hashes

Hashes for redcamel-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b59d442e4c22ae89870dc6d908d9b7e32210105fa1034538e0b9466c4db8b82a
MD5 48a99c04bb89bbea2cabac2844895a33
BLAKE2b-256 57798fb863e9c94aec91fa9b2c48eabfadd75236fa9d65ade455d841dc2b3220

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