Wirawan Purwanto
aaa06dc531
* Added rdiff() function to calculate element-wise relative difference of
...
two arrays.
11 years ago
Wirawan Purwanto
a347ae6d47
* New module: wpylib.math.stats.array_stats, for studying statistics of
...
an array (e.g., sparsity, difference, etc).
11 years ago
Wirawan Purwanto
3b0a8af1aa
* Added MathWarning for mathematics-related warning messages.
11 years ago
Wirawan Purwanto
04e78ade1d
* Added extra debugging statements.
11 years ago
Wirawan Purwanto
b043fb3cdf
* fit_func: Added support for lmfit-based minimization.
...
Tested minimally in the Cr2_analysis_cbs.py workbench (routine:
Test_MC_FPTZ_20140206).
11 years ago
Wirawan Purwanto
a33ad3c766
* Introduced a much faster way (and simpler) to compute jackknife averages.
11 years ago
Wirawan Purwanto
4e2b2c66c2
* Added wpylib.math.stats.jackknife1, initial implementation of delete-one
...
jackknife resampling method.
This module also contains a hack for weighted average
(warning: the theory is not established yet, at least I have not seen
it).
11 years ago
Wirawan Purwanto
f0ba6f4068
* wpylib.math: Added complex_polar().
11 years ago
Wirawan Purwanto
869aa91109
* fit_func(): Allow non-(numpy.ndarray) args for x, y, dy.
...
* Documentation update.
11 years ago
Wirawan Purwanto
579be3e18a
* errorbar: Added "lazy" string evaluation to speed up errorbar algebra.
11 years ago
Wirawan Purwanto
ed1242dc66
* Added "lazy string printout" which will speed up errorbar algebra--i.e.
...
we only need to evaluate the string representation when
the string printout isrequired.
11 years ago
Wirawan Purwanto
c8aad2e2f8
* Added facility for smoothed approximating spline instead of "exact"
...
interpolation.
11 years ago
Wirawan Purwanto
06fa307e84
* spline_2d: Use public scipy API functions.
11 years ago
Wirawan Purwanto
564d1f4364
* wpylib.math.fitting.fit_func: Added support for weight (or y uncertainty).
...
* For `leastsq' fit method, also introduced 'xerr' output (in outfmt=0)
as the error estimate of the fitted parameters.
11 years ago
Wirawan Purwanto
37b0939671
* Documentation clarification.
11 years ago
Wirawan Purwanto
1421cf3bc5
* wpylib.math.fitting.fit_func: Allow Guess argument to override
...
machine-generated guess.
* Add 'funcalls' data key to the leastsq complete output to conform to the
fmin-style output.
11 years ago
Wirawan Purwanto
2907b2ca77
* Set lcg48 default seed_index for user's reference
11 years ago
Wirawan Purwanto
42fdcc5253
* Added new module wpylib.math.random and its submodule (rng_lcg48).
...
The LCG48 generator is primarily for testing algorithms involving random
numbers.
11 years ago
Wirawan Purwanto
e485cabbe8
* wpylib.math.fitting.fit_func: Added optional Funct_hook argument to
...
be called (for debugging purposes) every time "the" Funct function
is called.
11 years ago
Wirawan Purwanto
cdad14e034
* Added BFGS minimization.
11 years ago
Wirawan Purwanto
9de8407dd9
* Added Test_3().
12 years ago
Wirawan Purwanto
a0eb82ed2b
* Mute debug printing.
12 years ago
Wirawan Purwanto
5b213b0ee7
* Little syntax optimization.
12 years ago
Wirawan Purwanto
414643ecde
* Added testcase wpylib.math.fitting.linear.Test_2() against numpy.polyfit().
12 years ago
Wirawan Purwanto
cb8124f699
* Provide uncertainty of both a and b fit parameters.
12 years ago
Wirawan Purwanto
87763d6e57
* wpylib.math.fitting.linear: for linear fit methods.
...
First method: linregr2d_SZ() from Shiwei's email in 2006.
12 years ago
Wirawan Purwanto
908a4e0682
* Rebase fit_result on result_base.
12 years ago
Wirawan Purwanto
348c204699
* Change wpylib.math.fitting module from a file into a subdirectory.
12 years ago
Wirawan Purwanto
332d9ae240
* wpylib.math: added choose() function.
12 years ago
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.
12 years ago
Wirawan Purwanto
050e2414ef
* Added faster LDdec1 for 1-based indexing.
...
Tested through N=1000.
13 years ago
Wirawan Purwanto
d04ea8cbea
* Completing jskip formula for LD that is analogous to the jskip formula for
...
UD matrix format.
13 years ago
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).
13 years ago
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
13 years ago
wirawan
7017fdc6af
* Committing all dirty work to CVS. We are migrating to GIT.
...
Beware: changes in this commit may or may not work properly.
13 years ago
wirawan
47f6bced79
* wpylib.math.linalg: Added initial module for linear-algebra convenience
...
functions, objects, and submodules.
14 years ago
wirawan
f42f2d82fa
* __imul__ and __idiv__ should return the lvalue object itself.
14 years ago
wirawan
f1dee72d09
* Reset fitting debug level to 0.
14 years ago
wirawan
6181d5588d
* The sign of the scalar prefactor should not enter the uncertainty
...
(err) field!
14 years ago
wirawan
dbd36e0f1f
* Added division of errorbar by a scalar.
14 years ago
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.
14 years ago
wirawan
c0f67e9992
* Ignore compiled modules.
14 years ago
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).
14 years ago
wirawan
9eb177bc27
* Adding wpylib.math.stats submodule which contains commonly used statistical
...
analysis tools.
14 years ago
wirawan
02776c1e6a
* Moving pyqmc.stats.avg to wpylib.math.stats.avg .
14 years ago
wirawan
379e83fdec
* Added epsilon() function to find out the granuality of a given floating
...
point type.
14 years ago
wirawan
75d4c2240c
* Function ztol: for zeroing out array elements below certain tolerance.
15 years ago
wirawan
adbe499db8
* Fitting seemed to work, but still not perfectly. Do not use in production
...
yet.
15 years ago
wirawan
733c518735
* Added: density refitter onto a different FFT grid and/or supercell size
...
(expansion to a larger supercell).
15 years ago
wirawan
9de91dcc59
* Don't save python compiled modules.
15 years ago