Coder Social home page Coder Social logo

bli's Introduction

BLI

A set of methods for fitting BLI sensorgram to kinetic models (1:1, bivalent analyte, heterogeneous ligand, two-state). LMFIT is used to determine kinetic parameters. Both MCK and SCK are supported. Preprocessing tools, plotting and statistical analysis are included.

Quick start

from experiment import *
from models import *
exp = Exp()

#import data
exp.load_bli_data(EXPORTED_BLI_CSV_FILES) 

#assign analyte concentrations for each dataset
cs = [0.1, 0.2, 0.4, 0.8, 1.6]
cs = [c*1e-6 for c in cs]
for i, ds in enumerate(exp):
  ds.steps[0].concentration = cs[i] #first step is association with analyte concentration >0

#preprocess and plot data
exp.crop(2, inplace=True)
exp.interstep_correction()
exp.plot()

#assign model and create params
exp.model = one_to_one()
exp.create_params(offsets=False, mtl=False)

#fit data to model
exp.fit_params()

#plot data, show fitted curve
exp.plot(fit=True, correct_offsets=False)

#print fitted parameter values
exp.params

bli's People

Contributors

mtyras avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.