wirawan
94c1651586
* wpylib.py.im_weakref: weakref for instance method.
...
Copied from Linux Screen Reader project.
14 years ago
wirawan
424a9238bb
* hacks.py: Added make_unbound_method to allow general function to participate
...
as hacked class methods.
14 years ago
wirawan
ceb8f35ec3
* Creating wpylib.py module to contain all python-level hacks.
...
Submodules are available for specialized and more complicated hacks.
14 years ago
wirawan
ad73b5af7f
* Added set_next_proc() method to set which procedure should be called when
...
"next()" method dispatcher is called.
This approach should get rid of the problem with circular reference which
causes the text_input instance not be erasable because of strong reference
to `self' in `self.next.im_self'.
14 years ago
wirawan
1bbaae135f
* Added python-level advanced hack module which should hide all my dirty
...
tricks here.
14 years ago
wirawan
90c4f1b50b
* Added vector_str and matrix_str generic function to print a matrix/vector
...
in space-seprated string format.
The output is mainly for human consumption, not for machine re-reading
(although it is possible to do so, in general).
14 years ago
wirawan
9e1c6f5868
* Commenting out the verbose printout. I think the module is robust now.
14 years ago
wirawan
90f1603499
* Added text_output as a converse facility to print out text stream to
...
a file.
Useful for a shortened output statements in the code, and also for
reroutable output (to stdout? to file? to both?) and flexible output
kind.
14 years ago
wirawan
0531e4e511
* Add documentation for file_table. Add note for future hash: SHA1,256,...
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
f64a3cfd8e
* Using external login node on jaguar.
14 years ago
wirawan
6181d5588d
* The sign of the scalar prefactor should not enter the uncertainty
...
(err) field!
14 years ago
wirawan
2a30c20a79
* Added dict_islice to support slicing while ignoring non-existing keys
...
in the source dict.
14 years ago
wirawan
26db0806ae
* Make Struct available publicly in wpylib.params namespace (with the
...
'struct' name).
14 years ago
wirawan
3ac8e37b35
* Using the __dict__ attribute to store user-defined values.
...
Dict-like behavior is exemplified by this class although it is *not*
derived from a dict.
14 years ago
wirawan
6d043f6721
* Simple clarification on example.
14 years ago
wirawan
d8984cf032
* Introducing "Struct", the base class for all structured datatypes.
...
This is the original implementation as found in Ca+4H2_Hstorage_iter.py .
14 years ago
wirawan
dbd36e0f1f
* Added division of errorbar by a scalar.
14 years ago
wirawan
7dbef49f6c
* Minor documentation edit.
14 years ago
wirawan
8363eb03bc
* Adding more extensive documentation.
...
* Making minor changes to the expected method name (parse_text_file_ =>
parse_file_).
14 years ago
wirawan
0bd6f56422
* Moving pyqmc.results.result_base module to wpylib.db.result_base for more
...
general uses.
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
592d6bd7c9
* Correcting recursive updates.
14 years ago
wirawan
c0f67e9992
* Ignore compiled modules.
14 years ago
wirawan
3fbc20ddb0
* Correction on notes.
14 years ago
wirawan
2303ad8d0b
* pipe_in (subprocess version): added "flush" method.
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
46e5caa7a2
* Convenience regular expression module.
14 years ago
wirawan
96d1f9afd7
* Upgrade to allow reading complex-valued data directly.
...
Please see the documentation of text_input.read_items for more detail.
14 years ago
wirawan
71474e2973
* Standard python ignore.
14 years ago
wirawan
6641410d89
* Moving the fancy "Parameters" parameter lookup class to its own module.
...
From now on, use it as wpylib.params.flat class.
14 years ago
wirawan
4c9b5ce9f7
* Update documentations.
14 years ago
wirawan
cae9cabdea
* Simple text input reader. Imported from pyqmc.utils.text_input .
14 years ago
wirawan
5f367c8fc8
* My own update scripts.
14 years ago
wirawan
090d9f7b00
* Moving pyqmc.utils.file_utils to wpylib project.
14 years ago
wirawan
631a152b8e
* Moving pyqmc.utils.timer to wpylib.
14 years ago
wirawan
5392a71943
* Correcting minor mistake.
14 years ago
wirawan
f1b8746147
* Updating Parameters class: now based on dict.
...
* Can add two Parameters together, which means joining the two or more dicts,
much like what function dict_join does.
14 years ago
wirawan
379e83fdec
* Added epsilon() function to find out the granuality of a given floating
...
point type.
14 years ago
wirawan
fcba27ae24
* Added list_join, much like dict_join, except for list.
...
* Added ranges "magic" object to define piecewise ranges.
15 years ago
wirawan
ffd21689be
* Parameters class: a way to look for parameters in definite search order
...
across functions, so that these parameters do not have to be passed in
kitchen-sink manner.
WARNING: STILL UNDER TESTING.
15 years ago
wirawan
3701e5655a
* added str_grep and str_igrep.
15 years ago
wirawan
1c6547d3c0
* Added default debug level.
15 years ago
wirawan
a6582aa8f2
* pipe_in() for "piping in" input to an external command.
...
* system() like os.system() except with error checking.
* getenv() to get look for a value from a list of environment variables--
they are searched sequentially in definite order.
15 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
c87ba9dbfa
* Minor updates.
15 years ago