true_snr

Import in python using from mcutils.scripts.non_central_chi.variance import true_snr

mcutils.scripts.non_central_chi.variance.true_snr(data, ncoils=1, epsilon=1e-08)[source]

Estimates the SNR of the non-central chi distribution

Uses the method described in section 2.4 and A1 in Koay & Basser (2006, JMR, doi:10.1016/j.jmr.2006.01.016)

Parameters
  • data – (…, N) dataset with N identical volumes (except for noise)

  • ncoils – number of coils used in the reconstruction

  • epsilon – target precision in the variance estimate

Returns

(…, ) array with the snr