An electrode, testing wet and dry(sponge) and saline solutions for concentration. The amp needs a buffer for preserving signals, the modern microphone has some excellent components for this as it did for the o-scope.
Wednesday, January 28, 2015
Tuesday, January 27, 2015
Turing Head and Random Process Evolution
1 2 3 4 5 6 7 8 | s='0101011010210212102201' while(True==True): if ((s[a])= '1'): a=a+1 if ((s[a])= '0'): a=a-1 if ((s[a])= '2'): print(s[a-1] |
And the selection pressure being O(f(n)+k).
1 2 3 4 5 6 7 8 9 10 11 12 13 | Sub Main() Dim s As String ="01212012021002112021201" Dim r As New Random Dim sb As New StringBuilder For i As Integer = 1 To (Int.Text) Dim idx As Integer = r.Next(0, 62) sb.Append(s.Substring(idx, 1)) TextBox1.Text = sb.ToString Next |
Monday, January 26, 2015
Splitter
1 2 3 4 5 | s='ACTTGCABC' a=1 while(a<len(s)): print s[a:(a+2)] a=a+3 |
1 2 3 4 | Private Sub Replace(commander.Text,zurch.Text,"NAMENAME"+zurch.Text+"NAMENAME") End sub |
Sunday, January 4, 2015
Effects of Spectral Variation on Algae(biofuel) growth.
My research on growth rates in Algae with exposures to various visible spectras(the idea is to make the process safe for at home users) caused me to whip up a quick code for exploiiting the growth curves for maximizing the output at extraction time(etime).
int greent=; int bluet=; int redt=; int maxb=; int maxg=; int maxr=; int gpin = 13; int bpin=11; int rpin=10; int levels=0; //sensor probe int etime=; // dynamic input for extraction time, can be changed in program void setup(){ pinMode(gpin, OUTPUT); pinMode(bpin, OUTPUT); pinMode(rpin, OUTPUT); pinMode(probe, INPUT); digitalWrite(bpin, LOW); digitalWrite(gpin, LOW); digitalWrite(rpin, LOW); } void loop(){ levels= probe.val for(time< etime){ //take 'time' as processor clock time if( etime-time=< maxb){ digitalWrite(bpin, HIGH); digitalWrite(rpin, LOW); digitalWrite(gpin, LOW); } if(etime-time=<maxb/2){ digitalWrite(gpin, HIGH); digitalWrite(bpin, LOW); digitalWrite(gpin, LOW); } if(levels>ideal && etime - time > threshold){ digitalWrite(rpin, HIGH); digitalWrite(bpin, LOW); digitalWrite(gpin, LOW); } }
Gene Editor VB
Added features in the downloadable to mark DNA start boxes, to convert from Standard DNA notation(Single letter codon Expressions) to codons, an RNA converter, and the ability to convert code added to the js version to vb version using some REGEX. The JS version has its own converter:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | <body bgcolor = "#303030 "> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"> </script> <style> #sideBar { vertical-align:top;} #contentArea { vertical-align:top;} </style> <table> <tr> <td id="sideBar"> </td> <td id="contentArea"> <textarea name="texty" id="field_id_29" rows="40" cols="100" style="color: #0086f7; background-color: black;font-weight: bold; font-family: source code pro; font-size:11; "></textarea> <script> $("#field_id_29").bind("keyup", function() { var text = $(this).val(); text = text.replace("text = text.replace","buildbox.text=Replace(buildbox.text,") $(this).val(text); }); $("#field_id_29").bind("keyup", function() { var text = $(this).val(); text = text.replace("var text = $(this).val();","") $(this).val(text); }); $("#field_id_29").bind("keyup", function() { var text = $(this).val(); text = text.replace("});","") $(this).val(text); }); </script> </td> </body> |
Which I created using Jquery
Subscribe to:
Posts (Atom)