/lbc

Repository for Logistic Baseline Correction tool.

Primary LanguageHTML

Logistic Baseline Correction

This is the accompanying repository for the tool hosted at https://lbc.olickel.com.

A new method for baseline-correction is implemented here, that can account of signal-varying baselines. Please read the How To Guide for details on using the tool, or the instructions below to run locally.

Dependencies

Please install Postgres and Python3. Create a new postgres database if you would like to enable to library. The tool will still work without a database, but you will be unable to save your LBC configuration.

Development setup

Once the database is up and running, place the connection string along with config variables into variables.sh at the project root with the following content (replace the connection string with your own):

export FLASK_APP=app.py
export FLASK_DEBUG=1
export DATABASE_URL="postgresql://<username>:<password>@<host>:<port>/<db_name>"

Installation

python3 -m venv venv
pip install -r requirements.txt

Run

make run

Meta

Jacob Schneidewind - Papers Hrishi Olickel – Writeups, Papers

LBC Core Code

The core LBC code can be found in LBC.py, or at github.com/jschneidewind/LBC.