non_central_chi correct

Usage

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

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

Documentation

Corrects MRI signal for the noise floor

Functions

correct_data(input, noise_variance[, …])

Corrects the data for the noise floor described by the parameters

fit_parameters(observed_signal, guess[, …])

Fits the current set of parameters

get_params(input[, histogram, use_dist, …])

Fit the signal intensity histogram

guess_parameters(observed_signal[, ncoils, …])

Makes an initial guess of the noise level and number of coils

logp(observed_signal, log_noise, ncoils, …)

Computes the logp of the total histogram

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