Commit | Date | |
---|---|---|
[r2328]
by
bugman
Fixed the loops in the two C functions to go to '(int)num_times' rather than the temp value of '6'. |
2006-01-12 09:16:05 | Tree |
[r2327]
by
bugman
The 'back_calc_I' C function now works by returning a Python list instead of a Numeric array! |
2006-01-12 09:12:34 | Tree |
2006-01-12 08:15:31 | Tree | |
[r2325]
by
bugman
Completion of the C code for the fitting of relaxation curves and preparation for Monte Carlo sims. The 'chi2()' C function is now declared in the 'func()' function as returning a double. Previously The exponential back calculation function has been debugged. The function is I0 * exp(-t * Rx) and In 'maths_fns/c_chi2.c' the function 'square()' has been defined. The makefile 'maths_fns/Makefile' has been modified so that changes to 'maths_fns/relax_fit.h' will The spectral density function 'num_instances()' in 'specific_fns/jw_mapping.py' has been debugged. In 'specific_fns/relax_fit.py', the function 'ave_and_sd()' has been renamed to 'mean_and_error()'. For Monte Carlo simulations, the function 'back_calc_I()' has been added to 'maths_fns/relax_fit.c'. The error function 'RelaxNoMfModelError' has been changed to 'RelaxNoModelError' to generalise it The function 'sim_set_selected()' has been renamed to 'set_selected_sim()' in |
2006-01-12 03:00:06 | Tree |
2006-01-11 17:13:53 | Tree | |
2006-01-11 08:38:46 | Tree | |
2006-01-11 08:36:20 | Tree | |
2006-01-11 08:24:38 | Tree | |
[r2320]
by
bugman
Added some sanity to the PyArrayObjects in the C code. Pointers, eg 'relax_times' have been created to 'numpy_relax_times->data' and recast as double. Now |
2006-01-11 08:14:01 | Tree |
2006-01-11 07:27:13 | Tree |