non_central_chi variance

Usage

Run using mc_script non_central_chi variance after installation or using ~ndcn0236/bin/mc_script non_central_chi variance on jalapeno.

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

Documentation

Estimates the variance of the noise assuming a non-central chi distribution

Functions

beta_ncoils(ncoils)

Estimates beta_n

correction_factor(snr, ncoils)

Computes the correction factor

new_snr_fixed_point(current_snr, ncoils, …)

Computes the next step in the fixed point root finding method

new_snr_newton(current_snr, ncoils, observed_snr)

Computes the next step in the Newton’s root finding method

run(data[, ncoils, epsilon])

Estimates the true noise level of the non-central chi distribution

true_snr(data[, ncoils, epsilon])

Estimates the SNR of the non-central chi distribution

CLI interface

add_to_parser(parser)

Creates the parser of the command line arguments

run_from_args(args)

Runs the script based on a Namespace containing the command line arguments