This directory contains the Python modules for this project.
The main module providing access to this database with factory pattern and data classes. See more details in the example code.
Key Classes:
PCSDatabase- Factory class for creating and managing PCS devicesPCSDevice- Data model representing individual devices with thermal properties
Usage Examples:
# Get device at different power levels
device_low = PCSDatabase.get_device(id=1, level="Low")
device_mid = PCSDatabase.get_device(id=1, level="Mid")
device_high = PCSDatabase.get_device(id=1, level="High")configuration.py- File paths, database settings, project configurationcolumns.py- Database column definitions and naming conventionsmanikin_body_part_names.py- Standardized body part naming system
Subdirectories:
analysis/- For analysis and calculationpreprocessing/- Preprocess code for the raw datacompilation/- Data compilation workflowsvalidation/- Data quality checks and validation
For visualization. Please see the file names.
utilities.py- Main utility code that includes common utility functions and helpers- For other utility code, please see the other file names.
preprocess_workflow.py- Complete end-to-end data processing pipeline
Debug scripts for data validation and troubleshooting: