Menu

Commit [r23935]  Maximize  Restore  History

Added a script for timing different ways to calculate PCSs and RDCs for multiple vectors.

This uses the timeit module rather than profile to demonstrate the speed of 7 different ways to
calculate the RDCs or PCSs for an array of vectors using numpy. In the frame order analysis, this
is the bottleneck for the quasi-random numerical integration of the PCS.

The log file shows a potential 1 order of magnitude speed up between the 1st technique, which is
currently used in the frame order analysis, and the 7th and last technique. The first technique
loops over each vector, calculating the PCS. The last expands the PCS/RDC equation of the
projection of the vector into the alignment tensor, and calculates all PCSs simultaneously.

bugman 2014-06-13

added /branches/frame_order_cleanup/test_suite/shared_data/frame_order/timings
added /branches/frame_order_cleanup/test_suite/shared_data/frame_order/timings/tensor_projections.log
added /branches/frame_order_cleanup/test_suite/shared_data/frame_order/timings/tensor_projections.py
/branches/frame_order_cleanup/test_suite/shared_data/frame_order/timings/tensor_projections.log Diff Switch to side-by-side view
Loading...
/branches/frame_order_cleanup/test_suite/shared_data/frame_order/timings/tensor_projections.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.