A desktop application for aerogel-fibre research: every equation and measurement from three papers on thermoplastic-polyurethane aerogels, applied by hand or automatically, with publication figures exported straight into OriginLab and a formatted Excel workbook.
Built from:
- Omranpour et al. (2024a) — TPU aerogels: structure, fatigue and strain–life
- Omranpour et al. (2024b) — TPU/silica composite aerogels: thermal and cyclic behaviour
- Omranpour et al. (2025) — nanofibrous aerogel fibres: spinning, structure, properties
User guide: AeroLab_Studio_User_Guide.docx in this folder — step by step, with screenshots
(docs/USER_GUIDE.md is the same material as plain text).
| 59 equations | The relations used in the three papers, with unit conversion on every input. Uncertainty is propagated to first order, with an optional correlation matrix, and can be cross-checked by Monte Carlo. Every equation has an independent oracle test (docs/EQUATION_REGRESSION_REPORT.md). |
| 14 measurements | Stress–strain, cyclic loading, S–N, strain–life, density scaling, stress relaxation, creep, TGA, DSC, thermal properties, k versus density, BET, Herschel–Bulkley, amplitude sweep. |
| Workspace | Samples (composition, spinning and drying parameters, densities, geometry, thermal history, replicates), experiments with instrument and calibration records, attached files recorded with SHA-256, and a chain-of-custody log. Portable .aerolabz archives. |
| Studios | Mechanics (window sensitivity, cycle energies, fatigue model comparison with bootstrap, viscoelastic models), Materials (TGA steps, DSC events, porosity summary, LVER, QC flags), Explorer (batch statistics, response surface, sensitivity, π groups, DOE suggestions, report, export verification). |
| Automatic import | CSV, TSV, TXT, DAT, Excel (.xlsx), JSON, NumPy archives. Instrument preambles, unit rows, European decimals and multi-sheet workbooks are handled; columns are matched to the measurement by name and converted to the unit the analysis needs. Columns that had to be guessed are flagged. |
| Origin export | Styled workbooks (Long Name / Units / Comments) and graphs with publication colours and symbols, saved as a .opju project with PNG exports. No Origin on the machine? It writes a LabTalk package that rebuilds the same project elsewhere. |
| Excel export | Summary, one sheet per dataset with its curves, native Excel charts, the validation table, and a provenance sheet recording versions, files and settings. |
| Self-validation | 26 reference cases: 17 recompute numbers printed in the papers, 7 are physics or recomputation checks, and 2 record disagreements with the papers, with the reasoning stated. Each case says which kind it is. These check the equation library, not the curve analysers — those are covered by the test suite on synthetic data. |
Run AeroLabStudio-Setup.exe, or unzip the portable folder and run AeroLabStudio.exe.
pip install -r requirements.txt
python main.pyPython 3.11 or newer. Tested on Python 3.14 with PySide6 6.11.
OriginLab support is optional. With Origin installed and pip install originpro pywin32,
the app drives it directly; without, it writes a script package instead.
- Data → Load demo data. Eleven datasets from the papers appear, deliberately messy: instrument preambles, a units row, European decimals.
- Pick one. The preview shows what was parsed; the measurement is guessed from the headers and the file name, and each column is mapped. Change anything you disagree with.
- Analyse this dataset. The results, the graph and the settings appear under
Measurements. Change a setting and re-run — it is free to try, and
Ctrl+Zundoes it. - Plots overlays several runs on one pair of axes.
- Export writes the Excel workbook, or sends everything to Origin.
- Validation shows the equation library recomputing the papers' own numbers, and says for each case whether the reference is a printed value or a cross-check.
See docs/REVIEW_LOG.md for the independent review of this version and what changed.
Ctrl+K opens a command palette with every action in the app.
aerolab/
core/
units.py ~28 dimensions, exact conversion factors
equations.py 59 equations, each with inputs, units and a reference
curves.py the analysers: fits, peaks, integrals
measurements.py what each experiment needs, and what it plots
validation.py 26 reference cases (printed values, physics checks, discrepancies)
uncertainty.py covariance-aware propagation and Monte Carlo
workspace.py samples, experiments, attachments, lineage, migrations, archives
mechanics.py sensitivity, fatigue model comparison, viscoelastic models
materials.py TGA steps, DSC events, k–density, porosity summary, LVER, QC
explorer.py statistics, response surface, π groups, DOE, export verification
io/
readers.py delimiter sniffing, unit rows, Excel, JSON, NPZ
excel.py the formatted workbook with native charts
origin.py live Origin automation, and the LabTalk fallback
report.py publishable HTML/Markdown report with provenance
viz/
style.py the palette and symbol set, shared with Origin
figures.py matplotlib rendering
ui/
app.py main window, navigation, command palette
state.py the session, with undo/redo
widgets.py cards, tiles, toasts, plot canvas, formula rendering
pages/ one file per page (workspace, notebook, mechanics, materials, explorer…)
resources/samples/ the demo datasets (two are marked SYNTHETIC)
tests/ pytest suite
docs/USER_GUIDE.md the longer guide
pip install pytest
pytest tests -vThe suite checks the equation library against the papers, the analysers against synthetic data with known answers, the importer against deliberately awkward files, the Excel and Origin writers, and a headless smoke test of the interface.
pip install pyinstaller
python build_assets/make_icon.py # draws the icon and version resource
pyinstaller AeroLabStudio.spec --noconfirmdist/AeroLabStudio/ is a self-contained folder. To build the installer, install
Inno Setup and compile installer/AeroLabStudio.iss.
Both are shown on the Validation page rather than hidden:
- Effusivity of NFT-4. Figure 6e plots 38.2 W·s^0.5/(m²·K). Equation 10 applied to the k and α plotted in the same figure gives ≈62.6. Worth asking the authors.
- Draw ratio of the final spinning step. The stated take-up speed is below the mean nozzle exit speed, so there is little draw-down; the sub-100 µm fibre diameter comes mostly from solvent loss and shrinkage.
Ezzeldien Yousef — ezz.yousef@mail.utoronto.ca MPML, Microcellular Plastics Manufacturing Laboratory Department of Mechanical & Industrial Engineering, University of Toronto
The same details are on the application's About page, with a copy-to-clipboard button.