This project uses the tool uv and src directory tree for package managements.
.
├── pyproject.toml
├── README.md
├── src
│ ├── feigenbuam_conjecture
│ │ ├── cal.ipynb
│ │ └── cal.py
│ ├── logistic_bifurcation
│ │ └── main.py
│ ├── logistic_map_different_lambda
│ │ └── main.py
│ ├── logistic_vs_continous_modelling_population
│ │ └── main.py
│ ├── modeling_pop_with_diff_logistic_maps
│ │ └── main.py
│ └── utils.py
└── uv.lock
All scripts are in the src directory.
Yet uv will also generate some temporary files named ...egg-info and __pycache__, which shall be ignored.
Each figure produced in the report is generated by the code in each subdirectory in src.
To run the code, go the the subdirectory and run command
uv run main.py
which will generated the figure in the same directory.
In Wayland environment, you may need to set the environment variable
QT_QPA_PLATFORM=xcb before running the command.
The utils.py file contains the utility functions.
Use utils.py in any of the subpackages by
import utils
utils. If a function helper() is contained in a file util contained subpackage named subpkg, that is
├── src
│ ├── subpkg
│ │ └── util.py # containing helper()
it can be imported by
from subpkg.util import helper()