/ ROOT / STRAIN
Strain
A command-line tool for engineering students: it reads a testing machine's Excel export, works out stress and strain or takes them from the file, fits the modulus over the linear start and plots the curves.
| SHEET4 of 7 | REVC | DATE2025-12-14 |
| OTHER VIEWS | ||
Drag sideways to follow the pipeline.

FIG. 1 Strain's own comparison plot for the compression tests, unedited: the control and 5 to 25 % sisal fibre.
THE BATCH
Strain was written for the sisal-fibre composite experiment, S4 on sheet 1: a laterite, clay and cement mix with a control and five fibre fractions, tested in bending and in compression by Group 6 in October 2025.
MODES
Tensile, flexural or compression; raw load and elongation with a gauge length and an area, or precomputed stress and strain.
USAGE
python stress_strain_curve.py -p control.xlsx --no-calculation --save
python stress_strain_curve.py --multiple-curves --data-directory ./samples --no-calculation --save
SOURCE
REVISIONS
| A | 2025-11-21 | First plots: quenched iron, four quenchants |
| B | 2025-12-13 | Sisal composite batch: flexure and compression |
| C | 2025-12-14 | Published on GitHub with a sample run |
| TITLEStrain, stress–strain analysis | ||
| ◂ sheet 3 | 4 / 7 | sheet 5 ▸ |