datman.header_checks module

Utility functions for comparing nifti json header files to json gold standard files.

datman.header_checks.check_bvals(series_path, standard_path)[source]
datman.header_checks.compare_headers(series, standard, ignore=None, tolerance=None)[source]
datman.header_checks.construct_diffs(series_json, standard_json, ignored_fields=None, tolerances=None, dti=False)[source]
datman.header_checks.find_bvals(json_path)[source]
datman.header_checks.handle_diff(value, expected, tolerance=None)[source]
datman.header_checks.parse_file(file_path)[source]
datman.header_checks.read_json(json_file)[source]
datman.header_checks.remove_fields(json_contents, fields)[source]
datman.header_checks.write_diff_log(diffs, output_path)[source]