Python Snippets

From PharmWiki
Jump to navigation Jump to search
  • A snippet is a small amount of reusable code. I have assembled Python snippets that you can use.
Python Snippets
Name Snippet Python Modules Used Example Plot Description Beginning Sections to Know Caveats
Basic

Fluorescence

Quenching

Simulations

Fluorescnce_Quenching-220202.py numpy

matplotlib

Snip001.png There are three plots based on the Stern-Volmer equation.
Snip002.png
F0 = Fluorescence in the absence of fluorescence quencher.

F = Fluorescence in the presence of fluorescence quencher.

KSV = Stern-Volmer quenching constant


Simulations

1- F versus [Q]

2- F/F0 versus [Q] = Relative Fluorescence

3- F0/F versus [Q] = Stern-Volmer Plot

1 through 3 Only simple quenching is considered.