This application resamples data files in Nintendo Wii Balance Board (WBB) format using a specified resampling method (SWARII). It is designed with a simple GUI to select input and output folders and process files.
Before you install the application, make sure you have the following:
- Python 3.6 or higher
- PyQt5 library for the GUI
- NumPy for data handling
- resampling package for data resampling (or make sure the custom
SWARIIclass is installed and accessible)
-
Open the terminal, Command Prompt, or PowerShell (Windows).
-
Clone the repository:
git clone https://github.com/derwesx/WBB-Resampler.git cd WBB-Resampler -
To update the repository:
cd WBB-Resampler git pull
- Run the installation script:
# Detect the OS and install accordingly
OS="$(uname -s)"
case "$OS" in
Linux*)
echo "Detected Linux. Running installation..."
chmod +x ./install/install_linux.sh
./install/install_linux.sh
;;
Darwin*)
echo "Detected macOS. Running installation..."
chmod +x ./install/install_mac.sh
./install/install_mac.sh
;;
*)
echo "Unsupported OS: $OS"
exit 1
;;
esac
3.1. Download & Install Python
3.2. Run the installation script:
.\install\install_windows.batThis will install the required dependencies for running the application.
Once installed, run the application using the following command:
cd app
python3 main.pyor
cd app
python main.pyAudiffren, J., & Contal, E. (2016). Preprocessing the Nintendo Wii Board Signal to Derive More Accurate Descriptors of Statokinesigrams. Sensors (Basel), 16(8), 1208. https://doi.org/10.3390/s16081208. PMID: 27490545; PMCID: PMC5017374.

