Metadata-Version: 2.1
Name: EM-data-analysis
Version: 1.1.1
Summary: A Python package for EM data analysis
Home-page: https://github.com/Nomeutente1/EM_data_analysis
Author: Mattia Lizzano, Giorgio Divitini
Author-email: mattializzano@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: opencv-python
Requires-Dist: numpy
Requires-Dist: porespy
Requires-Dist: matplotlib
Requires-Dist: openpnm
Requires-Dist: scipy
Requires-Dist: pandas
Requires-Dist: moviepy
Requires-Dist: IPython
Requires-Dist: scikit-image
Requires-Dist: dataframe-image

# Description
This project provides a useful tool for analyzing electron microscopy data. 
More specifically, the `morph_analysis.py` module offers various functions that iteratively analyze several morphological properties of networks (such as porosity, tortuosity, fractal dimension, etc.) obtained from in-situ measurement movies. This module is highly valuable as it facilitates the investigation of how specific properties evolve over time, thereby reducing the time required for data analysis.

# Features
- Normalization for a better image contrast (optional)
- Scalebar calibration 
- ROI selection 
- Plotting a specific property value as a function of time
- Generating a .csv file for a subsequent analysis with other programs (such as curve fitting)
- Provides images and corresponding tables for the segmentation measurements

# Installation
`EM_data_analysis` requires Python 3.6 or above. 

### Installation using `pip` (recommended):
```bash
pip install EM_data_analysis
```
  
# Usage
Create an empty directory (will be used to store all the frames created from the movie). Then, simply input the path of the movie and the directory created to store the frames.

```python
from EM_data_analysis import morph_analysis as ma

ma.Network_analysis("path-of-the-movie", "path-of-the-directory") 
```


The movie format must be explicit and could be in AVI or MP4 format.

# Contributions
`EM_data_analysis` is created by Mattia Lizzano, Giorgio Divitini and the Electron Microscopy and Nanoscopy group of Italian Institute of Technology (IIT)





