Skip to main content

No project description provided

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scitools3-1.0.tar.gz (31.7 kB view details)

Uploaded Source

File details

Details for the file scitools3-1.0.tar.gz.

File metadata

  • Download URL: scitools3-1.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for scitools3-1.0.tar.gz
Algorithm Hash digest
SHA256 228c63638dcf60793e809275d9511ee4ba221ecc6f830ff62fb4afc14752e118
MD5 53f0ee0be44a8bbcd6bb53ded88c38b7
BLAKE2b-256 1b47e5cdee5add701eb814af5eefdfba653476957c6960559e77614a1a4953c0

See more details on using hashes here.

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