Skip to main content

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

darfix-0.8.0b2.tar.gz (8.4 MB view details)

Uploaded Source

Built Distribution

darfix-0.8.0b2-py3-none-any.whl (8.7 MB view details)

Uploaded Python 3

File details

Details for the file darfix-0.8.0b2.tar.gz.

File metadata

  • Download URL: darfix-0.8.0b2.tar.gz
  • Upload date:
  • Size: 8.4 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

Hashes for darfix-0.8.0b2.tar.gz
Algorithm Hash digest
SHA256 9e1f90eb972c7c6d22cbc48881df29b562d19196c2b3dd400adab9628eef4008
MD5 e5343d23cbd029f14ca89a4926c1fc3b
BLAKE2b-256 c4c1ab20f1eac745e96db92ced0a3049b5b1fed0bec10a311a7cc7ac62f9f296

See more details on using hashes here.

File details

Details for the file darfix-0.8.0b2-py3-none-any.whl.

File metadata

  • Download URL: darfix-0.8.0b2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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

Hashes for darfix-0.8.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 c097ec0d7310383974c6f4aab855589d3fdb4546b3dd733a12abe5a8513e7a83
MD5 1176db3716cf4cdbc49125c838d0186d
BLAKE2b-256 ef8a39ab6e0b0161e82031733a934b5667d321a8b03ee278f02e65e59411d246

See more details on using hashes here.

Supported by

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