Add lean percentage to regional data

- Add LeanPercent column to regional.csv matching BodySpec reports
- Calculate lean percentage from lean tissue (excluding BMC) for accuracy
- Update JSON output to include lean_percent for each region
- Document new column in README
- Values now match BodySpec regional reports (e.g., Arms: 73.7%, Legs: 72.7%, Trunk: 64.4%)
This commit is contained in:
Mac DeCourcy 2025-10-06 17:44:16 -07:00
parent b046af5d25
commit 37267fbf34
2 changed files with 46 additions and 15 deletions

View file

@ -128,7 +128,14 @@ Time-series data with one row per scan. Includes all primary metrics and derived
### 2. `regional.csv`
Regional body composition breakdown (Arms, Legs, Trunk, Android, Gynoid, Total).
**Columns:** Region, FatPercent, TotalMass_lb, FatTissue_lb, LeanTissue_lb, BMC_lb
**Columns:**
- `Region` - Body region name
- `FatPercent` - Fat percentage in this region
- `LeanPercent` - Lean tissue percentage in this region
- `TotalMass_lb` - Total mass of the region
- `FatTissue_lb` - Fat mass in the region
- `LeanTissue_lb` - Lean mass in the region
- `BMC_lb` - Bone mineral content in the region
### 3. `muscle_balance.csv`
Left/right limb comparison for tracking muscle symmetry.