', text) text = regsub.gsub(trailpat, '\\1 ', text) out.write(text) out.write('\n\n') print 'Done. Output may be found in '+outname ================= MATRIX-SIG - SIG on Matrix Math for Python send messages to: matrix-sig@python.org administrivia to: matrix-sig-request@python.org ================= From hinsenk@ERE.UMontreal.CA Fri Apr 26 15:43:46 1996 From: hinsenk@ERE.UMontreal.CA (Konrad HINSEN) Date: Fri, 26 Apr 1996 10:43:46 -0400 Subject: [PYTHON MATRIX-SIG] FAQ In-Reply-To: <9604252106.AA15086@baribal.LCS.MIT.EDU.LCS.MIT.EDU> (message from James Hugunin on Thu, 25 Apr 96 17:06:50 EDT) Message-ID: <199604261443.KAA09879@cyclone.ERE.UMontreal.CA> > 4) What modules are available that use Numerical python? > > (Note: I know that this needs pointers, I just don't have the time to > put them together today) ... I have a couple of Python modules using arrays/umath, and I bet I am not the only one. Maybe it would be a good idea to start a collection somewhere. Even if the API is not final yet, this would be useful to 1) Have useful code right now 2) Prevent duplicated development effort 3) Provide examples to newcomers to this SIG In the first public release this code could then appear as examples. My current collection of modules of general interest is: Derivatives.py Automatic derivatives; uses umath, but no arrays (yet). Interpolation.py Represents functions defined by numerical values on a grid. Provides linear interpolation, differentiation, and integration. LeastSquares.py Levenberg-Marquardt algorithm to find a least-squares solution for nonlinear problems. PhysicalQuantities.py Represents physical quantities with units; handles mixed-unit arithmetic and unit conversion. Uses umath, but not arrays. Vector.py 3D geometrical vectors, uses umath. A version based on arrays exists, but makes sense only when arrays of general objects work reliably (I have to test that with the new release). Special-interest code: G90Output.py Extracts information from output files of Gaussian 90. Potential.py Automatic calculation of first and second derivatives for potential functions. wham.py Calculates a potential of mean force from umbrella sampling data; works for arbitrary number of variables. All of these have been used for real-life applications and can be considered working, although as always there is absolutely no warranty... ------------------------------------------------------------------------------- Konrad Hinsen | E-Mail: hinsenk@ere.umontreal.ca Departement de chimie | Tel.: +1-514-343-6111 ext. 3953 Universite de Montreal | Fax: +1-514-343-7586 C.P. 6128, succ. Centre-Ville | Deutsch/Esperanto/English/Nederlands/ Montreal (QC) H3C 3J7 | Francais (phase experimentale) ------------------------------------------------------------------------------- ================= MATRIX-SIG - SIG on Matrix Math for Python send messages to: matrix-sig@python.org administrivia to: matrix-sig-request@python.org =================