Team:Bordeaux/SourceCodeModelling

From 2012.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 122: Line 122:
<p>
<p>
-
<h4>PEP.py file</h4>
+
<h4>PEB.py file (Main program)</h4>
<hr>
<hr>
</br>
</br>
-
<li><a href="http://cdjemiel.free.fr/igem2012/code/PEB.py" title="Mst" target="_blank">Download file PEP.py</a></li>
+
<li><a href="http://cdjemiel.free.fr/igem2012/code/PEB.py" title="Mst" target="_blank">Download file PEB.py</a></li>
</p>
</p>

Latest revision as of 09:29, 26 September 2012

Modelling - iGEM Bordeaux 2012

iGEM - Bordeaux - Source Code

Init_PEB.py file



  • Download file PEP.py

  • r"""
    File contains var
    """
    
    __projet__ = 'iGEM '
    __author__ = 'Djemiel Christophe, Freche Arnaud'
    __copyright__ = 'Copyright (c) 2012 BordeauxTeam'
    __license__ = ''
    __vcs_id__ = '$Id$'
    __version__ = '1.0'
    
    #var 
    directory_pictures="pictures_simulation/"
    
    #initial parameters 
    nb_bacteria=8000
    
    #features constitutive
    seuil_acivation_recepteur1=0.75
    seuil_acivation_recepteur2=0.75
    seuil_acivation_recepteur3=0.75
    
    #mutation
    seuil_mutation_operon=0.05
    seuil_mutation_LasR=0.05
    seuil_mutation_LuxS=0.05
    seuil_mutation_BetaGal=0.05
    seuil_mutation_LuxBox=0.05
    seuil_mutation_LuxI=0.05
    seuil_mutation_MCherry=0.05
    seuil_mutation_QBox=0.05
    seuil_mutation_LasI=0.05
    seuil_mutation_GFP=0.05
    
    #change state
    seuil_etat1_2=0.05
    
    #noise
    noise_pourcent=0.0001
    seuil_bruit1=0.33
    seuil_bruit2=0.66
    
    #stimulus light
    seuil_transfo_lumiere=0.7
    diameter_light=1
    
    rayon_action=0.075
    
    
     

    PEB.py file (Main program)



  • Download file PEB.py
  • Create a gif



  • Download file create_gif.py
  • Download file images2gif.py

  • Reference : Python Imaging Library (PIL) and Animated GIFs