Skip to main content

This is a new version of the SciTools library adapted for Python 3. It is reorganized and not everything from the old package is still there. Once most useful modules from SciTools have been ported to Python 3, development on this site will probably cease, however I plan to then continue maintaining these modules in a new Python Library: sciren.

For more information about sciren, please visit the website (that doesn’t yet exist): https://onnoeberhard.com/sciren

2018-01-09 Onno Eberhard


SciTools is a Python package containing lots of useful tools for scientific computing in Python. The package is built on top of other widely used packages such as NumPy, SciPy, ScientificPython, Gnuplot, Matplotlib, VTK, and others. SciTools can be downloaded from code.google.com/p/scitools.

The SciTools package contains a lot of modules:

  • easyviz: package for unified Matlab-like plotting syntax

  • basics: imports from numpy, scipy, scitools.numpyutils

  • std: imports of basics and easyviz

  • misc: many non-numerical convenience functions

  • numpyutils: many numerical convenience functions

  • StringFunction: turns string formulas into callable functions

  • configdata: user-friendly access to Python config files

  • filetable: read/write tabular data in files into/from arrays

  • debug: useful functions for debugging

  • pprint2: improvement of pprint for formatting control of floats

  • multipleloop: makes a loop from all combinations of a set of parameters

  • EfficiencyTable: nice table report from efficiency experiments

  • globaldata: holds all global data in the scitools package

  • sound: tools for easy sound generation and manipulation

  • aplotter: curve plotting in pure ASCII

  • Lumpy: visualization of the data structures in a Python program

Some modules and classes are closely related to and explained in the text in the book “Python Scripting for Computational Science”, by H. P. Langtangen, 3rd edition, 2nd printing, Springer, 2009:

  • NumPyDB: a simple database for holding NumPy arrays

  • Regression: module for performing regression tests (also with floats)

  • CanvasCoord: transformations between canvas and physical coordinates

  • DrawFunction: enables users to draw a function (in Pmw.Blt plotting widget)

  • FunctionSelector: Tk/Pmw-based widgets for selecting functions

  • FuncDependenceViz: visualization of how functions vary with parameters

  • ParameterInterface: a simplified GUI generator for simulation programs

  • PrmDictBase: module for holding parameters in simulation programs

Some preliminary modules include
  • BoxGrid: a structured grid in 1D, 2D, or 2D

  • BoxField: a scalar or vector field over a BoxGrid

See the different modules for more detailed information.

The most convenient SciTools import statement reads:

from scitools.std import *

This statement imports from numpy, scipy (if available), scitools.numpyutils (many numerical convenince functions), and all Easyviz plotting capabilities. (See the documentation of scitools.std for a precise list of imports implied by the above statement.)

Many programmers prefer to avoid the “star import” above, which has the disadvantage of filling up the global namespace with a large number of names. The key import statement is then:

import scitools.std as st

All functions and modules must then be prefixed by st: st.float_eq, st.StringFunction, st.plot, etc.

Home-page: https://github.com/onnoeberhard/scitools3 Author: Johannes H. Ring, Hans Petter Langtangen, Onno Eberhard Author-email: onnoeberhard@gmail.com License: BSD Description-Content-Type: UNKNOWN Description: UNKNOWN Platform: UNKNOWN

Metadata

Release files for scitools3 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scitools3 1.0
File Size Uploaded Provenance Actions
scitools3-1.0.tar.gz 31.7 kB Without provenance Details for scitools3-1.0.tar.gz

Release files / scitools3-1.0.tar.gz

Download URL scitools3-1.0.tar.gz
Size 31.7 kB
Tags Source
SHA-256 checksum
How to use checksums
228c63638dcf60793e809275d9511ee4ba221ecc6f830ff62fb4afc14752e118
BLAKE2b-256 checksum
How to use checksums
1b47e5cdee5add701eb814af5eefdfba653476957c6960559e77614a1a4953c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for scitools3 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page