Computer vision software for the interpretation of diffraction images
Project description
darfix is a Python library for the analysis of dark-field microscopy data. It provides a series of computer vision techniques, together with a graphical user interface and an Orange3 (https://github.com/biolab/orange3) add-on to define the workflow.
Installation
If you are on Linux:
It is recommended to create a virtual environment to avoid conflicts between dependencies (https://docs.python.org/3/library/venv.html).
python3 -m venv /path/to/new/virtual/environment
source /path/to/new/virtual/environment/bin/activate
Note: To deactivate the environment call: deactivate
Then, you can install darfix with all its dependencies:
pip install darfix[full]
To install darfix with a minimal set of dependencies run instead:
pip install darfix
Start the GUI and make sure darfix appears as an add-on:
orange-canvas
If you are on Windows:
The easiest way is to install Miniconda: https://docs.conda.io/en/latest/miniconda.html
After installed, open Anaconda Prompt and install the following packages:
conda config --add channels conda-forge
conda install orange3 silx scikit-image opencv
And install darfix and ewoks:
pip install ewoks[orange] darfix
Start the GUI and make sure darfix appears as an add-on:
orange-canvas
To install from sources:
git clone https://gitlab.esrf.fr/XRD/darfix.git
cd darfix
pip install .
Or with all its dependencies:
pip install .[full]
To test the orange workflow (only from sources) just run
orange-canvas orangecontrib/darfix/tutorials/darfix_example2.ows
To test a workflow execution without the canvas (only from sources) just run
darfix -wf orangecontrib/darfix/tutorials/darfix_example2.ows -fd orangecontrib/darfix/tutorials/ -td /tmp/darfix
Documentation
The documentation of the latest release is available at http://www.edna-site.org/pub/doc/darfix/latest
User guide
A user guide can be downloaded at http://www.edna-site.org/pub/doc/darfix/latest/user_guide.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file darfix-0.9.0b0.tar.gz
.
File metadata
- Download URL: darfix-0.9.0b0.tar.gz
- Upload date:
- Size: 8.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/60.8.1 requests-toolbelt/0.9.1 tqdm/4.63.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d3159516eb458d7f8490558232dc5e473e5a91380243e66df2010206dd396c58
|
|
MD5 |
84d71463671ae7cf2ce77aa7400864c4
|
|
BLAKE2b-256 |
66243cb1616fbbb21b2160f566d52ea8974fb54d63e5906ae78d47360019b807
|
File details
Details for the file darfix-0.9.0b0-py3-none-any.whl
.
File metadata
- Download URL: darfix-0.9.0b0-py3-none-any.whl
- Upload date:
- Size: 9.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/60.8.1 requests-toolbelt/0.9.1 tqdm/4.63.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
685522fed980e7039977d2ffb0d2c0a8f7e761596b961bfca042de9dc78afe71
|
|
MD5 |
a5d1b097d4e44abecc41680fa6972124
|
|
BLAKE2b-256 |
3b14d85d0e482573bc2b763d7b404fb9495e7a45b34f98a247a110085eaa3e74
|