Skip to main content

"tomography workflow tools"

Project description

Orange3 ESRF Add-on

Tomwer is offering tools to automate acquisition and reconstruction processes for Tomography. It contains:

  • a library to access each acquisition process individually
  • gui and applications to control main processes (reconstruction, data transfert...) and execute them as a stand alone application.
  • an orange add-on to help users defining their own workflow (http://orange.biolab.si)

.. image:: http://www.edna-site.org/pub/doc/tomwer/extra/tomwer_start_short.gif

.. |Gitlab Status| image:: https://gitlab.esrf.fr/tomotools/tomwer/badges/master/pipeline.svg :target: https://gitlab.esrf.fr/tomotools/tomwer/pipelines

Documentation

Documentation of latest release is available at http://www.edna-site.org/pub/doc/tomwer/latest

Installation

Step 0 - Create a virtual env '''''''''''''''''''''''''''''

It is recommended to create a python virtual environment to run the workflow tool. Virtual environment might avoid some conflict between python packages. But you can also install it on your 'current' python environment and move to step 1.

.. code-block:: bash

virtualenv --python=python3 --system-site-packages myvirtualenv

Then activate the virtual environment

.. code-block:: bash

source myvirtualenv/bin/activate

First update pip and setuptools to avoid some potential errors

.. code-block:: bash

pip install --upgrade pip pip install setuptools --upgrade

.. note:: To quit the virtual environment

.. code-block:: bash

  deactivate

Step 1 - Orange3 installation '''''''''''''''''''''''''''''

You will need a fork of the original Orange project in order to run the tomwer project. This is needed because small modification have been made in order to get the behavio we wanted (has looping workflows).

The fork is accessible here : https://github.com/payno/orange3.git

So install this fork :

.. code-block:: bash

pip install git+https://github.com/payno/orange3.git

.. note:: Orange will try to access '/var/log/orange' to store logs of the last ten execusion. So if you want to keep those log make sure the directory exists.

Step 2 - tomwer '''''''''''''''

From wheel

To install it with the 'minimal' features:

.. code-block:: bash

pip install tomwer

To install it with all the potential 'feature':

.. code-block:: bash

pip install tomwer[full]

From source

clone the tomwer project

.. code-block:: bash

git clone git@gitlab.esrf.fr:payno/tomwer.git

then install it

.. code-block:: bash

cd tomwer pip install .

or for the 'full' version

.. code-block:: bash

pip install .[full]

Step 3 - web log ''''''''''''''''

the workflow tool can send some log into graylog in order to get view of the status of the workflow execution. If this is active (by default) then you will be able to see important log from a web interface.

To get more information see https://www.graylog.org/

Launching applications ::::::::::::::::::::::

After the installation tomwer is embedding several applications.

Those applications can be launched by calling:

.. code-block:: bash

tomwer appName {options}

.. note:: if you only call tomwer then the man page will be displayed.

.. note:: You can access each application help using ``

.. code-block:: bash

   tomwer appName --help

tomwer canvas - orange canvas '''''''''''''''''''''''''''''

You can launch the canvas to create workflows from the different 'bricks'

.. code-block:: bash

tomwer canvas

.. note:: you can also use orange-canvas

.. note:: if your installed a virtual environment do not forget to active it :

.. code-block:: bash

   source myvirtualenv/bin/activate

Documentation :::::::::::::

.. code-block:: bash

cd doc make html

The documentation is build in doc/build/html and the entry point is index.html

.. code-block:: bash

firefox build/html/index.html

.. note:: the build of the documentation need sphinx to be installed. This is not an hard dependacy. So you might need to install it.

You also should generate documentation to be accessible from Orange GUI (pressing the F1 key).

.. code-block:: bash

cd doc make htmlhelp

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

tomwer-0.9.2.tar.gz (4.0 MB view details)

Uploaded Source

Built Distribution

tomwer-0.9.2-py3-none-any.whl (4.5 MB view details)

Uploaded Python 3

File details

Details for the file tomwer-0.9.2.tar.gz.

File metadata

  • Download URL: tomwer-0.9.2.tar.gz
  • Upload date:
  • Size: 4.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/60.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for tomwer-0.9.2.tar.gz
Algorithm Hash digest
SHA256 61a7a97462bf56c3d86d0126daa49474b2abaa7dd39e710ba3a86cfa757ab866
MD5 f0be5e596d9e3a1b9722c9718594164c
BLAKE2b-256 166e66c79ece7f2a3b3fe88ddb800b2a918084ee3ef190ff0bc2cd7de01ebb5d

See more details on using hashes here.

File details

Details for the file tomwer-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: tomwer-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/60.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for tomwer-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8043f1c4028dd9d2b83bb266d98269cb482df769b1c8034e0a34001c48666152
MD5 8c2e66b11ab2103a1dcbc12de3a18474
BLAKE2b-256 0093bfc02e426c4dbe8546f54acc44613db8363b97ff182b5a819a51b52e5a06

See more details on using hashes here.

Supported by

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