Skip to content

TheOpenBacteriaProject/FKPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FKPP on multiples dimensions

Folders

  • Documentation contains all the mathematical documentation.
  • Python contains our programs.
  • images contains all output pics from our programs.
  • Demo contains a demo for Festival Impaciencia.

Repository description

Since the 18th century, population growth models have been studied. These models have great utility in biology such as the Malthus model or the logistic model. Malthus proposed a model in which the population could grow without limits at an exponential rate, which can get away from the reality if our population lives in a limited environment. This was corrected with the logistic model, since it assumes that the medium has a load (it can support a maximum number of beings) so although growth can acquire a speed exponential at the beginning, this growth will not be unlimited. Like these models Many others have emerged, such as Gompertz's one. Our objective will be to model the growth and diffusion in 2 dimensions of bacteria, for this we have decided to use a logistic growth with a uniform and random diffusion component. This model responds to the call FKPP equation.

The equation

first equation

More information about this equation can be found at the documentation file.

The numerical method (Method of lines with explicit euler)

first equation

i is the spatial variable and j the time variable.

More information about this numerical method can be found at the documentation file.

The codes

For this part we have code all the algorithms and function in python. The majority of them can be executed in your favorite IDE at least if it is capable of save variable definitions. Most of the code begins with fkppdosdimensiones.py which do the algorithm and plot the results. Them multiple functions can be executed if you can give them the matrix that represents the state in the moment you are interested in. For this reason, if you execute the first file in Spyder3, this IDE save the matrix value and then you can execute different functions that offer different data. Finally the files named with _web.py at the end, are formated exclusively to be executed at the backend of our database.

Example of diferent outputs:

  • fkppdosdimensiones.py (first executed)

Execute the main algorithm and offer a 3D view of it

3d output

  • fkpplineascontorno.py (matrix needed, take the one that it is saved)

Offers a description of our matrix seen from above. A classical look. It also create countour lines to visualize the heigth .

countour lines

  • cortetransversal.py (matrix needed, take the one that it is saved)

Search for a relevant transversal cut and show it (both from X and Y axes)

t. cut

  • funciones_aux.py (matrix needed, take the one that it is saved)

Show the percentage of surface cover by bacteria.

Cantidad de placa de petri con bacterias: 8.625265392781316%

Cantidad de superfice experimental con bacterias: 6.24%

About

We want to simulate the FKPP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages