Skip to main content

Distribution of LaueTools Package from gitlab.esrf.fr repository for pip

Project description

Welcome to LaueTools's DOCUMENTATION!

Last revision (March 2020)

LaueTools code and documentation at:

https://lauetools.readthedocs.io/en/latest/index.html

1- Download LaueTools code


2a- Launch Graphical User Interfaces of LaueTools


  • start Lauetools GUIs from command line :

Normally, in a command window (if environment variables are well set) 3 main GUIs can be launched:

- lauetools   for the main GUI

- peaksearch  for batch Laue pattern peak search processing

- indexrefine   for batch Laue pattern indexing and unit cell (strain) refinement

To deal with relative import, from the parent folder of LaueTools, the package name ‘LaueTools’ must be specified to the python interpreter as following

Examples:

- python -m LaueTools.LaueToolsGUI

- python -m LaueTools.GUI.LaueSimulatorGUI

- python -m LaueTools.GUI.PeaksearchGUI

The two last GUIs (LaueSimulatorGUI, PeaksearchGUI) can be accessed by the first main one, LaueToolsGUI

There are additional basic GUIs for batch processing located in FileSeries folder:

- python -m LaueTools.FileSeries.Peak_Search
- python -m LaueTools.FileSeries.Index_Refine
- python -m LaueTools.FileSeries.Build_summary
- python -m LaueTools.FileSeries.Plot_Maps2
  • within interactive python (say, ipython -i), GUI can be started thanks to a start() function:

    • In [1] : import LaueTools.LaueToolsGUI as LTGUI

    • In [2] : LTGUI.start()

.. note:: in the LaueTools folder :

- neither > python LaueToolsGUI

- nor in >ipython -i :  > run LaueToolsGUI  will work…

2b- Use LaueTools module as a library


With pip installation, LaueTools package will be included to python packages. Therefore any module will be callable as the following:

-In [1] : import LaueTools.readmccd as rmccd

-In [2] : rmccd.readCCDimage(‘myimage.tif’)

In jupyter-notebook, it is also simple in the same manner:

.. image:: Images/notebook0.jpg

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

LaueTools-3.0.0.59.tar.gz (12.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

LaueTools-3.0.0.59-py3-none-any.whl (13.6 MB view details)

Uploaded Python 3

File details

Details for the file LaueTools-3.0.0.59.tar.gz.

File metadata

  • Download URL: LaueTools-3.0.0.59.tar.gz
  • Upload date:
  • Size: 12.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for LaueTools-3.0.0.59.tar.gz
Algorithm Hash digest
SHA256 045c36a5fcce1e9b9f1bb46918085c122b3162fad7313b77e71ab536e48933ee
MD5 026a37717d1428acbcdaa3aec341fe9a
BLAKE2b-256 a97415364cfe21853ad01b723143a92cff9defe54438e8a5e1b88e2b331907af

See more details on using hashes here.

File details

Details for the file LaueTools-3.0.0.59-py3-none-any.whl.

File metadata

  • Download URL: LaueTools-3.0.0.59-py3-none-any.whl
  • Upload date:
  • Size: 13.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.5

File hashes

Hashes for LaueTools-3.0.0.59-py3-none-any.whl
Algorithm Hash digest
SHA256 8e23510d097976fa2ef09ddeb34606fda2b147b85d1377cf0999b2e20e6695ea
MD5 3c5bc690f3ca6656974975e4cdbf63b0
BLAKE2b-256 f159f5e4ffb1e7c9a5835f3ead3f5e10a3df024bec0b0c7b9cfcdc5efcf3ea7d

See more details on using hashes here.

Supported by

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