Skip to main content

Grain segmentation from Laue patterns

Project description

graintools

PyPI version Python versions License: MIT Tests

What is it?

graintools is a set of Python tools is aimed at segmenting X-ray diffraction data coming from polycrystalline materials. The data is acquired using the LAUEMAX setup at BM32 of the European Synchrotron Radiation Facility (ESRF).


Installation

Install the test version

python3 -m pip install --index-url https://test.pypi.org/simple/ graintools

Or add it to your PYTHONPAH

git clone https://github.com/serbng/graintools.git

Inside your script or notebook

>>> sys.path.append("path/to/repo/graintools")

Optional extras

Install dependencies necessary to run the notebooks and the simulation:

pip install "graintools[full]"

Get started

Create a virtual environment and activate it. For example

python -m venv ~/graintools
source ~/graintools/bin/activate

Inside the virtual environment

pip install "graintools[full]"

Download and run the notebook:

git clone https://github.com/serbng/graintools.git
jupyter lab graintools/examples/simulation

Contacts

myemail, TBD which one


Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graintools-0.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

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

graintools-0.1-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

Details for the file graintools-0.1.tar.gz.

File metadata

  • Download URL: graintools-0.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for graintools-0.1.tar.gz
Algorithm Hash digest
SHA256 bee5d42c98fc850aed5e51b25b32d2bf4c79c2ac978ae2ac0641e4d1ba88336f
MD5 8875997e7b39d6638bc4c770a95bbc8e
BLAKE2b-256 86387e3f641b2c1e0590e449133f22104bf456891c64d75a6d213bd77b2309f4

See more details on using hashes here.

File details

Details for the file graintools-0.1-py3-none-any.whl.

File metadata

  • Download URL: graintools-0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for graintools-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ae19856d8a1be27367fd48222eaca49549570b8fd572167091f63e91f753abca
MD5 43740e3ca164728a1c0715262eedb7f6
BLAKE2b-256 e38ffc85a415e01d22b35fd7fec56c6a314434fa9f3a8b9460988f74b12cd497

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