Commit Graph

33 Commits

Author SHA1 Message Date
Wirawan Purwanto
9de8407dd9 * Added Test_3(). 2012-10-15 17:25:06 -04:00
Wirawan Purwanto
a0eb82ed2b * Mute debug printing. 2012-10-15 16:59:35 -04:00
Wirawan Purwanto
5b213b0ee7 * Little syntax optimization. 2012-10-15 16:45:37 -04:00
Wirawan Purwanto
414643ecde * Added testcase wpylib.math.fitting.linear.Test_2() against numpy.polyfit(). 2012-10-15 16:35:12 -04:00
Wirawan Purwanto
cb8124f699 * Provide uncertainty of both a and b fit parameters. 2012-10-15 16:12:37 -04:00
Wirawan Purwanto
87763d6e57 * wpylib.math.fitting.linear: for linear fit methods.
First method: linregr2d_SZ() from Shiwei's email in 2006.
2012-10-15 16:02:41 -04:00
Wirawan Purwanto
908a4e0682 * Rebase fit_result on result_base. 2012-10-15 16:01:46 -04:00
Wirawan Purwanto
348c204699 * Change wpylib.math.fitting module from a file into a subdirectory. 2012-10-15 15:16:02 -04:00
Wirawan Purwanto
332d9ae240 * wpylib.math: added choose() function. 2012-08-24 16:32:33 -04:00
Wirawan Purwanto
17d242213d * Added some useful functions from my pw2g_bench_MnO.py scriptlet collection:
- wpylib.math.roundup()
  - wpylib.shell_tools.dirname2()

* file_exists_nonempty() is moved to wpylib.shell_tools.
2012-07-25 09:40:37 -04:00
Wirawan Purwanto
050e2414ef * Added faster LDdec1 for 1-based indexing.
Tested through N=1000.
2012-01-26 10:46:55 -05:00
Wirawan Purwanto
d04ea8cbea * Completing jskip formula for LD that is analogous to the jskip formula for
UD matrix format.
2012-01-25 17:07:50 -05:00
Wirawan Purwanto
93a89d2606 * Created array indexer for "upper diagonal" indexing mode.
Apparently I was able to create the non-iterative version of UDdec (1-based
  indices).
2012-01-24 17:32:39 -05:00
Wirawan Purwanto
961a802326 * Keep a copy of my symmetric array indexer worksheet in GIT.
Original signature:
    -rw-r--r-- 1 wirawan0 wirawan0 1380 2010-04-27 15:55 symmetrix-array-index.py
    b873ece4610483b3cd5290c6ddbc7426  symmetrix-array-index.py
2012-01-24 17:28:10 -05:00
wirawan
7017fdc6af * Committing all dirty work to CVS. We are migrating to GIT.
Beware: changes in this commit may or may not work properly.
2011-10-06 19:15:05 +00:00
wirawan
47f6bced79 * wpylib.math.linalg: Added initial module for linear-algebra convenience
functions, objects, and submodules.
2011-07-14 19:00:59 +00:00
wirawan
f42f2d82fa * __imul__ and __idiv__ should return the lvalue object itself. 2011-04-05 19:20:55 +00:00
wirawan
f1dee72d09 * Reset fitting debug level to 0. 2011-04-05 19:20:01 +00:00
wirawan
6181d5588d * The sign of the scalar prefactor should not enter the uncertainty
(err) field!
2011-03-10 20:17:55 +00:00
wirawan
dbd36e0f1f * Added division of errorbar by a scalar. 2010-12-01 17:11:46 +00:00
wirawan
bceef1e601 * Adding more methods for fitting: fmin (simplex minimization).
I still have hard time making fitting routine work for me.
  But at least this one works for simple SHO fitting.
2010-11-05 02:28:20 +00:00
wirawan
c0f67e9992 * Ignore compiled modules. 2010-10-25 14:43:17 +00:00
wirawan
428b481b87 * Added initial support for errorbar object, which includes
compression-to-string (ad hoc implementation is written in C++ with the
  help of my cp.inc library, unfortunately).
2010-10-19 20:19:25 +00:00
wirawan
9eb177bc27 * Adding wpylib.math.stats submodule which contains commonly used statistical
analysis tools.
2010-10-07 15:57:29 +00:00
wirawan
02776c1e6a * Moving pyqmc.stats.avg to wpylib.math.stats.avg . 2010-10-07 15:56:55 +00:00
wirawan
379e83fdec * Added epsilon() function to find out the granuality of a given floating
point type.
2010-09-10 21:23:59 +00:00
wirawan
75d4c2240c * Function ztol: for zeroing out array elements below certain tolerance. 2010-05-28 18:43:59 +00:00
wirawan
adbe499db8 * Fitting seemed to work, but still not perfectly. Do not use in production
yet.
2010-05-28 18:43:39 +00:00
wirawan
733c518735 * Added: density refitter onto a different FFT grid and/or supercell size
(expansion to a larger supercell).
2010-02-24 14:27:23 +00:00
wirawan
9de91dcc59 * Don't save python compiled modules. 2010-01-22 18:50:39 +00:00
wirawan
605bfb16a2 * Simplified spline interpolation tools for 2-D curves (single curve or
piecewise curve).
2010-01-22 18:48:19 +00:00
wirawan
9e62d32873 * Draft of simple nonlinear fitting module for my use. Still not finished yet. 2010-01-22 18:44:59 +00:00
wirawan
86c7558758 * Subdomain "wpylib.math" contains my frequently used mathematical tools. 2010-01-20 03:11:01 +00:00