SBII Download

Due to the large size and time-consuming nature of EDF files, we recommend that users run our provided Python script locally to generate the database. Once the script has finished running, you can upload the generated database (out.db) through the ' batchSBII.html' page to complete the SBII automation batch calculation.


To download, click on the following links:


Instructions

  • Step1. Setting Up Dependencies for the Program

  • This program is based on Python 3.9.6, and all required packages are listed in 'requirements.txt'.

    1. Open a terminal or command prompt and navigate to the directory where the 'requirements.txt' is located.

      • Run the following command to batch install dependencies:
      •    pip install -r requirements.txt   
      • This will install each dependency and its specified version as listed in the 'requirements.txt'.


  • Step2. Creating a Database from Paired EDF and XML Files

  • After setting up the environment, follow these steps to generate the database:

    1. To create a database from paired EDF and XML files (please ensure that each pair of filenames, excluding the extension, are identical), place them in the same folder, e.g., 'test/'.

    2. Put the 'mainCreateDB.py' script in the parent directory of 'test/', such as 'SBII/'.

    3. Navigate to the 'SBII/' folder in the command line:    cd yourPath/SBII/    

    4. Run the command:    python3 mainCreateDB.py test/