Team:DTU-Denmark/Achievements/testpage
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
Tbjohannesen (Talk | contribs) |
||
Line 11: | Line 11: | ||
<div id="PoPScalculator"> | <div id="PoPScalculator"> | ||
- | <form | + | <form onchange = " |
if (fluorcheck.checked) { concentration.value = (parseFloat(fluorescence.value)-parseFloat(intercept.value)) / parseFloat(slope.value) }; | if (fluorcheck.checked) { concentration.value = (parseFloat(fluorescence.value)-parseFloat(intercept.value)) / parseFloat(slope.value) }; | ||
if (CFUcheck.checked) { OD600.value = (parseFloat(CFU.value)*10000000000000) }; | if (CFUcheck.checked) { OD600.value = (parseFloat(CFU.value)*10000000000000) }; | ||
Line 17: | Line 17: | ||
if (growthcheck.checked) { growth.value = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | if (growthcheck.checked) { growth.value = Math.log(2)/(parseFloat(grodouble.value)*parseFloat(grodoubleunit.value)) }; | ||
activity.value = (parseFloat(concentration.value)/parseFloat(OD600.value))*(602200/(parseFloat(foldfraction.value)/100))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); | activity.value = (parseFloat(concentration.value)/parseFloat(OD600.value))*(602200/(parseFloat(foldfraction.value)/100))*((parseFloat(degen.value)/parseFloat(degenunit.value))+(parseFloat(growth.value)/parseFloat(growthunit.value)))/parseFloat(copynumber.value); | ||
+ | |||
+ | activity.value = Math.round(parseFloat(activity.value)*1000)/1000; | ||
"> | "> | ||
Line 161: | Line 163: | ||
</table> | </table> | ||
+ | </form> | ||
</div> | </div> | ||
Revision as of 11:12, 17 October 2014