enthought/scimath — pull request #1 by timdiller (2011-12-13 15:56:10+00:00)
Title: updates to documentation and minor reorganization of the units submodules

I've written online documentation for scimath.units. ReST source is in the docs directory on the master branch. HTML is rendered with sphinx-build and lives in the gh-pages branch (separate pull request will be issued) but should also be auto-updated with the ets_docs tool.

Other changes include a reorganization of the submodules. Many units are currently defined in (and available from) the scimath.units.geo_units submodule, although they properly belong in another submodule. For example, psi was only available in scimath.units.geo_units, but not in scimath.units.pressure. I have rearranged the definitions such that units are found in their logical category.

This included the creation of a new submodule scimath.units.electromagnetism with the appropriate unit definitions.

To ensure compatibility with the existing codebase (vma and vwa are examples), the units previously available from scimath.units.geo_units are imported there from their "home" submodule. I added a unit test to check for this availability.

The documentation includes a page listing which imports are available from which submodule.