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.0b0.tar.gz (8.4 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: darfix-0.8.0b0.tar.gz
  • Upload date:
  • Size: 8.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.3

File hashes

Hashes for darfix-0.8.0b0.tar.gz
Algorithm Hash digest
SHA256 7dcbe63de0de6c04bb929b7350f3920a0d236ffd6f8588c08d605966669967c0
MD5 d61bd0c999f5b13ac8a3f46f0d0a3361
BLAKE2b-256 689a908c63d9e63013b8ea34d82b63fbd007b96bee42c82e89b3a4c893548218

See more details on using hashes here.

File details

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

File metadata

  • Download URL: darfix-0.8.0b0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.7.3

File hashes

Hashes for darfix-0.8.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 16ee7ca3cf15a4d6b423e8288900fdcd4dc6ed1ffa1734ca2387aeb89bce4b6b
MD5 5664e3d50750076e846d6df09f9a3354
BLAKE2b-256 e6376c420493a7bbe161899a6e00383d9ce4d956d0820af041c2dce140db8c0c

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