Menu

Tree [d89fcc] master /
 History

HTTPS access


File Date Author Commit
 .github 2023-06-12 V. Armando Solé V. Armando Solé [a7f57c] Test Ubuntu 20.04 PyQt5 version
 PyMca5 2023-11-29 V. Armando Solé V. Armando Solé [32cbdc] Remove warning
 ci 2020-04-08 V. Armando Solé V. Armando Solé [8b9d8e] [CI] Update download link
 doc 2023-01-30 V. Armando Solé V. Armando Solé [506fff] Remove target.
 icons 2013-11-28 vasole vasole [ac7f68] Add a 256x256 png file to allow creation of ico...
 package 2023-11-29 V. Armando Solé V. Armando Solé [d89fcc] Revert last change.
 scripts 2014-07-21 Darren Dale Darren Dale [bd1b87] strip trailing whitespace
 .gitattributes 2022-01-25 V. Armando Solé V. Armando Solé [bbb9bf] Use PyMca icon
 .gitignore 2018-07-10 V. Armando Sole V. Armando Sole [3f66ed] Get rid of .DS_Store notifications
 .travis.yml 2023-06-28 V. Armando Solé V. Armando Solé [1e9c1b] Make sure there is no attempt to compile h5py
 LICENSE 2023-10-20 V. Armando Sole V. Armando Sole [d408f8] Update
 LICENSE.GPL 2023-01-05 V. Armando Solé V. Armando Solé [0b3cb8] Update date.
 LICENSE.LGPL 2014-04-13 V. Armando Sole V. Armando Sole [e39b33] Add LGPL license.
 LICENSE.MIT 2023-01-05 V. Armando Solé V. Armando Solé [0b3cb8] Update date.
 MANIFEST.in 2023-03-22 V. Armando Solé V. Armando Solé [abd01a] Update MANIFEST.in
 README.rst 2023-10-20 V. Armando Solé V. Armando Solé [b37cf3] Update README.rst
 appveyor.yml 2023-11-14 V. Armando Sole V. Armando Sole [d9eed9] Missing dependency
 bootstrap.py 2019-01-18 woutdenolf woutdenolf [250080] [dev] add bootstrap
 build-cxfreeze.py 2023-03-21 V. Armando Solé V. Armando Solé [b660c8] Add top level build script.
 build-deb.sh 2022-04-11 V. Armando Solé V. Armando Solé [f1af73] Simple script to build for ubuntu.
 build-pyinstaller.py 2023-11-28 V. Armando Solé V. Armando Solé [a92aa1] Revert patching (included in silx 2.0.0)
 changelog.txt 2023-11-15 V. Armando Solé V. Armando Solé [38e73f] Update changelog.txt
 copyright 2022-01-25 V. Armando Solé V. Armando Solé [c054ba] Remove unused modules.
 pyproject.toml 2022-12-05 woutdenolf woutdenolf [956fe4] fix pyproject.toml
 qtconffile 2014-07-21 Darren Dale Darren Dale [bd1b87] strip trailing whitespace
 requirements.txt 2022-04-08 V. Armando Solé V. Armando Solé [e427fe] Prepare version 5.7.2
 setup.py 2023-03-03 V. Armando Solé V. Armando Solé [a59e95] Remove comment.
 version.py 2017-11-16 V. Armando Solé V. Armando Solé [111bcb] Get rid of debugging information.

Read Me

PyMca

This is the MIT version of the PyMca XRF Toolkit. Please read the LICENSE file for details.

Installation

Ready-to-use packages are available for the most common platforms.

PyMca frozen binaries for MacOS and Windows can be obtained from Sourceforge

Official packages are available for common Linux distributions.

Please continue reading if you want to use PyMca with your existing Python installation.

The simplest solution is to use pip:

pip install PyMca5

You can add the usual --user qualifier to install only for your local user rather than system-wide:

pip install PyMca5 --user

If you want to build from the source distribution or from a git repository checkout, you may want to have Cython installed on your system.

Examples of source installation

  1. In your default system-wide python installation, run one or the other of the two (not both) commands below (may require root/administrator access):

    # Run one of the following (not both); pip is preferred
    python setup.py install    # use python setuptools
    pip install .              # use the pip package manager
    
  2. Or, to install just in your local user account:

    # Run one of the following (not both); pip is preferred
    python setup.py install --user   # use python setuptool
    pip install . --user               # use the pip package manager
    

You will need the following dependencies installed:

If you want to use the graphical interface provided, you will need a running python installation with one of the following combinations:

  • PyQt5 + matplotlib (PyMca license will be GPL unless you have a commercial PyQt5 license)
  • PyQt6 + matplotlib (PyMca license will be GPL unless you have a commercial PyQt6 license)
  • PySide6 + matplotlib (PyMca license will be MIT because PySide6 is LGPL)

If you want to embed PyMca in your own graphical applications, I recommend you to use the McaAdvancedFit.py module. It is very easy to embed.

Testing

To run the tests after installation run:

python -m PyMca5.tests.TestAll

Development Plans

  • Use the fisx library for all Physics calculations and not just for corrections.
  • Compound fitting.

If you have any questions or comments (or contributions!), please feel free to contact me or submit a pull request.

Enjoy,

V. Armando Sole