Commit | Date | |
---|---|---|
[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 | |
2006-01-11 07:12:05 | Tree | |
[r2317]
by
bugman
Added the C file for the back calculation of peak intensities in relaxation curve fitting. |
2006-01-11 06:39:50 | Tree |
[r2316]
by
bugman
More modifications to the relaxation curve fitting C modules. The external variable *num_times, the number of relaxation times, has been added and is part of the The 'func' function has been updated. The variables in the header have been sorted. The compilation of the module has changed. Now the C files are compiled into object code *.o and The base directory makefile has had it's goal modified to properly handle recursive making. |
2006-01-11 06:31:00 | Tree |