[Horace-svn] r1715 - in branches/resolution/Tobyfit/Tobyfit: @mfclass_tobyfit @sqw @sqw/private

apache at shadow.nd.rl.ac.uk apache at shadow.nd.rl.ac.uk
Fri Jan 25 10:22:36 GMT 2019


Author: Greg Tucker
Date: Fri Jan 25 10:22:35 2019
New Revision: 1715

Modified:
   branches/resolution/Tobyfit/Tobyfit/@mfclass_tobyfit/set_mc_points.m
   branches/resolution/Tobyfit/Tobyfit/@sqw/gst_DGfermi_resconv.m
   branches/resolution/Tobyfit/Tobyfit/@sqw/private/gst_DGfermi_genpoints.m

Log:
The number of Monte Carlo points per pixel can now be non-integer for the new method.
If mc_points = n+r; where n is an integer and 0<r<1, then n random (Q,E) points are generated for all pixels before a final (Q,E) point is generated for all pixels of which a random fraction are retained. In total, n*npix+round(r*npix) (Q,E) points are generated.

Modified: branches/resolution/Tobyfit/Tobyfit/@mfclass_tobyfit/set_mc_points.m
Url: http://svn.isis.rl.ac.uk/viewvc/Horace/branches/resolution/Tobyfit/Tobyfit/%40mfclass_tobyfit/set_mc_points.m?r1=1714&r2=1715

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

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


More information about the Horace-svn mailing list