Zfs sampling.m

From Spinach Documentation Wiki
Revision as of 20:04, 10 January 2016 by Kuprov (talk | contribs) (Created page with "Sampling function for the ZFS parameter distribution from Nurit Manukovsky's poster. The sampling points returned are D/D1 (first output), E/D (second output) and the corresp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sampling function for the ZFS parameter distribution from Nurit Manukovsky's poster. The sampling points returned are D/D1 (first output), E/D (second output) and the corresponding weights with which the simulations should be summed (third output). The para- meters match those given in Figure 5 of Raitsimring et al, App. Mag. Res. 28, 281-295 (2005). Syntax:

         [D,E,W]=zfs_sampling(npoints_d,npoints_e,tol)

where the first two inputs give the number of integration points in D and E respectively and the last parameter is the tolerance for integration weights below which grid points are dropped.