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
This is an ongoing research project developed for scientific and educational purposes only.
- 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.
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.
- 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
- 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
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
- 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
- Clone the Repository
git clone <repository-url>
cd Valquiria-Data-Analysis- Set Up Virtual Environment
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Linux/macOS:
source venv/bin/activate
# Windows:
venv\Scripts\activate- Install Dependencies
pip install -r requirements.txt- Verify Installation
python test_libraries.py# GUI Mode (Recommended)
python hexoskin_wav_loader.py
# Command Line Mode
python hexoskin_wav_example.py path/to/your/file.wav# Launch Advanced HRV Analysis GUI
cd working_folder/enhanced_hrv_analysis
python launch_hrv_analysis.py- 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
- 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
- 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
- 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
- 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
- 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
NEW FEATURE: Temporal Mission Analysis
The Enhanced HRV Analysis System now includes mission phases boxplot analysis for comprehensive crew adaptation assessment:
- 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
- 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
- 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
# 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 - ReportOutput Location: All plots and reports saved to plots_output/ folder
- 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
- 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
All project documentation is organized in the docs/ folder:
docs/User_Manual.md- Complete user guidedocs/API_Documentation.md- Developer referencedocs/Scientific_Methods.md- Analysis methodologiesdocs/Installation_Guide.md- Detailed setup instructions
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.pyMaking 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
- 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.
If you use this software in your research or publications, please cite it using the following APA format:
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).
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.
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}
}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
This project is provided as open-source software for research and educational purposes only.
✅ Academic research and publications
✅ Educational training and demonstrations
✅ Method development and validation
✅ Non-commercial scientific collaboration
❌ 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.
- 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
- 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.
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.
- 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)
- The unzipped folder will be named something like
- 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
.pkgfile 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- Windows:
- Press the Windows key, type "Command Prompt", and open it
- Type
cdthen 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-mainTip: Your folder name may differ. Use your actual unzipped folder name.
- Windows (Command Prompt):
py -3 -m venv venv
venv\Scripts\activateIf py doesn’t work, try:
python -m venv venv
venv\Scripts\activate- macOS/Linux:
python3 -m venv venv
source venv/bin/activateYou’ll know it worked if your prompt starts with (venv).
- 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.txtIf 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/RHELUse the simple launcher main.py so you don’t need to change folders.
- Check your setup:
- Windows:
python main.py info- macOS/Linux:
python3 main.py info- Start the Hexoskin WAV Analyzer (GUI):
- Windows:
python main.py hexoskin- macOS/Linux:
python3 main.py hexoskin- Start the Enhanced HRV Analysis system (GUI):
- Windows:
python main.py hrv- macOS/Linux:
python3 main.py hrvNotes:
- If
pythondoesn’t work on Windows, trypyinstead. - On macOS/Linux, if
python3is not found, install Python from python.org downloads.
- 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
deactivatein the terminal to exit the environment.
- 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
- Windows:
- Start the app:
- Hexoskin:
python main.py hexoskin(Windows) orpython3 main.py hexoskin(macOS/Linux) - HRV:
python main.py hrv(Windows) orpython3 main.py hrv(macOS/Linux)
- Hexoskin:
- “python is not recognized” on Windows: Try
pyinstead ofpython. - “pip not found”: Use
python -m pip ...(Windows) orpython3 -m pip ...(macOS/Linux). - “tkinter/tk error” on Linux: Install
python3-tkas 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.