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.
U
and V
displacement fieldx
instead of X
in the case of VIC2D since there is no X (mm)
by default)Report.csv
If you know what you're doing, then this section is for you. Otherwise, you should go to the Getting Started
section.
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"
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.
In order to use the code, you will need to provide:
deck.yaml
file (the content of this file is further detailed in the Input description
section).csv
) and stereo-images (.tiff
) in the folder specified in the deck.yaml
fileYou 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
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:
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.
Let's make add a few screenshots to show which CSV files we mean exactly.
An example:
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!).
This software is for educational and research purposes only. Use it at your own risks.