Valquiria Space Analog Physiological Data Analysis Suite
Version 2.0.1
Author: Dr. Diego Malpica MD - Aerospace Medicine Specialist
Organization: Colombian Aerospace Force (FAC) / DIMAE
Project: Valquiria Crew Space Simulation - Physiological Research Platform
π¨ IMPORTANT DISCLAIMER
This is an ongoing research project developed for scientific and educational purposes only.
β οΈ NOT FOR OPERATIONAL DEPLOYMENT β οΈ
- This software is NOT approved for military operations
- This software is NOT approved for clinical diagnosis or treatment
- This software is NOT approved for operational crew health monitoring
- Use only for research, training, and educational purposes
For any operational or clinical applications, please consult with certified medical professionals and use validated, regulatory-approved systems.
Project Overview
The Valquiria Space Analog Physiological Data Analysis Suite is a comprehensive research platform designed to analyze physiological data collected during space analog simulations. The suite combines two powerful components:
- Hexoskin WAV File Analyzer - Complete physiological data processing and analysis
- Enhanced HRV Analysis System - Advanced heart rate variability analysis with machine learning
This platform was developed to support the Valquiria Space Analog Simulation research program, studying physiological adaptations and crew health monitoring in simulated space environments.
π Key Features
Hexoskin WAV File Analyzer
- Multi-format Data Loading: Load and decode Hexoskin WAV files containing ECG, respiration, and other physiological signals
- Advanced Signal Processing: Automatic artifact detection, filtering, and signal quality assessment
- Comprehensive Statistics: 15+ statistical tests including normality, parametric/non-parametric comparisons
- Multi-dataset Analysis: Compare up to 15 datasets simultaneously with post-hoc analysis
- Interactive Visualization: Real-time plotting with multiple time units and view controls
- Export Capabilities: Save processed data, statistical results, and high-quality plots
- Dual Interface: Both GUI and command-line interfaces available
Enhanced HRV Analysis System
- Complete HRV Analysis: Time domain, frequency domain, and nonlinear metrics
- Autonomic Nervous System Assessment: Advanced parasympathetic, sympathetic, and ANS balance analysis
- Machine Learning Integration: Clustering for autonomic phenotyping and forecasting for adaptation prediction
- Advanced Statistics: GAM trend analysis, mixed-effects modeling, bootstrap confidence intervals
- Interactive Dashboards: Real-time visualization with Plotly-based interactive plots
- Enterprise Performance: Intelligent caching, async processing, and database optimization
- Research Analytics: Comprehensive statistical reporting and data quality assessment
- π Mission Phases Boxplots: Compare physiological adaptation across Early, Mid, and Late mission phases
ποΈ Project Structure
Valquiria-Data-Analysis/
βββ π docs/ # Documentation (all markdown files)
βββ π working_folder/ # Main analysis workspace
β βββ π enhanced_hrv_analysis/ # Advanced HRV Analysis System
β β βββ π core/ # Core processing modules
β β βββ π gui/ # Graphical user interface
β β βββ π ml_analysis/ # Machine learning components
β β βββ π stats/ # Advanced statistics
β β βββ π visualization/ # Interactive plotting
β β βββ π tests/ # Test suite
β βββ π Jupyter notebooks/ # Analysis notebooks
β βββ π hrv_results/ # Analysis outputs
β βββ π scripts/ # Utility scripts
βββ π DBs/ # Database files (Sol data)
βββ π csv_joiner/ # Data merging utilities
βββ hexoskin_wav_loader.py # Main Hexoskin analyzer
βββ hexoskin_wav_example.py # Usage examples
βββ analyze_data.py # Data analysis scripts
βββ requirements.txt # Python dependencies
βββ setup.py # Installation script
π Quick Start
System Requirements
- Python: 3.8+ (tested up to 3.11)
- Operating System: Cross-platform (Linux, macOS, Windows)
- Memory: 8GB RAM minimum, 16GB recommended for large datasets
- Storage: 2GB free space for installation and cache
Installation
- Clone the Repository
git clone <repository-url>
cd Valquiria-Data-Analysis
- Set Up Virtual Environment
```bash
Create virtual environment
python -m venv venv
Activate virtual environment
Linux/macOS:
source venv/bin/activate
Windows:
venv\Scripts\activate
3. **Install Dependencies**
```bash
pip install -r requirements.txt
- Verify Installation
Quick Usage
Hexoskin WAV Analyzer
# GUI Mode (Recommended)
python hexoskin_wav_loader.py
# Command Line Mode
python hexoskin_wav_example.py path/to/your/file.wav
Enhanced HRV Analysis
# Launch Advanced HRV Analysis GUI
cd working_folder/enhanced_hrv_analysis
python launch_hrv_analysis.py
π Analysis Capabilities
Physiological Data Processing
- Signal Quality Assessment: Automatic artifact detection and signal validation
- Multi-parameter Analysis: Heart rate, SPO2, temperature, blood pressure, respiratory rate
- Temporal Analysis: Time-series analysis with circadian rhythm detection
- Data Integration: Merge multiple sessions and subjects for longitudinal studies
Heart Rate Variability (HRV) Analysis
- Time Domain: RMSSD, SDNN, pNN50, triangular index, and 15+ metrics
- Frequency Domain: VLF, LF, HF power analysis with Welch and AR methods
- Nonlinear Analysis: PoincarΓ© plots, DFA, entropy measures
- Autonomic Balance: Advanced sympathetic/parasympathetic assessment
Advanced Analytics
- Machine Learning: Unsupervised clustering for autonomic phenotyping
- Predictive Modeling: Time-series forecasting for adaptation prediction
- Statistical Modeling: GAM, mixed-effects, bootstrap confidence intervals
- Multi-subject Analysis: Population-level analysis with individual profiles
Visualization & Reporting
- Interactive Plots: PoincarΓ© plots, PSD analysis, time-series visualization
- Statistical Dashboards: Real-time analytics with performance monitoring
- Export Options: HTML reports, CSV data, high-resolution plots
- Research Reports: Automated generation of analysis summaries
- π Mission Phases Analysis: Individual and group boxplots comparing crew adaptation across mission timeline
π¬ Scientific Features
Research-Grade Analysis
- Artifact Detection: Multiple algorithms (Malik, Karlsson, Kamath, IQR)
- Quality Metrics: Comprehensive signal quality assessment
- Statistical Validation: 15+ normality tests and comparison methods
- Confidence Intervals: Bootstrap and parametric confidence estimation
Space Medicine Applications
- Adaptation Tracking: Longitudinal analysis of physiological adaptation
- Stress Assessment: Autonomic nervous system stress indicators
- Crew Monitoring: Individual and group health status analysis
- Mission Planning: Predictive modeling for mission duration effects
π Mission Phases Boxplots Analysis
NEW FEATURE: Temporal Mission Analysis
The Enhanced HRV Analysis System now includes mission phases boxplot analysis for comprehensive crew adaptation assessment:
Features:
- Three Mission Phases: Automatically divides mission timeline into Early, Mid, and Late periods based on SOL sessions
- Individual Crew Analysis: Compare each crew memberβs physiological adaptation patterns across mission phases
- Group Population Analysis: Analyze crew-wide temporal trends and phase differences
- Statistical Testing: Kruskal-Wallis H-test for comparing phases with p-value annotations
- Effect Size Calculation: Eta-squared (Ξ·Β²) for practical significance assessment
Analysis Types:
- Individual Boxplots: Side-by-side comparison of each crew member across all three mission phases
- Group Boxplots: Population-level analysis comparing all crew members by phase
- Comprehensive Reports: Combined analysis with statistical summaries and interpretations
Integration:
- Seamless Workflow: Integrated into existing Enhanced HRV Analysis GUI
- Real HRV Data: Uses computed SDNN, RMSSD, LF/HF ratios, and other HRV metrics
- Publication Ready: Professional visualizations with statistical annotations
- Export Capabilities: High-resolution plots and detailed text reports
Usage:
# Launch Enhanced HRV Analysis
cd src/hrv_analysis/enhanced_hrv_analysis
python launch_hrv_analysis.py
# 1. Run HRV Analysis for all subjects
# 2. Go to "Visualizations" tab
# 3. Look for green "Mission Phases" buttons:
# β’ Mission Phases - Individual
# β’ Mission Phases - Group
# β’ Mission Phases - Report
Output Location: All plots and reports saved to plots_output/ folder
π» Technical Specifications
- Intelligent Caching: LRU caching with compression (2-10x speed improvement)
- Async Processing: Non-blocking analysis with timeout protection
- Memory Management: Adaptive memory limits and garbage collection
- Database Optimization: Connection pooling and query optimization
Data Handling
- Large Datasets: Chunked processing for millions of records
- Multiple Formats: CSV, SQLite, WAV files with auto-detection
- Data Validation: Multi-stage quality assessment and cleaning
- Export Options: JSON, CSV, HTML with customizable formats
π Documentation
All project documentation is organized in the docs/ folder:
docs/User_Manual.md - Complete user guide
docs/API_Documentation.md - Developer reference
docs/Scientific_Methods.md - Analysis methodologies
docs/Installation_Guide.md - Detailed setup instructions
π§ͺ Testing & Validation
The project includes comprehensive test suites:
# Run all tests
cd working_folder/enhanced_hrv_analysis/tests
python run_all_tests.py
# Run specific component tests
python test_core_functionality.py
python test_advanced_statistics.py
python test_ml_analysis.py
π€ Contributors & Acknowledgments
Special Thanks
Making This Mission Possible:
- Valquiria Crew - The brave participants who made this research possible through their dedication during the space analog simulation missions
- Women AeroSTEAM - Educational partnership and support for advancing women in aerospace science, technology, engineering, arts, and mathematics
- Centro de Telemedicina de Colombia - Technical collaboration, medical expertise, and telemedicine infrastructure support
Research Collaboration:
- Valquiria Space Analog Simulation Team - Mission planning, data collection, and scientific methodology
- Colombian Aerospace Force (FAC) - Mission support and aerospace medicine expertise
- DIMAE (Aerospace Medicine Division) - Clinical oversight and physiological monitoring protocols
Technical Contributors
- Advanced HRV Analysis Architecture
- Statistical Methods Implementation
- Machine Learning Integration
- Performance Optimization
This research would not have been possible without the courage and commitment of the Valquiria Crew members who participated in the space analog simulation missions, pushing the boundaries of human space exploration research.
π How to Cite This Project
If you use this software in your research or publications, please cite it using the following APA format:
APA Citation
Software Citation:
Malpica, D. (2024). Valquiria Space Analog Physiological Data Analysis Suite (Version 2.0.1) [Computer software]. Colombian Aerospace Force (FAC), Aerospace Medicine Division (DIMAE). https://github.com/strikerdlm/hexoskin-wav-analyzer
Research Program Citation:
Malpica, D. (2024). Valquiria Crew Space Simulation: Physiological Research Platform for space analog studies. Colombian Aerospace Force (FAC), Aerospace Medicine Division (DIMAE).
Sample In-Text Citation
The physiological data analysis was conducted using the Valquiria Space Analog Physiological Data Analysis Suite (Malpica, 2024), which provides comprehensive heart rate variability analysis and autonomic nervous system assessment capabilities for space analog research.
BibTeX Entry
For LaTeX users:
@software{malpica2024valquiria,
author = {Malpica, Diego},
title = {Valquiria Space Analog Physiological Data Analysis Suite},
version = {2.0.1},
year = {2024},
organization = {Colombian Aerospace Force (FAC), Aerospace Medicine Division (DIMAE)},
url = {https://github.com/strikerdlm/hexoskin-wav-analyzer},
note = {Physiological Research Platform for space analog studies}
}
Acknowledgment in Publications
When publishing research that uses this software, please also acknowledge:
- The Valquiria Crew participants for their contribution to space analog research
- The Colombian Aerospace Force (FAC) and DIMAE for supporting this research
- Any specific analysis methods or features used from the software suite
π License & Usage
This project is provided as open-source software for research and educational purposes only.
Permitted Uses:
β
Academic research and publications
β
Educational training and demonstrations
β
Method development and validation
β
Non-commercial scientific collaboration
Prohibited Uses:
β Military operational deployment
β Clinical diagnosis or treatment
β Commercial health monitoring services
β Safety-critical applications
Primary Contact:
Dr. Diego Malpica MD
Aerospace Medicine Specialist
Colombian Aerospace Force (FAC)
Email: dlmalpicah@unal.edu.co
Project Information:
For questions about the Valquiria Space Analog Simulation or this software platform, please contact the development team through the official channels.
π Version History
Version 2.0.0 (Current)
- Enhanced HRV Analysis System with ML capabilities
- Advanced statistical methods and GAM analysis
- Interactive visualization dashboard
- Performance optimization with caching
- Comprehensive test suite
- π Mission Phases Boxplots: Temporal analysis comparing crew adaptation across Early, Mid, Late mission phases
Version 1.0.0
- Hexoskin WAV File Analyzer
- Basic statistical analysis
- GUI and command-line interfaces
- Multi-dataset comparison
β If this software contributes to your research, please cite appropriately and acknowledge the Valquiria Space Analog Simulation project.
π¬ Developed for advancing our understanding of human physiological adaptation in extreme environments.
π§ Start Here: No Experience Required (Windows/macOS/Linux)
If you have never used Git, Python, or pip before, follow these simple steps. You will download a ZIP file, install Python, and run the program with a few copyβpaste commands.
1) Download the program (no Git needed)
- Go to the project page: GitHub project page
- Click the green βCodeβ button, then click βDownload ZIPβ
- When the download finishes, open your Downloads folder and unzip the file
- The unzipped folder will be named something like
hexoskin-wav-analyzer-main (or similar)
2) Install Python (one time)
- Windows:
- Visit python.org downloads and download the latest Python 3 for Windows (64βbit)
- Run the installer and check βAdd Python to PATHβ on the first screen, then click Install
- After installation, restart Command Prompt if it was open
- macOS:
- Visit python.org downloads and download the macOS installer (Universal2)
- Open the
.pkg file and follow the prompts
- Linux (Ubuntu/Debian):
- Open Terminal and run:
sudo apt update && sudo apt install -y python3 python3-venv python3-pip python3-tk
- Linux (Fedora/RHEL/CentOS):
sudo dnf install -y python3 python3-pip python3-tkinter
3) Open a terminal and go to the project folder
- Windows:
- Press the Windows key, type βCommand Promptβ, and open it
- Type
cd then a space, paste the folder path (or drag the folder into the window), then press Enter
- Example:
cd %HOMEPATH%\Downloads\hexoskin-wav-analyzer-main
- macOS:
- Open the Terminal app (Applications β Utilities β Terminal)
cd ~/Downloads/hexoskin-wav-analyzer-main
- Linux:
cd ~/Downloads/hexoskin-wav-analyzer-main
Tip: Your folder name may differ. Use your actual unzipped folder name.
4) Create a safe Python environment (virtual environment)
5) Install the required packages
- Windows:
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- macOS/Linux:
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
If you see an error about tkinter or tk, install it (Linux):
sudo apt install -y python3-tk # Ubuntu/Debian
sudo dnf install -y python3-tkinter # Fedora/RHEL
6) Run the program (easy mode)
Use the simple launcher main.py so you donβt need to change folders.
- Check your setup:
- Start the Hexoskin WAV Analyzer (GUI):
- Start the Enhanced HRV Analysis system (GUI):
Notes:
- If
python doesnβt work on Windows, try py instead.
- On macOS/Linux, if
python3 is not found, install Python from python.org downloads.
7) Next steps
- Inside the app, use the GUI to open your files (e.g., Hexoskin
.wav).
- When youβre done, you can close the app and type
deactivate in the terminal to exit the environment.
Later: How to run it again (next time)
- Open your terminal/Command Prompt and go to the same project folder
- Activate the environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activate
- Start the app:
- Hexoskin:
python main.py hexoskin (Windows) or python3 main.py hexoskin (macOS/Linux)
- HRV:
python main.py hrv (Windows) or python3 main.py hrv (macOS/Linux)
Troubleshooting (quick help)
- βpython is not recognizedβ on Windows: Try
py instead of python.
- βpip not foundβ: Use
python -m pip ... (Windows) or python3 -m pip ... (macOS/Linux).
- βtkinter/tk errorβ on Linux: Install
python3-tk as shown above, then retry.
- Permission errors on Windows PowerShell: Use Command Prompt, or run PowerShell as Administrator.
Thatβs itβyouβre up and running without needing Git or prior Python experience.