ilyasst / pydictoolkit

Toolkit to further analyze 2D and 3D Digital Image Correlation results. The current work focuses on strain evolution at the surface of growing biological materials.
MIT License
9 stars 4 forks source link

pydictoolkit

Toolkit to further analyze 2D and 3D Digital Image Correlation results. The current work focuses on strain evolution at the surface of growing biological materials.

Main features

Quickstart

If you know what you're doing, then this section is for you. Otherwise, you should go to the Getting Started section.

Linux:

sudo apt install python3-pip python3-venv
git clone https://github.com/ilyasst/pydictoolkit.git
cd pydictoolkit
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
python main.py -h

Basic usage:

python main.py -d "./deck.yaml"

Getting started

Installation

The following pieces of software are required to run pydictoolkit:

The list of necessary python packages is provided in the requirements.txt file and can be installed using pip:

pip install -r requirements.txt

We recommend that you create a virtual environment before installing these packages using the python3-venv software:

python3 -m venv .env

You can then load your virtual environment using:

source .env/bin/activate

In order to exit it, use the deactivate command.

Usage

In order to use the code, you will need to provide:

You can then run pydictoolkit using:

python main.py -d "PATH_TO_DECK"

where PATH_TO_DECK is the path to your deck.yaml file.

A short help/reminder can be accessed using:

python main.py -h

Input description

deck.yaml

Main structure of the deck.yaml file:

Data:
  Folder: ./pydictoolkit/dummy_data/

Plots:
  Target Plot: e1
  Groups:
    Region:
      i: 200
      j: 200
  Target Column: e1_delta

The remainder of this section provides detailed explanations for each section.

Data

Data:
  Folder: ./pydictoolkit/dummy_data/

The Data section contains a single value: the path of the folder that contains your VIC3D CSV grid data and stereo-images. It can be an absolute path, or a path relative to the main.py file.

Your VIC3D grid data

Let's make add a few screenshots to show which CSV files we mean exactly.

Examples

An example:

Contribute ?

Maybe you need something for your own project, maybe you found a mistake or something you could improve and feeling like helping, in any case, we'll be happy to get in touch. Please leave us an Issue, or a Pull Request (we welcome those!).

Disclaimer

This software is for educational and research purposes only. Use it at your own risks.