Skip to content

Instantly share code, notes, and snippets.

View ryanjdillon's full-sized avatar
👨‍🚀

Ryan J. Dillon ryanjdillon

👨‍🚀
View GitHub Profile
@ryanjdillon
ryanjdillon / algae_light_response.py
Created March 13, 2017 14:51
Algae light response - Calculate the level of oxygen at a give light level
import seaborn
def light_response(light, EC50, hillslop=2.5):
'''Typical response function for EC50 tests'''
import numpy
# http://www.sigmaplot.co.uk/splot/products/sigmaplot/productuses/prod-uses43.php
# Response to concentration
dose_min = light.min()
dose_max = light.max()