Skip to main content

Scientific tools is the Swiss knife for scientists and students who work with python.

Project description

Scientific tools

Version PyVersion

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

scientific_tools-0.0.0a20-py3-none-any.whl (10.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page