Add functions to test validity of input args of recon function
Created by: dyang37
In svmbir we have functions to test the validity of input data shape/format/value. We should add similar functions to mbircone. Specifically:
test_args_angles(angles)
test_args_sino(sino, angles)
test_args_image(image)
-
test_args_geom(num_rows, num_cols, delta_pixel_image, ror_radius, delta_pixel_detector, channel_offset, row_offset, rotation_offset)
(Note the change of geometry specific arguments from parallel beam to cone beam.) test_args_recon(sharpness, positivity, max_resolutions, stop_threshold, max_iterations)
test_args_inits(init_image, prox_image, init_proj, weights, weight_type)
test_args_noise(sigma_y, snr_db, sigma_x, sigma_p)
test_args_qggmrf(p, q, T, b_interslice)
test_args_sys(num_threads, delete_temps, verbose)