5c177065dd 
								
							
								 
							
						 
						
							
							
								
								* Added block_timer class for use in python 2.5+ "with ..." construct.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								3e0d86fdfb 
								
							
								 
							
						 
						
							
							
								
								* Added array_hstack function.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								7d5bf9e7f8 
								
							
								 
							
						 
						
							
							
								
								* Added simple text table reader.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								22d5b6f888 
								
							
								 
							
						 
						
							
							
								
								* Added class logged_runner for logging external programs called from  
							
							... 
							
							
 
							
							a python script. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								3ee3dd5c4b 
								
							
								 
							
						 
						
							
							
								
								* Module wpylib.file.tmpdir: defines a script-wide temporary directory.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								d7a65386a3 
								
							
								 
							
						 
						
							
							
								
								* Fortran binary file: Added bulk_read_array1 method for quick reading of  
							
							... 
							
							
 
							
							array of (uniform-type) Fortran records. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								02a0222f34 
								
							
								 
							
						 
						
							
							
								
								* wpylib.file.file_utils: added is_readable/is_writable test functions.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								f3f47f658e 
								
							
								 
							
						 
						
							
							
								
								* Added tester for wpylib.iofmt submodules and objects: first test is for  
							
							... 
							
							
 
							
							text_output "with" invocation. 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								025d410ec4 
								
							
								 
							
						 
						
							
							
								
								* Moved test modules to a separate TESTS subdirectory to avoid confusion.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								723f1a4fc1 
								
							
								 
							
						 
						
							
							
								
								* Added __enter__/__exit__ method for use with python 2.5's "with" statement.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								fd47842b73 
								
							
								 
							
						 
						
							
							
								
								* Documentation update.  
							
							
 
							
						 
						
							11 years ago  
				
					
						
							
							
								 
						
							
							
								b0c524e5a8 
								
							
								 
							
						 
						
							
							
								
								* Added more test harness (test 3) for dict_update_nested().  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6c8c2d8381 
								
							
								 
							
						 
						
							
							
								
								* Added: dict_update_nested() for nested dict member copy-update into  
							
							... 
							
							
 
							
							the destination.
* Added most basic test harnesses for that routine. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								17b9ed5585 
								
							
								 
							
						 
						
							
							
								
								* For auto param _create_() function: added _skipframes_ option, if needed.  
							
							... 
							
							
 
							
							* Added support for __flatten_dict__() function. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1eaeb3e68c 
								
							
								 
							
						 
						
							
							
								
								* Added function: dict_defval and dict_defvals.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								597398a34b 
								
							
								 
							
						 
						
							
							
								
								* Added missing function (rms).  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								bb3db2667a 
								
							
								 
							
						 
						
							
							
								
								* Module array_stat: Added study_sparsity() and print_histogram(),  
							
							... 
							
							
 
							
							adapted from V2b_inspect research module. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								aaa06dc531 
								
							
								 
							
						 
						
							
							
								
								* Added rdiff() function to calculate element-wise relative difference of  
							
							... 
							
							
 
							
							two arrays. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a0d8ed87a3 
								
							
								 
							
						 
						
							
							
								
								* New module: wpylib.array_tools for convenient array manipulations.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8da8937009 
								
							
								 
							
						 
						
							
							
								
								* Added function str_indent for completeness.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a347ae6d47 
								
							
								 
							
						 
						
							
							
								
								* New module: wpylib.math.stats.array_stats, for studying statistics of  
							
							... 
							
							
 
							
							an array (e.g., sparsity, difference, etc). 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3b0a8af1aa 
								
							
								 
							
						 
						
							
							
								
								* Added MathWarning for mathematics-related warning messages.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								04e78ade1d 
								
							
								 
							
						 
						
							
							
								
								* Added extra debugging statements.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1e56bb95eb 
								
							
								 
							
						 
						
							
							
								
								* wpylib.file.file_utils: added path_prep and mkdir_p.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								b043fb3cdf 
								
							
								 
							
						 
						
							
							
								
								* fit_func: Added support for lmfit-based minimization.  
							
							... 
							
							
 
							
							Tested minimally in the Cr2_analysis_cbs.py workbench (routine:
  Test_MC_FPTZ_20140206). 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								363999badf 
								
							
								 
							
						 
						
							
							
								
								* Added str_lstrip, str_rstrip functions for a Bourne-like substring  
							
							... 
							
							
 
							
							stripping. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								4fbf85d503 
								
							
								 
							
						 
						
							
							
								
								* Added function_name to obtain the name given to a function.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								839948a8da 
								
							
								 
							
						 
						
							
							
								
								* Moved the following functions from wpylib.shell_tools to  
							
							... 
							
							
 
							
							wpylib.file.file_utils since they are not directly related to shell:
  - file_exists_nonempty
  - is_executable_file
  - dirname2
  - relpath
  - path_split_all
  - list_dir_entries
  These are new API functions, so hopefully their changes would not
  affect many existing scripts.
* Added support for xz-compressed tar in untar() routine. Untested.
* Documentation updates. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0c352b44f7 
								
							
								 
							
						 
						
							
							
								
								* Added function scan_directories() -- initial version for scanning  
							
							... 
							
							
 
							
							recursively all through directories (no symlink following), to collect
  all subdirectories that satisfy the test criteria defined in the
  testdir() function argument. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d93fb5b7c2 
								
							
								 
							
						 
						
							
							
								
								* Added support for .xz file extension.  
							
							... 
							
							
 
							
							* Using backported lzma module (on python <= 3.2) to eliminate subprocess,
  if possible. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								5ce6e86b43 
								
							
								 
							
						 
						
							
							
								
								* Added functions: is_executable_file() and path_split_all().  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a33ad3c766 
								
							
								 
							
						 
						
							
							
								
								* Introduced a much faster way (and simpler) to compute jackknife averages.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								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). 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f0ba6f4068 
								
							
								 
							
						 
						
							
							
								
								* wpylib.math: Added complex_polar().  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								093b15085b 
								
							
								 
							
						 
						
							
							
								
								* utime_to_iso(): Let the local current time be the default input data.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0675c6c599 
								
							
								 
							
						 
						
							
							
								
								* Added wpylib.datetime.utime_to_iso() function.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								42babbe767 
								
							
								 
							
						 
						
							
							
								
								* Add "global variable" statement.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								869aa91109 
								
							
								 
							
						 
						
							
							
								
								* fit_func(): Allow non-(numpy.ndarray) args for x, y, dy.  
							
							... 
							
							
 
							
							* Documentation update. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								fb6631f756 
								
							
								 
							
						 
						
							
							
								
								* Use is_iterable to detect iterable specs argument.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9a5d2dfa9f 
								
							
								 
							
						 
						
							
							
								
								* text_tools: Added str_fmt_heading() function for formatting table heading  
							
							... 
							
							
 
							
							a la printf. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								579be3e18a 
								
							
								 
							
						 
						
							
							
								
								* errorbar: Added "lazy" string evaluation to speed up errorbar algebra.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c8aad2e2f8 
								
							
								 
							
						 
						
							
							
								
								* Added facility for smoothed approximating spline instead of "exact"  
							
							... 
							
							
 
							
							interpolation. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								06fa307e84 
								
							
								 
							
						 
						
							
							
								
								* spline_2d: Use public scipy API functions.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								37b0939671 
								
							
								 
							
						 
						
							
							
								
								* Documentation clarification.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								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. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								2907b2ca77 
								
							
								 
							
						 
						
							
							
								
								* Set lcg48 default seed_index for user's reference  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								42fdcc5253 
								
							
								 
							
						 
						
							
							
								
								* Added new module wpylib.math.random and its submodule (rng_lcg48).  
							
							... 
							
							
 
							
							The LCG48 generator is primarily for testing algorithms involving random
  numbers. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e485cabbe8 
								
							
								 
							
						 
						
							
							
								
								* wpylib.math.fitting.fit_func: Added optional Funct_hook argument to  
							
							... 
							
							
 
							
							be called (for debugging purposes) every time "the" Funct function
  is called. 
							
						 
						
							12 years ago