InstallationΒΆ

You can install pythonEBSD using Conda or pip.

1. Clone the repository:

$ git clone https://github.com/micromechanics/pythonEBSD.git ./pythonEBSD
$ cd pythonEBSD

2. Create and activate the Conda environment:

The environment.yml file defines the necessary dependencies and the environment name (e.g., pythonEBSD_env).

$ conda env create -f environment.yml

After creation, activate the environment:

$ conda activate pythonEBSD_env

3. Install the `pythonEBSD` package:

With the Conda environment activated, install the package using pip:

$ python -m pip install .

After that, the package can be imported and used in Python codes as

`python >>> import pythonEBSD >>> emap = pythonEBSD.EBSD("Examples/EBSD.ang") >>> emap.plot(e.CI) `