Introduction to tfields
Tensors, tensor fields, graphs, mesh manipulation, CAD and more on the basis of numpy.ndarrays. All objects keep track of their coordinate system. Symbolic math operations work for object manipulation.
Licensed under the MIT License
Resources
- Source code: https://gitlab.mpcdf.mpg.de/dboe/tfields
- Documentation: https://tfields.readthedocs.io
- Pypi: https://pypi.python.org/pypi/tfields
Features
The following features should be highlighted:
- Tensors
- TensorFields
- TensorMaps with fields
- Mesh manipulation by graph theory
- TODO
Review of alternative/supplementary APIs
- sympy.diffgeom: https://docs.sympy.org/latest/modules/diffgeom.html - Symbolic differential algebra implementation. It is not yet covering a broad variety of functionality and is not so well maintained.
- Units: You can find a comparison of modules handling units here: https://socialcompare.com/en/comparison/python-units-quantities-packages - astropy looks best to our understanding but sympy would integrated nicer without an additional package.