[Horace-svn] r1722 - in branches/resolution/Tobyfit/Tobyfit: @sqw @sqw/private utilities utilities/mex

apache at shadow.nd.rl.ac.uk apache at shadow.nd.rl.ac.uk
Thu Feb 14 11:58:08 GMT 2019


Author: Greg Tucker
Date: Thu Feb 14 11:58:07 2019
New Revision: 1722

Added:
   branches/resolution/Tobyfit/Tobyfit/utilities/cov2resmat.m
   branches/resolution/Tobyfit/Tobyfit/utilities/integrate_project.m
   branches/resolution/Tobyfit/Tobyfit/utilities/mex/cppIntegrateProject.cpp
   branches/resolution/Tobyfit/Tobyfit/utilities/mex/cppResolutionMatrixFromCovariance.cpp
   branches/resolution/Tobyfit/Tobyfit/utilities/point_in_resolution_with_prob_xcell.m
   branches/resolution/Tobyfit/Tobyfit/utilities/point_in_run_resolution_with_prob_xcell.m
   branches/resolution/Tobyfit/Tobyfit/utilities/tobyfit_mex.m
Modified:
   branches/resolution/Tobyfit/Tobyfit/@sqw/gst_kf_DGfermi_resconv.m
   branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_DGfermi_resconv_init.m
   branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_kf_DGfermi_resconv_init.m
   branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_kf_points_in_pixels_res.m
   branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_points_in_pixels_res.m
   branches/resolution/Tobyfit/Tobyfit/utilities/point_in_resolution_with_prob.m
   branches/resolution/Tobyfit/Tobyfit/utilities/point_in_run_resolution_with_prob.m
   branches/resolution/Tobyfit/Tobyfit/utilities/pointsInResPix.m
   branches/resolution/Tobyfit/Tobyfit/utilities/pointsInResRunPix.m
   branches/resolution/Tobyfit/Tobyfit/utilities/pointsInRes_mex.m
   branches/resolution/Tobyfit/Tobyfit/utilities/resolution_ellipsoid_from_covariance.m
   branches/resolution/Tobyfit/Tobyfit/utilities/resolution_halfwidths.m
   branches/resolution/Tobyfit/Tobyfit/utilities/resolution_matrix_from_covariance.m

Log:
Added compiled external C++ (mex) functions to speed-up R(Q,E) and R(kf) initialization functions.
Consolidated all Tobyfit-related mex function compilation under 'tobyfit_mex.m'
The four available mex functions -- 
   integrate_project, cov2resmat, pointsInResPix, and pointsInResRunPix 
-- respect the hor_config().use_mex and fall-back to MATLAB routines if the flag is false or the external code fails.
Cleaned-up the intialization functions and other functions that call the external routines.


Modified: branches/resolution/Tobyfit/Tobyfit/@sqw/gst_kf_DGfermi_resconv.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/%40sqw/gst_kf_DGfermi_resconv.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_DGfermi_resconv_init.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/%40sqw/private/gst_DGfermi_resconv_init.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_kf_DGfermi_resconv_init.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/%40sqw/private/gst_kf_DGfermi_resconv_init.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_kf_points_in_pixels_res.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/%40sqw/private/gst_kf_points_in_pixels_res.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_points_in_pixels_res.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/%40sqw/private/gst_points_in_pixels_res.m?r1=1721&r2=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/cov2resmat.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/cov2resmat.m?view=markup&revision=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/integrate_project.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/integrate_project.m?view=markup&revision=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/mex/cppIntegrateProject.cpp
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/mex/cppIntegrateProject.cpp?view=markup&revision=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/mex/cppResolutionMatrixFromCovariance.cpp
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/mex/cppResolutionMatrixFromCovariance.cpp?view=markup&revision=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/point_in_resolution_with_prob.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/point_in_resolution_with_prob.m?r1=1721&r2=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/point_in_resolution_with_prob_xcell.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/point_in_resolution_with_prob_xcell.m?view=markup&revision=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/point_in_run_resolution_with_prob.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/point_in_run_resolution_with_prob.m?r1=1721&r2=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/point_in_run_resolution_with_prob_xcell.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/point_in_run_resolution_with_prob_xcell.m?view=markup&revision=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/pointsInResPix.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/pointsInResPix.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/pointsInResRunPix.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/pointsInResRunPix.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/resolution_ellipsoid_from_covariance.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/resolution_ellipsoid_from_covariance.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/resolution_halfwidths.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/resolution_halfwidths.m?r1=1721&r2=1722

Modified: branches/resolution/Tobyfit/Tobyfit/utilities/resolution_matrix_from_covariance.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/resolution_matrix_from_covariance.m?r1=1721&r2=1722

Added: branches/resolution/Tobyfit/Tobyfit/utilities/tobyfit_mex.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/utilities/tobyfit_mex.m?view=markup&revision=1722


More information about the Horace-svn mailing list