Team:Bordeaux/RealisationModelling
From 2012.igem.org
(Difference between revisions)
ChristopheD (Talk | contribs) |
ChristopheD (Talk | contribs) |
||
(One intermediate revision not shown) | |||
Line 53: | Line 53: | ||
<li><a href="https://2012.igem.org/Team:Bordeaux/ConceptionModelling">Conception</a></li> | <li><a href="https://2012.igem.org/Team:Bordeaux/ConceptionModelling">Conception</a></li> | ||
<li><a href="https://2012.igem.org/Team:Bordeaux/RealisationModelling" class="current">Realisation</a></li> | <li><a href="https://2012.igem.org/Team:Bordeaux/RealisationModelling" class="current">Realisation</a></li> | ||
+ | <li><a href="https://2012.igem.org/Team:Bordeaux/SourceCodeModelling" >Source code</a></li> | ||
<li><a href="https://2012.igem.org/Team:Bordeaux/ResultsModelling" >Results</a></li> | <li><a href="https://2012.igem.org/Team:Bordeaux/ResultsModelling" >Results</a></li> | ||
<li><a href="https://2012.igem.org/Team:Bordeaux/ConclusionModelling">Conclusion</a></li> | <li><a href="https://2012.igem.org/Team:Bordeaux/ConclusionModelling">Conclusion</a></li> | ||
Line 152: | Line 153: | ||
The last function <b>do_plot(name,titre)</b> needs two parameters to create the plot of the list. Each bacteria are placed on the grid as colored dot depending of their state. | The last function <b>do_plot(name,titre)</b> needs two parameters to create the plot of the list. Each bacteria are placed on the grid as colored dot depending of their state. | ||
- | <br> | + | </br> |
- | + | </br> | |
Exemple of a simulation : | Exemple of a simulation : | ||
Latest revision as of 07:22, 24 September 2012
iGEM - Bordeaux - Realisation
To carry out that modeling and simulation software, we chose python programming language. This choice has be taken due to short time available and few number of programmers for this project. Python is a high level programming language, interpreted, it permits to create simple and easy programs with a clear syntax and have lots of libraries available.
Functions
We are now showing all of the function create for this modeling. The function features_bacteria () permits to give all the characteristics to each bacteria :
for i in range (nb_bacteria): List = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] features_bacteria() list_bacteria.append(List) feature_constitutive() do_plot("0","temps0") mutation() noise(noise_pourcent) active_state() do_plot("1","bruit") stimulus_light() active_state() do_plot("2","light") stimulus_factor(0.05,rayon_action) mutation() do_plot("3","tours1") stimulus_factor(0.10,rayon_action) mutation() do_plot("4","tours2")