https://github.com/anthony-jourdon/genepy
python module using sympy to evaluate functions to build input for pTatin3d model Gene
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.8%) to scientific vocabulary
Repository
python module using sympy to evaluate functions to build input for pTatin3d model Gene
Basic Info
- Host: GitHub
- Owner: anthony-jourdon
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Homepage: https://anthony-jourdon.github.io/Genepy/
- Size: 12.2 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Genepy
Presentation
genepy is a python module designed to evaluate symbolic (mathematic) expression to build analytical velocity functions varying in space and time, define the rheological parameters of a long-term geodynamic model, and generate input file for pTatin3d.
It is a pre-processing tool.
This module can: - evaluate and print mathematical expression for the velocity and initial plastic strain distribution - attribute rheological parameters to regions identified by a tag (integer value) - handle simple mesh refinement for a structured mesh using linear interpolation - generate options file for pTatin3d simulations
Some examples can be found in scripts subdirectory.
Installation
This module requires python >= 3.10 and the following dependencies that can all be installed using pip - numpy - sympy - matplotlib - pyvista - gmsh
To be able to import genepy module its location needs to be known by PYTHONPATH.
To do so, move yourself in Genepy and type
source genepy.sh
This needs to be done every time a new terminal or python session is opened. Another possibility is to add it to your bashrc or zshrc but it may be erased by python virtual environment when loaded.
Once your PYTHONPATH has been appended check that it works correctly with
``` $ python
import genepy ```
Documentation
Access documentation with this link.
To update the documentation install ghp-import python package found here and use the following command
ghp-import docs/build/html -o -p -n
Owner
- Name: Anthony Jourdon
- Login: anthony-jourdon
- Kind: user
- Repositories: 1
- Profile: https://github.com/anthony-jourdon
GitHub Events
Total
- Push event: 34
Last Year
- Push event: 34
Dependencies
- actions/checkout v3 composite
- actions/setup-python v3 composite
- peaceiris/actions-gh-pages v3 composite