Skip to content

This application resamples Nintendo Wii Balance Board (WBB) data using a specified resampling method (SWARII).

License

Notifications You must be signed in to change notification settings

derwesx/WBB-Resampler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WBB Resampler

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.

Processing Example

Prerequisites

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 SWARII class is installed and accessible)

Installation & Update

  1. Open the terminal, Command Prompt, or PowerShell (Windows).

  2. Clone the repository:

    git clone https://github.com/derwesx/WBB-Resampler.git
    cd WBB-Resampler
  3. To update the repository:

    cd WBB-Resampler
    git pull

For Linux/Mac

  1. 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

For Windows

3.1. Download & Install Python

Python 3.11

Don't forget to add python to PATH

Adding to Path

3.2. Run the installation script:

.\install\install_windows.bat

This will install the required dependencies for running the application.

Usage

Once installed, run the application using the following command:

cd app
python3 main.py

or

cd app
python main.py

References

Audiffren, 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.

About

This application resamples Nintendo Wii Balance Board (WBB) data using a specified resampling method (SWARII).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published