Batched SBII Calculation

Please upload a Database (.db). The User's Guide below will provide a method for locally generating a database file.



Upload a DB file:   



           



User's Guide

  • Due to the large size and time-consuming nature of EDF files, we recommend users to 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 this page to complete the SBII automation batch calculation.

  • Click on requirements.txt and mainCreateDB.py to download the program.
    Please follow the instructions below.


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

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/