Scientific tools is the Swiss knife for scientists and students who work with python.
Project description
Scientific tools
Project's description
scientific_tools is the Swiss knife for scientists and students who work with python. This framework is currently in development, but some functionnalities work without any bugs.
Mathematics
Solve
The scientific_tools.mathematics.solve
file can resolve equations with some functions using different algorithm :
dichotomy
function search the unique solution of f(x) = 0, where f is an continuous and strictly monotone function.implicit_finite_difference_solver
function can solve a partial differential equation with the implicit finite difference method. The shape of partial differential equation must be Ctt Utt + Ctx Uxt + Cxx Uxx + Cx Ux + Ct Ut + Cu U = Cc. NB: This solver is experimental !explicit_finite_difference_solver
function can solve the same shape of partial differential equation but with the explicit finite difference method. NB: This solver is experimental !
Physics
Uncertainty
The scientific_tools.physics.uncertainty
file can calculate uncertainties :
- calculate standard uncertainties with propagation rules
- calculate relative uncertainties with propagation rules
- calculate z-scores (z-core between a value and a reference value & z-score between two value)
Other files are planned
A lot of other functionnalities are in development.
Graphics package
Functions graphs
The scientific_tools.graphics.function_graphs
file can trace 2D and 3D functions graphs.
It will be able to trace two functions curves in few weeks (in development).
Uncertainty graphs
The scientific_tools.graphics.uncertainty_graphs
file can draw :
- an uncertainty graph with a function, the function plus its uncertainty and the fonction minus its uncertainty.
- experimental values with uncertainties bar.
- a z-score graph : draws the points (or a function) that correspond to z-score and draws the maximum and minimum lines of z-core validity.
Thanks
This framework rely on few others frameworks that are free. The code is written in Python 3.11 and use :
- numpy
- matplotlib
License
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (CC-BY-NC-SA)
(Futher information at: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode )
©Cyprien BONTRON (c.b.e.python@gmail.com)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for scientific_tools-0.0.0a20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b21e6e95aa853b3bf292c5f341a6e2b0926a5dba01c226a1c0918cc02d37f628 |
|
MD5 | e565df8222ba7543fd6b305703afa2ae |
|
BLAKE2b-256 | ec12fa3070e6a40cff94587067e0d132bfd7388af2bf34c55e9fae3f94b8cafa |