The first & second segment of code describes the first aspect of the PP1 Assay experiment. We must see the amount of PP1 that is degraded by microcystin and hence see the amount of p-nitrophenolate is produced by this inhibited PP1 amt.

The third segment of code describes the absorbance of p-nitrophenolate (measure of its yellow color)

The fourth segment of code describes how the experimental p-nitrophenolate amount (one introduced to Microcystin) deviates from a standard amount, one with no Microcystin. Through this, we can determine the amount of Microcystin in our experiment.

The model explained:

So we created an equation with Abhi to characterize the rate of reduction of luminance when Microcystin is introduced

"The rate of reduction in brightness in the yellow channel of the spectrophotometer (luminance) is proportional to the amount of Microcystin"

B(t) = std_luminance - (k * N_microcystin*t)

The point of the PP1 assay experiment is to find the number of Microcystin present in solution. We can do this given the standard luminance, the rate at which Microcystin inhibits luminance (k), and the luminance at a specific time t. We get all these constants from online but we get the luminance at a specific time (t)

So we can solve for the amount of Microcystin. Once we get that, we can showcase the luminance over time since we have the equation, just plug in constants and boom