HMZaheer commited on
Commit
6325912
·
verified ·
1 Parent(s): 7da8127

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -13
README.md CHANGED
@@ -4,25 +4,40 @@ sdk_version: 1.49.1
4
  ---
5
  # TGA Graph Interpreter
6
 
7
- This Streamlit app analyzes Thermogravimetric Analysis (TGA) plots.
8
 
9
  ## Features
10
- - Upload TGA plots (PNG, JPG, PDF).
11
- - Detects and separates multiple thermograms from a single figure.
12
- - Reads legends (if present).
13
- - Extracts and reports:
 
 
14
  - Onset temperature
15
  - Peak degradation temperature
16
  - % weight loss
 
17
 
18
- ## Deployment
19
- This app runs on Hugging Face Spaces with the Streamlit SDK.
 
 
 
20
 
21
- ### Files
22
- - `app.py`: Main Streamlit application.
23
- - `requirements.txt`: Required Python packages.
 
 
 
24
 
25
- ### Usage
26
- 1. Upload your TGA plot.
27
- 2. The app extracts each curve and provides a description separately.
 
 
 
 
 
 
28
 
 
4
  ---
5
  # TGA Graph Interpreter
6
 
7
+ A Streamlit app to analyze Thermogravimetric Analysis (TGA) data.
8
 
9
  ## Features
10
+ - Upload TGA data in **CSV** or **Excel** format:
11
+ - First column = Temperature (°C)
12
+ - Remaining columns = Weight (%) for each thermogram
13
+ - Column headers are used as labels (legends)
14
+ - Supports multiple thermograms in a single file
15
+ - Provides analysis for each thermogram:
16
  - Onset temperature
17
  - Peak degradation temperature
18
  - % weight loss
19
+ - Optional image upload (PNG/JPG) for visualization only
20
 
21
+ ## File Structure
22
+ - `app.py`: Streamlit app
23
+ - `requirements.txt`: Python dependencies
24
+ - `Dockerfile`: Hugging Face Docker build setup
25
+ - `README.md`: Project documentation
26
 
27
+ ## Usage
28
+ 1. Open the app in Hugging Face Spaces.
29
+ 2. Upload your TGA dataset:
30
+ - CSV or Excel file with columns as described above.
31
+ 3. View results for each thermogram separately.
32
+ 4. Optionally, upload a TGA graph image for display.
33
 
34
+ ## Example CSV format
35
+ ```csv
36
+ Temperature, Sample1, Sample2
37
+ 25, 100, 100
38
+ 100, 98, 97
39
+ 200, 85, 82
40
+ 300, 60, 55
41
+ 400, 55, 50
42
+ 500, 50, 45
43