{
 "schema": 1,
 "tool": "ants-denoise",
 "title": "DenoiseImage",
 "provenance": {
  "exporter": "91e0ee00ac3d9a186ad9ac567e343487d01bbd13",
  "records": [
   {
    "path": "docs/validation/ants-denoise.json",
    "sha256": "7ffd7d9b15ecf3d3e90bdc397171621dab52789a585a5b33bac3464661a6b6f3",
    "generated": "2026-10-24",
    "larmorx_commit": "6bf2860fb745"
   },
   {
    "path": "docs/validation/ants-denoise.md",
    "sha256": "fadbe67a4a5a97c2ec13c96285f0e071d023a0085576d9300753509eb2487bc1",
    "generated": "2026-10-24",
    "larmorx_commit": "6bf2860fb745"
   },
   {
    "path": "docs/validation/ants-denoise-panel.json",
    "sha256": "70ac71cd7629cb87d9afec520f7ba3874da8db9dca88abb72c5db9e608edae32",
    "generated": "2026-10-26",
    "larmorx_commit": "b7ba0d395cee"
   },
   {
    "path": "docs/validation/ants-denoise-panel.md",
    "sha256": "0e51fe9248cd3493b08908872b9baf84ae776161711aad7d61e8c2ccb8fbd31a",
    "generated": "2026-10-26",
    "larmorx_commit": "b7ba0d395cee"
   }
  ],
  "benchmarks": [
   {
    "path": "docs/benchmarks/ants-denoise.json",
    "sha256": "c78b0da6963a73804bf8c3fd62955277996cd7776397117b01e90a6aaef8acd1",
    "larmorx_commit": "77bb3c657378-dirty",
    "cpu": "Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz"
   }
  ],
  "cache": [
   {
    "entry": "ants-denoise/fmriprep-ds000005-denoise",
    "description": "fMRIPrep's DenoiseImage of ds000005 sub-01's T1w: fMRIPrep, ANTs 2.6.5 at 1-12 threads, CORE-MATH, fMRIPrep's ANTs at 1 thread, and larmorx",
    "computed": "2026-10-21T15:20:52+00:00",
    "larmorx_commit": "1dfe56c0dc60ada5ef8938a87387bee37fd1b799",
    "commands": [
     {
      "label": "ants-1",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-1.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1"
      },
      "exit": 0,
      "seconds": 335.77
     },
     {
      "label": "ants-2",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-2.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "2"
      },
      "exit": 0,
      "seconds": 232.24
     },
     {
      "label": "ants-3",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-3.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "3"
      },
      "exit": 0,
      "seconds": 190.12
     },
     {
      "label": "ants-4",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-4.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "4"
      },
      "exit": 0,
      "seconds": 165.56
     },
     {
      "label": "ants-8",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-8.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 134.03
     },
     {
      "label": "ants-12",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-12.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "12"
      },
      "exit": 0,
      "seconds": 133.15
     },
     {
      "label": "ants-8b",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-8b.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 120.56
     },
     {
      "label": "ants-1-cr",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/ants-1-cr.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LD_PRELOAD": "<workspace>/oracles/core-math-preload/libcrmath.so"
      },
      "exit": 0,
      "seconds": 509.12
     },
     {
      "label": "fmriprep-image-1",
      "argv": [
       "apptainer",
       "exec",
       "--cleanenv",
       "--home",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/.home:/home/fmriprep",
       "--env",
       "NSLOTS=1",
       "--env",
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=1",
       "-B",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat:/in:ro",
       "-B",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise:/out",
       "<workspace>/oracles/images/fmriprep-25.2.6.sif",
       "DenoiseImage",
       "-i",
       "/in/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "/out/fmriprep-image-1.nii.gz",
       "-s",
       "1"
      ],
      "env": {},
      "exit": 0,
      "seconds": 500.94
     },
     {
      "label": "larmorx-1",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/larmorx-1.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 27.11
     },
     {
      "label": "larmorx-1-reproduce",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/larmorx-1-reproduce.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 25.91
     },
     {
      "label": "larmorx-12",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/larmorx-12.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "12",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 7.6
     },
     {
      "label": "larmorx-12-reproduce",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise/larmorx-12-reproduce.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "12",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 7.7
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0",
     "ants_in_fmriprep_image": "ANTs Version: 2.6.2.dev1-gff61a3d Compiled: Jul 31 2025 06:55:26"
    },
    "threads": {
     "ants": [
      1,
      2,
      3,
      4,
      8,
      12
     ],
     "larmorx": [
      1,
      12
     ],
     "fmriprep_run": 8
    },
    "settings": "fMRIPrep 25.2.6's denoising of ds000005 sub-01's raw T1w (anat_template_wf/denoise), its arguments from command.txt; ANTs at 1, 2, 3, 4, 8 (twice) and 12 threads, with CORE-MATH at 1, fMRIPrep's own ANTs at 1; larmorx in both modes at 1 and 12 threads"
   },
   {
    "entry": "ants-denoise/fmriprep-ds000005-denoise-repeats",
    "description": "fMRIPrep's DenoiseImage command repeated by ANTs 2.6.5 at 8 and 12 threads",
    "computed": "2026-10-21T15:44:45+00:00",
    "larmorx_commit": "1dfe56c0dc60ada5ef8938a87387bee37fd1b799",
    "commands": [
     {
      "label": "ants-8-r3",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise-repeats/ants-8-r3.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 68.29
     },
     {
      "label": "ants-8-r4",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise-repeats/ants-8-r4.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 75.27
     },
     {
      "label": "ants-8-r5",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise-repeats/ants-8-r5.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 66.78
     },
     {
      "label": "ants-8-r6",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise-repeats/ants-8-r6.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 63.46
     },
     {
      "label": "ants-12-r2",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise-repeats/ants-12-r2.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "12"
      },
      "exit": 0,
      "seconds": 60.67
     },
     {
      "label": "ants-12-r3",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/fmriprep-ds000005-denoise-repeats/ants-12-r3.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "12"
      },
      "exit": 0,
      "seconds": 58.16
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0"
    },
    "settings": "fMRIPrep's DenoiseImage command run again by ANTs 2.6.5: four more times at 8 threads and twice more at 12, one after another"
   },
   {
    "entry": "ants-denoise/ds000005-preproc-masked-ants44",
    "description": "ANTS-44: denoising fMRIPrep's T1w within its brain mask",
    "computed": "2026-10-23T22:15:22+00:00",
    "larmorx_commit": "e22378b480f4df857986bfbc9db907f448d17009",
    "commands": [
     {
      "label": "ants-1",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-d",
       "3",
       "-i",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz",
       "-x",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-brain_mask.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/ants-1-denoised.nii.gz,<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/ants-1-noise.nii.gz]"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1"
      },
      "exit": 0,
      "seconds": 54.66
     },
     {
      "label": "ants-1-cr",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-d",
       "3",
       "-i",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz",
       "-x",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-brain_mask.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/ants-1-cr-denoised.nii.gz,<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/ants-1-cr-noise.nii.gz]"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LD_PRELOAD": "<workspace>/oracles/core-math-preload/libcrmath.so"
      },
      "exit": 0,
      "seconds": 55.03
     },
     {
      "label": "larmorx",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-d",
       "3",
       "-i",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz",
       "-x",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-brain_mask.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/larmorx-denoised.nii.gz,<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/larmorx-noise.nii.gz]"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "6",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 4.34
     },
     {
      "label": "larmorx-reproduce",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-d",
       "3",
       "-i",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz",
       "-x",
       "<workspace>/oracles/fmriprep-25.2.6/ds000005-sub-01-noreconall/out/sub-01/anat/sub-01_desc-brain_mask.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/larmorx-reproduce-denoised.nii.gz,<workspace>/oracles/figures-cache/ants-denoise/ds000005-preproc-masked-ants44/larmorx-reproduce-noise.nii.gz]"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "6",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 4.62
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0"
    },
    "threads": {
     "ants": 1,
     "larmorx": 6
    },
    "settings": "DenoiseImage -n Rician with fMRIPrep 25.2.6's brain mask on its preprocessed T1w of ds000005 sub-01 (no fMRIPrep node: fMRIPrep denoises without a mask)"
   },
   {
    "entry": "ants-denoise/panel-rician-7t-mp2rage",
    "description": "Data panel: sMRIPrep's denoising of the raw 7 T MP2RAGE (data panel)",
    "computed": "2026-10-26T23:46:09+00:00",
    "larmorx_commit": "042d70d5a17c8438706b96f9df65869801ddd2ef",
    "commands": [
     {
      "label": "ants-1",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/ants-1/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/ants-1/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1"
      },
      "exit": 0,
      "seconds": 288.27
     },
     {
      "label": "ants-1-cr",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/ants-1-cr/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/ants-1-cr/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LD_PRELOAD": "<workspace>/oracles/core-math-preload/libcrmath.so"
      },
      "exit": 0,
      "seconds": 280.05
     },
     {
      "label": "ants-8",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/ants-8/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/ants-8/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 271.62
     },
     {
      "label": "larmorx",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/larmorx/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/larmorx/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 36.96
     },
     {
      "label": "larmorx-1",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/larmorx-1/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/larmorx-1/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 35.86
     },
     {
      "label": "larmorx-fix",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/larmorx-fix/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-7t-mp2rage/larmorx-fix/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 35.51
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0"
    },
    "threads": {
     "ants": [
      1,
      8
     ],
     "ants_crmath": 1,
     "larmorx": [
      8,
      1
     ]
    },
    "settings": "a data-panel case of DenoiseImage: ANTs 2.6.5 at 1 thread (as built and with CORE-MATH) and at 8 threads; larmorx in reproduce mode at 8 and 1 threads, in its default mode at 8"
   },
   {
    "entry": "ants-denoise/panel-fmriprep-motion",
    "description": "Data panel: fMRIPrep's denoising of a T1w with strong head motion (data panel)",
    "computed": "2026-10-27T00:12:13+00:00",
    "larmorx_commit": "042d70d5a17c8438706b96f9df65869801ddd2ef",
    "commands": [
     {
      "label": "ants-1",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-fmriprep-motion/ants-1/sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1"
      },
      "exit": 0,
      "seconds": 399.2
     },
     {
      "label": "ants-1-cr",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-fmriprep-motion/ants-1-cr/sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LD_PRELOAD": "<workspace>/oracles/core-math-preload/libcrmath.so"
      },
      "exit": 0,
      "seconds": 405.46
     },
     {
      "label": "ants-8",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-fmriprep-motion/ants-8/sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 432.29
     },
     {
      "label": "larmorx",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-fmriprep-motion/larmorx/sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 36.81
     },
     {
      "label": "larmorx-1",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-fmriprep-motion/larmorx-1/sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 40.84
     },
     {
      "label": "larmorx-fix",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-fmriprep-motion/larmorx-fix/sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 37.15
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0"
    },
    "threads": {
     "ants": [
      1,
      8
     ],
     "ants_crmath": 1,
     "larmorx": [
      8,
      1
     ]
    },
    "settings": "a data-panel case of DenoiseImage: ANTs 2.6.5 at 1 thread (as built and with CORE-MATH) and at 8 threads; larmorx in reproduce mode at 8 and 1 threads, in its default mode at 8"
   },
   {
    "entry": "ants-denoise/panel-rician-flair",
    "description": "Data panel: denoising a FLAIR of 3 mm slices (data panel)",
    "computed": "2026-10-27T00:31:00+00:00",
    "larmorx_commit": "042d70d5a17c8438706b96f9df65869801ddd2ef",
    "commands": [
     {
      "label": "ants-1",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/ants-1/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/ants-1/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1"
      },
      "exit": 0,
      "seconds": 354.49
     },
     {
      "label": "ants-1-cr",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/ants-1-cr/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/ants-1-cr/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LD_PRELOAD": "<workspace>/oracles/core-math-preload/libcrmath.so"
      },
      "exit": 0,
      "seconds": 307.08
     },
     {
      "label": "ants-8",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/ants-8/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/ants-8/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 304.52
     },
     {
      "label": "larmorx",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/larmorx/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/larmorx/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 26.0
     },
     {
      "label": "larmorx-1",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/larmorx-1/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/larmorx-1/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 25.68
     },
     {
      "label": "larmorx-fix",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/larmorx-fix/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-flair/larmorx-fix/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 25.82
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0"
    },
    "threads": {
     "ants": [
      1,
      8
     ],
     "ants_crmath": 1,
     "larmorx": [
      8,
      1
     ]
    },
    "settings": "a data-panel case of DenoiseImage: ANTs 2.6.5 at 1 thread (as built and with CORE-MATH) and at 8 threads; larmorx in reproduce mode at 8 and 1 threads, in its default mode at 8"
   },
   {
    "entry": "ants-denoise/panel-rician-child-t2w",
    "description": "Data panel: denoising a child's T2w (data panel)",
    "computed": "2026-10-27T00:57:52+00:00",
    "larmorx_commit": "042d70d5a17c8438706b96f9df65869801ddd2ef",
    "commands": [
     {
      "label": "ants-1",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/ants-1/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/ants-1/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1"
      },
      "exit": 0,
      "seconds": 476.08
     },
     {
      "label": "ants-1-cr",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/ants-1-cr/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/ants-1-cr/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LD_PRELOAD": "<workspace>/oracles/core-math-preload/libcrmath.so"
      },
      "exit": 0,
      "seconds": 502.96
     },
     {
      "label": "ants-8",
      "argv": [
       "<workspace>/oracles/ants-2.6.5/bin/DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/ants-8/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/ants-8/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8"
      },
      "exit": 0,
      "seconds": 481.25
     },
     {
      "label": "larmorx",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/larmorx/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/larmorx/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 43.03
     },
     {
      "label": "larmorx-1",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/larmorx-1/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/larmorx-1/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "1",
       "LARMORX_UPSTREAM_DEFECTS": "reproduce"
      },
      "exit": 0,
      "seconds": 42.13
     },
     {
      "label": "larmorx-fix",
      "argv": [
       "<workspace>/.venv/bin/python",
       "-m",
       "larmorx",
       "ants",
       "DenoiseImage",
       "-i",
       "<testdata-cache>/openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz",
       "-n",
       "Rician",
       "-o",
       "[",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/larmorx-fix/denoised.nii.gz,",
       "<workspace>/oracles/figures-cache/ants-denoise/panel-rician-child-t2w/larmorx-fix/noise.nii.gz",
       "]",
       "-s",
       "1"
      ],
      "env": {
       "ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS": "8",
       "LARMORX_UPSTREAM_DEFECTS": "fix"
      },
      "exit": 0,
      "seconds": 43.24
     }
    ],
    "versions": {
     "ants": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0"
    },
    "threads": {
     "ants": [
      1,
      8
     ],
     "ants_crmath": 1,
     "larmorx": [
      8,
      1
     ]
    },
    "settings": "a data-panel case of DenoiseImage: ANTs 2.6.5 at 1 thread (as built and with CORE-MATH) and at 8 threads; larmorx in reproduce mode at 8 and 1 threads, in its default mode at 8"
   }
  ],
  "command": "python -m larmorx_validation evidence ants-denoise --site <site>"
 },
 "implementations": [
  {
   "id": "port",
   "label": "replica against the original: ANTs DenoiseImage 2.6.5 (standard comparison and data panel)",
   "short": "replica",
   "record": "docs/validation/ants-denoise.md",
   "status": "validated",
   "summary": {
    "cases": 72,
    "verdicts": {
     "identical-cr": 54,
     "bit-identical": 9,
     "both-reject": 9
    }
   },
   "agreement": [
    {
     "category": "fmriprep",
     "counts": {
      "identical-cr": 6
     }
    },
    {
     "category": "options",
     "counts": {
      "bit-identical": 3,
      "identical-cr": 19
     }
    },
    {
     "category": "inputs",
     "counts": {
      "bit-identical": 5,
      "identical-cr": 8
     }
    },
    {
     "category": "errors",
     "counts": {
      "bit-identical": 1,
      "both-reject": 9
     }
    },
    {
     "category": "panel-fmriprep",
     "counts": {
      "identical-cr": 17
     }
    },
    {
     "category": "panel-images",
     "counts": {
      "identical-cr": 4
     }
    }
   ],
   "title": "Agreement, replica against the original: ANTs `DenoiseImage` 2.6.5",
   "comparison": "standard comparison and data panel",
   "port": "replica"
  }
 ],
 "cases": [
  {
   "id": "fmriprep/smriprep-t1w",
   "category": "fmriprep",
   "description": "sMRIPrep's denoising of each T1w (anatomical.py:1461), as nipype writes it: -i <T1w> -n Rician -o <out> -s 1, no -d; ds000005's raw T1w (160 x 192 x 192)",
   "command": "DenoiseImage -i openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz -n Rician -o out.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 5522 of 5898240 differ; max |diff| 0.000198, max rel 8.3e-05, 1 - NCC 0 (÷ ANTs' thread band: 7.3e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   },
   "example": "fmriprep-denoise"
  },
  {
   "id": "fmriprep/smriprep-t1w-ds000210",
   "category": "fmriprep",
   "description": "the same command on ds000210's T1w (256 x 256 x 176, float64 on disk), the noise saved as nipype writes it with save_noise=True: -o [ out, noise ]",
   "command": "DenoiseImage -i openneuro/ds000210/sub-02/anat/sub-02_T1w.nii.gz -n Rician -o [ out.nii.gz, noise.nii.gz ] -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 5389 of 11534336 differ; max |diff| 0.00214, max rel 0.00079, 1 - NCC 3.1e-13 (÷ ANTs' thread band: 3.6e-06 max |Δ|, 5e-09 1 − NCC); noise: as built, 5389 of 11534336 differ; max |diff| 0.00214, max rel 0.011, 1 - NCC 0 (÷ ANTs' thread band: 3.6e-06 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "fmriprep/t1w-preproc-mask",
   "category": "fmriprep",
   "description": "fMRIPrep's preprocessed T1w (ds000005) with -n Rician and its brain mask",
   "command": "DenoiseImage -d 3 -i openneuro-derivatives/ds000005-fmriprep/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz -n Rician -x openneuro-derivatives/ds000005-fmriprep/sub-01/anat/sub-01_desc-brain_mask.nii.gz -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 495 of 5898240 differ; max |diff| 0.000122, max rel 7.1e-07, 1 - NCC 1.2e-13 (÷ ANTs' thread band: 8.1e-07 max |Δ|, 4.1e-08 1 − NCC); noise: as built, 495 of 5898240 differ; max |diff| 0.000122, max rel 0.00056, 1 - NCC 0 (÷ ANTs' thread band: 8.1e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "fmriprep/mni-t1w",
   "category": "fmriprep",
   "description": "sMRIPrep's options on MNI152NLin2009cAsym's T1w template (res-02, 97 x 115 x 97)",
   "command": "DenoiseImage -i templateflow/tpl-MNI152NLin2009cAsym/tpl-MNI152NLin2009cAsym_res-02_T1w.nii.gz -n Rician -o out.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 766 of 1082035 differ; max |diff| 0.000977, max rel 5.9e-07, 1 - NCC 0 (÷ ANTs' thread band: 9.7e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "fmriprep/boldref",
   "category": "fmriprep",
   "description": "sMRIPrep's options on ds000005's BOLD reference (64 x 64 x 34, int16)",
   "command": "DenoiseImage -i openneuro-derivatives/ds000005-fmriprep/sub-01/func/sub-01_task-mixedgamblestask_run-1_boldref.nii.gz -n Rician -o [out.nii.gz,noise.nii.gz] -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 44 of 139264 differ; max |diff| 0.000122, max rel 1.6e-06, 1 - NCC 0 (÷ ANTs' thread band: 6e-07 max |Δ|, 0 1 − NCC); noise: as built, 44 of 139264 differ; max |diff| 0.000122, max rel 3.7e-05, 1 - NCC 0 (÷ ANTs' thread band: 6e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "fmriprep/magnitude",
   "category": "fmriprep",
   "description": "sMRIPrep's options on ds003012's fieldmap magnitude (64 x 64 x 36, int32)",
   "command": "DenoiseImage -i openneuro/ds003012/sub-01/fmap/sub-01_magnitude1.nii.gz -n Rician -o out.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 112 of 147456 differ; max |diff| 0.00016, max rel 2e-06, 1 - NCC 7.8e-16 (÷ ANTs' thread band: 3.9e-07 max |Δ|, 1.7e-12 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/defaults",
   "category": "options",
   "description": "no option but input and output: the Gaussian noise model",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 44 of 35840 differ; max |diff| 3.05e-05, max rel 2.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 4.8e-06 max |Δ|, 5.4e-10 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/rician",
   "category": "options",
   "description": "-n Rician, with the noise image",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 25 of 35840 differ; max |diff| 3.05e-05, max rel 6.6e-07, 1 - NCC 0 (÷ ANTs' thread band: 4.2e-07 max |Δ|, 0 1 − NCC); noise: as built, 25 of 35840 differ; max |diff| 3.05e-05, max rel 0.00014, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 4.2e-07 max |Δ|, 8.9e-16 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/gaussian",
   "category": "options",
   "description": "-n Gaussian, with the noise image",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Gaussian -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 44 of 35840 differ; max |diff| 3.05e-05, max rel 2.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 3.4e-05 max |Δ|, 2.6e-08 1 − NCC); noise: as built, 45 of 35840 differ; max |diff| 3.05e-05, max rel 3.1e-05, 1 - NCC 5.6e-16 (÷ ANTs' thread band: 3.4e-05 max |Δ|, 3.7e-09 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/model-case",
   "category": "options",
   "description": "-n RICIAN: the model name is case-insensitive",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n RICIAN -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 25 of 35840 differ; max |diff| 3.05e-05, max rel 6.6e-07, 1 - NCC 0 (÷ ANTs' thread band: 4.2e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/mask-rician",
   "category": "options",
   "description": "-x a binary mask (uint8), Rician: only voxels in the mask are centres; the bias correction only in the mask",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -x '<generated: brain-uint8>' -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 10 of 35840 differ; max |diff| 2.29e-05, max rel 5.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 4.4e-07 max |Δ|, 1e-13 1 − NCC); noise: as built, 10 of 35840 differ; max |diff| 2.29e-05, max rel 7.2e-06, 1 - NCC 2.2e-16 (÷ ANTs' thread band: 4.4e-07 max |Δ|, 3.5e-15 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/mask-gaussian",
   "category": "options",
   "description": "-x a binary mask, Gaussian",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -x '<generated: brain-uint8>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 10 of 35840 differ; max |diff| 1.53e-05, max rel 1.4e-07, 1 - NCC 0 (÷ ANTs' thread band: 2.8e-06 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/mask-fractional",
   "category": "options",
   "description": "a float mask (0, 0.3, 0.6, 0.999, 1, 1.7, 2) read as unsigned char: below 1 is 0",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -x '<generated: fractional-float32>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 2 of 35840 differ; max |diff| 7.63e-06, max rel 6.8e-08, 1 - NCC 0 (÷ ANTs' thread band: 2e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/mask-values",
   "category": "options",
   "description": "a float mask with 0.4, 255, 256, 300.5 and -1: the C++ casts to unsigned char (256 is 0, -1 is 255)",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -x '<generated: denoise-mask-values>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 1 of 35840 differ; max |diff| 1.53e-05, max rel 9.6e-08, 1 - NCC 0 (÷ ANTs' thread band: 3.3e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/mask-larger",
   "category": "options",
   "description": "a mask larger than the image on the same grid: read by the image's indices",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -x '<generated: denoise-mask-larger>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 10 of 35840 differ; max |diff| 2.29e-05, max rel 5.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 4.2e-07 max |Δ|, 9.6e-14 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/missing-mask",
   "category": "options",
   "description": "a mask that does not exist: ANTs prints a message and denoises without a mask",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -x none.nii.gz -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 25 of 35840 differ; max |diff| 3.05e-05, max rel 6.6e-07, 1 - NCC 0 (÷ ANTs' thread band: 4e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/shrink-2",
   "category": "options",
   "description": "-s 2: the filter runs on every other voxel; the noise is resampled linearly (float coordinates) onto the full grid",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -s 2 -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 93 of 35840 differ; max |diff| 1.91e-05, max rel 2.7e-06, 1 - NCC 0 (÷ ANTs' thread band: 3.1e-07 max |Δ|, 0 1 − NCC); noise: as built, 160 of 35840 differ; max |diff| 1.72e-05, max rel 4.4e-06, 1 - NCC 0 (÷ ANTs' thread band: 2.8e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/shrink-3",
   "category": "options",
   "description": "-s 3, Gaussian",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -s 3 -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "14/14",
     "reason": ""
    }
   }
  },
  {
   "id": "options/shrink-0",
   "category": "options",
   "description": "-s 0: ITK makes it 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -s 0 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 44 of 35840 differ; max |diff| 3.05e-05, max rel 2.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 0.00011 max |Δ|, 2e-07 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/shrink-2-mask",
   "category": "options",
   "description": "-s 2 with a mask on the shrunk grid",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -s 2 -x '<generated: denoise-mask-shrunk-2>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "9/9",
     "reason": ""
    }
   }
  },
  {
   "id": "options/patch-2",
   "category": "options",
   "description": "-p 2: patches of 5 x 5 x 5",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -p 2 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 25 of 35840 differ; max |diff| 3.05e-05, max rel 8.2e-07, 1 - NCC 5.6e-16 (÷ ANTs' thread band: 4.1e-07 max |Δ|, 2.9e-14 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/patch-0",
   "category": "options",
   "description": "-p 0: patches of one voxel",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -p 0 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 11 of 35840 differ; max |diff| 3.05e-05, max rel 8.8e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: inf max |Δ|, inf 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/search-1",
   "category": "options",
   "description": "-r 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -r 1 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 27 of 35840 differ; max |diff| 2.29e-05, max rel 2.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 5.2e-06 max |Δ|, 1.3e-09 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/search-3",
   "category": "options",
   "description": "-r 3, Rician",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -r 3 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 23 of 35840 differ; max |diff| 7.44e-05, max rel 3e-06, 1 - NCC 0 (÷ ANTs' thread band: 9.9e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/radii-per-axis",
   "category": "options",
   "description": "-p 1x2x1 -r 2x1x3: one radius per axis",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician -p 1x2x1 -r 2x1x3 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 29 of 35840 differ; max |diff| 4.2e-05, max rel 1.5e-06, 1 - NCC 6.7e-16 (÷ ANTs' thread band: 5.9e-07 max |Δ|, 9.5e-14 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/output-one-parameter",
   "category": "options",
   "description": "-o [out]: one bracketed name",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -o [out.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 44 of 35840 differ; max |diff| 3.05e-05, max rel 2.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 1.5e-06 max |Δ|, 6.1e-11 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "options/no-output",
   "category": "options",
   "description": "no -o: the filter runs, nothing is written, exit 0",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Rician",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "1/1",
     "reason": ""
    }
   }
  },
  {
   "id": "options/verbose",
   "category": "options",
   "description": "-v 1 (stdout is not compared: it holds timings and ITK's object dump)",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -v 1 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 44 of 35840 differ; max |diff| 3.05e-05, max rel 2.2e-07, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 1.4e-06 max |Δ|, 5.6e-11 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/int16-scaled",
   "category": "inputs",
   "description": "scaled int16 input",
   "command": "DenoiseImage -d 3 -i '<generated: head-int16-scaled>' -n Rician -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 21 of 35840 differ; max |diff| 3.05e-05, max rel 2.6e-07, 1 - NCC 0 (÷ ANTs' thread band: 4.2e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/outliers",
   "category": "inputs",
   "description": "hot, negative and zero voxels, a NaN and -inf: they spread to their patches",
   "command": "DenoiseImage -d 3 -i '<generated: head-outliers>' -n Rician -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 21 of 35840 differ; max |diff| 0.0117, max rel 9.1e-07, 1 - NCC 1.7e-15 (÷ ANTs' thread band: 9.3e-08 max |Δ|, 7.4e-15 1 − NCC); noise: as built, 21 of 35840 differ; max |diff| 0.0117, max rel 4.6e-06, 1 - NCC 0 (÷ ANTs' thread band: 9.3e-08 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/outliers-gaussian",
   "category": "inputs",
   "description": "the same, Gaussian",
   "command": "DenoiseImage -d 3 -i '<generated: head-outliers>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 37 of 35840 differ; max |diff| 0.000977, max rel 2.7e-07, 1 - NCC 0 (÷ ANTs' thread band: 2.1e-06 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/constant",
   "category": "inputs",
   "description": "a constant image (every local variance 0: no centre takes part)",
   "command": "DenoiseImage -d 3 -i '<generated: constant>' -n Rician -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "9/9",
     "reason": ""
    }
   }
  },
  {
   "id": "inputs/las-sform-only",
   "category": "inputs",
   "description": "an sform-only LAS image, -s 2 (the noise resampled through the oblique grid)",
   "command": "DenoiseImage -d 3 -i '<generated: las-sform-only>' -n Rician -s 2 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "9/9",
     "reason": ""
    }
   }
  },
  {
   "id": "inputs/negative-pixdim",
   "category": "inputs",
   "description": "a qform-only image with a negative pixdim",
   "command": "DenoiseImage -d 3 -i '<generated: negative-pixdim-qform>' -n Rician -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 22 of 35840 differ; max |diff| 9.16e-05, max rel 5.6e-06, 1 - NCC 3.6e-15 (÷ ANTs' thread band: 1.3e-06 max |Δ|, 2.4e-13 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/dim2",
   "category": "inputs",
   "description": "-d 2 on a 2D image, with the noise",
   "command": "DenoiseImage -d 2 -i '<generated: slice-2d>' -n Rician -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 1 of 1280 differ; max |diff| 1.53e-05, max rel 1.1e-07, 1 - NCC 0 (÷ ANTs' thread band: 3.6e-07 max |Δ|, 0 1 − NCC); noise: as built, 1 of 1280 differ; max |diff| 1.53e-05, max rel 8.8e-07, 1 - NCC 5.6e-16 (÷ ANTs' thread band: 3.6e-07 max |Δ|, 2.2e-14 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/dim2-mask-shrink",
   "category": "inputs",
   "description": "-d 2 with a 2D mask and -p 2, Gaussian",
   "command": "DenoiseImage -d 2 -i '<generated: slice-2d>' -x '<generated: denoise-slice-mask>' -p 2 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "9/9",
     "reason": ""
    }
   }
  },
  {
   "id": "inputs/dim2-shrink-2",
   "category": "inputs",
   "description": "-d 2 with -s 2",
   "command": "DenoiseImage -d 2 -i '<generated: slice-2d>' -n Rician -s 2 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "9/9",
     "reason": ""
    }
   }
  },
  {
   "id": "inputs/dim4",
   "category": "inputs",
   "description": "-d 4: 4D patches and search boxes (time is an axis like the others)",
   "command": "DenoiseImage -d 4 -i '<generated: series-4d>' -n Rician -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 43 of 22400 differ; max |diff| 1.91e-05, max rel 7e-07, 1 - NCC 1.1e-15 (÷ ANTs' thread band: 1.2e-06 max |Δ|, 1.6e-13 1 − NCC); noise: as built, 46 of 22400 differ; max |diff| 1.91e-05, max rel 2.9e-06, 1 - NCC 1.1e-16 (÷ ANTs' thread band: 1.2e-06 max |Δ|, 1.8e-13 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/dim4-shrink-2",
   "category": "inputs",
   "description": "-d 4 -s 2: time is shrunk too; the noise resampled in 4D",
   "command": "DenoiseImage -d 4 -i '<generated: series-4d>' -s 2 -r 1 -o [out.nii.gz,noise.nii.gz]",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "14/14",
     "reason": ""
    }
   }
  },
  {
   "id": "inputs/dim3-of-4d",
   "category": "inputs",
   "description": "-d 3 on a 4D file: its first volume, with an identity direction",
   "command": "DenoiseImage -d 3 -i '<generated: series-4d>' -n Rician -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 6 of 4480 differ; max |diff| 1.14e-05, max rel 3.3e-07, 1 - NCC 2.2e-16 (÷ ANTs' thread band: 4.6e-07 max |Δ|, 4.1e-14 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "inputs/dimension-from-file",
   "category": "inputs",
   "description": "no -d: the dimension is the file's",
   "command": "DenoiseImage -i '<generated: head-float32>' -n Rician -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 25 of 35840 differ; max |diff| 3.05e-05, max rel 6.6e-07, 1 - NCC 0 (÷ ANTs' thread band: 4e-07 max |Δ|, 0 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "errors/help",
   "category": "errors",
   "description": "--help: the usage, exit 0",
   "command": "DenoiseImage --help",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "bit-identical",
     "checks": "1/1",
     "reason": ""
    }
   }
  },
  {
   "id": "errors/shrink-not-integer",
   "category": "errors",
   "description": "-s 1.5: the parser's Convert<int> throws (ANTs aborts)",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -s 1.5 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit -6: \"s/antsCommandLineParser.h:133:\\nITK ERROR: CommandLineParser(0x5d6b64048db0): ERROR: Parse error occured during command line argument processing\\nERROR: Unable to convert '1.5' to type 'i' as signed int\"; the replica exit 1: \"larmorx: DenoiseImage:…"
    }
   }
  },
  {
   "id": "errors/dimension-5",
   "category": "errors",
   "description": "-d 5: 'Unsupported dimension'",
   "command": "DenoiseImage -d 5 -i '<generated: head-float32>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: 'Unsupported dimension'; the replica exit 1: 'Unsupported dimension'"
    }
   }
  },
  {
   "id": "errors/missing-input",
   "category": "errors",
   "description": "an input that does not exist (ANTs crashes)",
   "command": "DenoiseImage -d 3 -i none.nii.gz -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit -11: 'file <tmp>/none.nii.gz does not exist .'; the replica exit 1: 'file <tmp>/none.nii.gz does not exist . \\nlarmorx: DenoiseImage: cannot read the input image (ANTs crashes here)'"
    }
   }
  },
  {
   "id": "errors/unknown-model",
   "category": "errors",
   "description": "-n Poisson: exit 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -n Poisson -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: ''; the replica exit 1: ''"
    }
   }
  },
  {
   "id": "errors/patch-wrong-length",
   "category": "errors",
   "description": "-p 1x1 in 3D: exit 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -p 1x1 -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: ''; the replica exit 1: ''"
    }
   }
  },
  {
   "id": "errors/search-bracketed",
   "category": "errors",
   "description": "-r [2]: the option's name is empty, so no radius is read: exit 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -r [2] -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: ''; the replica exit 1: ''"
    }
   }
  },
  {
   "id": "errors/mask-other-grid",
   "category": "errors",
   "description": "a mask on another grid: ITK throws, exit 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -x '<generated: denoise-mask-other-grid>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: ''; the replica exit 1: ''"
    }
   }
  },
  {
   "id": "errors/mask-full-resolution-shrink-2",
   "category": "errors",
   "description": "-s 2 with a full-resolution mask: not on the shrunk grid, ITK throws, exit 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -s 2 -x '<generated: brain-uint8>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: ''; the replica exit 1: ''"
    }
   }
  },
  {
   "id": "errors/mask-smaller",
   "category": "errors",
   "description": "a mask that does not cover the image: ITK's requested region is outside it, exit 1",
   "command": "DenoiseImage -d 3 -i '<generated: head-float32>' -x '<generated: denoise-mask-smaller>' -o out.nii.gz",
   "results": {
    "port": {
     "outcome": "both-error",
     "verdict": "both-reject",
     "checks": "1/1",
     "reason": "ANTs exit 1: ''; the replica exit 1: ''"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds000005-sub-01/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds000005-sub-01 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <testdata-cache>/openneuro/ds000005/sub-01/anat/sub-01_T1w.nii.gz -n Rician -o sub-01_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "12/12",
     "reason": "denoised: as built, 5522 of 5898240 differ; max |diff| 0.000198, max rel 8.3e-05, 1 - NCC 6.4e-18 (÷ ANTs' thread band: 1.2e-06 max |Δ|, 2.8e-13 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds000228-sub-pixar008/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds000228-sub-pixar008 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds000228/sub-pixar008/anat/sub-pixar008_T1w.nii.gz -n Rician -o sub-pixar008_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 3530 of 6488064 differ; max |diff| 0.000132, max rel 2.9e-05, 1 - NCC 5.6e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds000256-sub-CTS203/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds000256-sub-CTS203 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds000256/sub-CTS203/anat/sub-CTS203_T1w.nii.gz -n Rician -o sub-CTS203_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 11766 of 14680064 differ; max |diff| 9.92e-05, max rel 9.2e-06, 1 - NCC 8e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds001600-sub-1/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds001600-sub-1 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <testdata-cache>/openneuro/ds001600/sub-1/anat/sub-1_T1w.nii.gz -n Rician -o sub-1_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 5374 of 11534336 differ; max |diff| 0.000366, max rel 0.00045, 1 - NCC 5.8e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds002422-sub-02/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds002422-sub-02 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds002422/sub-02/anat/sub-02_T1w.nii -n Rician -o sub-02_T1w_noise_corrected.nii -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 9076 of 11534336 differ; max |diff| 0.000793, max rel 0.00026, 1 - NCC 9.2e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds002603-sub-01/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds002603-sub-01 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds002603/sub-01/anat/sub-01_acq-SaggitalNsig1Mm1_T1w.nii.gz -n Rician -o sub-01_acq-SaggitalNsig1Mm1_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 4179 of 16384000 differ; max |diff| 0.0288, max rel 2.1e-05, 1 - NCC 5.6e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds003592-sub-280/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds003592-sub-280 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds003592/sub-280/ses-1/anat/sub-280_ses-1_T1w.nii.gz -n Rician -o sub-280_ses-1_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 9087 of 12582912 differ; max |diff| 0.000118, max rel 0.001, 1 - NCC 5.6e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds004173-sub-603309/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds004173-sub-603309 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion1_T1w.nii.gz -n Rician -o sub-603309_acq-headmotion1_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 9363 of 12582912 differ; max |diff| 0.000595, max rel 0.043, 1 - NCC 6.1e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds004173-sub-603309/anat_fit/anat_template/denoise[1]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[1]` of the fMRIPrep run ds004173-sub-603309 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-headmotion2_T1w.nii.gz -n Rician -o sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 9043 of 12582912 differ; max |diff| 0.000645, max rel 0.00038, 1 - NCC 6.6e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds004173-sub-603309/anat_fit/anat_template/denoise[2]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[2]` of the fMRIPrep run ds004173-sub-603309 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds004173/sub-603309/anat/sub-603309_acq-standard_T1w.nii.gz -n Rician -o sub-603309_acq-standard_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 9224 of 12582912 differ; max |diff| 0.000294, max rel 9.7e-05, 1 - NCC 5.6e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds004884-sub-M2079/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds004884-sub-M2079 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds004884/sub-M2079/ses-217/anat/sub-M2079_ses-217_acq-tfl3p2_run-3_T1w.nii.gz -n Rician -o sub-M2079_ses-217_acq-tfl3p2_run-3_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 2260 of 12582912 differ; max |diff| 0.000496, max rel 4.6e-05, 1 - NCC 5.8e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds004958-sub-fsm64ps/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds004958-sub-fsm64ps (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds004958/sub-fsm64ps/anat/sub-fsm64ps_acq-mprageVnav_echo-1_part-mag_T1w.nii.gz -n Rician -o sub-fsm64ps_acq-mprageVnav_echo-1_part-mag_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 11755 of 11534336 differ; max |diff| 0.000801, max rel 0.00033, 1 - NCC 8e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds005003-sub-RS001/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds005003-sub-RS001 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <workspace>/oracles/bids-views/ds005003/sub-RS001/ses-1/anat/sub-RS001_ses-1_T1w.nii.gz -n Rician -o sub-RS001_ses-1_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 7785 of 9437184 differ; max |diff| 0.00109, max rel 0.0011, 1 - NCC 9.7e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds005040-sub-002/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds005040-sub-002 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <testdata-cache>/openneuro/ds005040/sub-002/anat/sub-002_T1w.nii.gz -n Rician -o sub-002_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 5205 of 15842304 differ; max |diff| 0.0159, max rel 9.6e-05, 1 - NCC 5e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds005454-sub-16/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds005454-sub-16 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-denoised_T1w.nii.gz -n Rician -o sub-16_acq-denoised_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 8446 of 17547264 differ; max |diff| 0.00394, max rel 0.00026, 1 - NCC 6.3e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds005454-sub-16/anat_fit/anat_template/denoise[1]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[1]` of the fMRIPrep run ds005454-sub-16 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <testdata-cache>/openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz -n Rician -o sub-16_acq-mp2rage_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 10951 of 17547264 differ; max |diff| 0.0015, max rel 4.8e-05, 1 - NCC 1.6e-17 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/fmriprep/ds005752-sub-ON01016/anat_fit/anat_template/denoise[0]",
   "category": "panel-fmriprep",
   "description": "fMRIPrep 25.2.6's DenoiseImage node `anat_fit/anat_template/denoise[0]` of the fMRIPrep run ds005752-sub-ON01016 (anat_fit_wf/anat_template_wf/denoise): its command.txt replayed, its inputs from the run's working directory",
   "command": "DenoiseImage -i <testdata-cache>/openneuro/ds005752/sub-ON01016/ses-01/anat/sub-ON01016_ses-01_acq-FSPGR_rec-SCIC_T1w.nii.gz -n Rician -o sub-ON01016_ses-01_acq-FSPGR_rec-SCIC_T1w_noise_corrected.nii.gz -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "10/10",
     "reason": "denoised: as built, 4286 of 12845056 differ; max |diff| 0.000397, max rel 0.00066, 1 - NCC 5.9e-18 (÷ ANTs' thread band: – max |Δ|, – 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/images/rician/7t-mp2rage",
   "category": "panel-images",
   "description": "sMRIPrep's command (-n Rician -s 1, the noise saved) on the raw 7 T MP2RAGE: the panel's largest anatomical image, its noisy background (ds005454 sub-16: 7 T MP2RAGE uniform image as reconstructed (0.8 mm, 224 x 272 x 288, its noisy background kept), the panel's largest anatomical image)",
   "command": "DenoiseImage -i openneuro/ds005454/sub-16/anat/sub-16_acq-mp2rage_T1w.nii.gz -n Rician -o [ out.nii.gz, noise.nii.gz ] -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 10951 of 17547264 differ; max |diff| 0.0015, max rel 4.8e-05, 1 - NCC 1.6e-17 (÷ ANTs' thread band: 2.4e-06 max |Δ|, 3e-12 1 − NCC); noise: as built, 11205 of 17547264 differ; max |diff| 0.0015, max rel 0.013, 1 - NCC 2.2e-16 (÷ ANTs' thread band: 2.4e-06 max |Δ|, 2.9e-12 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/images/rician/flair",
   "category": "panel-images",
   "description": "the same on a FLAIR of 0.42 x 0.42 x 3 mm voxels (384 x 512 x 44) (ds003592 sub-280: an 82-year-old's FLAIR (0.42 x 0.42 x 3 mm, 44 slices))",
   "command": "DenoiseImage -i openneuro/ds003592/sub-280/ses-1/anat/sub-280_ses-1_FLAIR.nii.gz -n Rician -o [ out.nii.gz, noise.nii.gz ] -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 7787 of 8650752 differ; max |diff| 0.000318, max rel 0.0069, 1 - NCC 1.1e-17 (÷ ANTs' thread band: 1.5e-06 max |Δ|, 5.1e-14 1 − NCC); noise: as built, 7913 of 8650752 differ; max |diff| 0.000318, max rel 0.0088, 1 - NCC 1.8e-15 (÷ ANTs' thread band: 1.5e-06 max |Δ|, 5.1e-14 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/images/rician/child-t2w",
   "category": "panel-images",
   "description": "the same on a child's 0.8 mm T2w (ds000256 sub-CTS203: a 7.5-year-old's 0.8 mm T2w)",
   "command": "DenoiseImage -i openneuro/ds000256/sub-CTS203/anat/sub-CTS203_T2w.nii.gz -n Rician -o [ out.nii.gz, noise.nii.gz ] -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 10119 of 14680064 differ; max |diff| 7.15e-05, max rel 0.0011, 1 - NCC 9.1e-18 (÷ ANTs' thread band: 3e-06 max |Δ|, 1.5e-12 1 − NCC); noise: as built, 10285 of 14680064 differ; max |diff| 7.15e-05, max rel 0.0029, 1 - NCC 4.4e-16 (÷ ANTs' thread band: 3e-06 max |Δ|, 1.5e-12 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  },
  {
   "id": "panel/images/gaussian/1.5t-float32",
   "category": "panel-images",
   "description": "-n Gaussian on a float32 1.5 T MPRAGE stored uncompressed (ds002422 sub-02: 1.5 T MPRAGE of a 75-year-old (float32, PSR storage, uncompressed))",
   "command": "DenoiseImage -i openneuro/ds002422/sub-02/anat/sub-02_T1w.nii -n Gaussian -o [ out.nii.gz, noise.nii.gz ] -s 1",
   "results": {
    "port": {
     "outcome": "pass",
     "verdict": "identical-cr",
     "checks": "20/20",
     "reason": "denoised: as built, 8150 of 11534336 differ; max |diff| 0.000122, max rel 3.3e-07, 1 - NCC 7.7e-18 (÷ ANTs' thread band: 0.33 max |Δ|, 0.0065 1 − NCC); noise: as built, 8370 of 11534336 differ; max |diff| 0.000122, max rel 0.0013, 1 - NCC 6.6e-16 (÷ ANTs' thread band: 0.33 max |Δ|, 0.0065 1 − NCC); bit-identical with correctly rounded maths"
    }
   }
  }
 ],
 "cases_total": 72,
 "band": {
  "title": "Variability, the replica against the original divided by the original against itself between thread counts: ANTs `DenoiseImage` 2.6.5, 32 of the 33 cases that differ from it as built (log scale)",
  "axis": [
   1e-16,
   0.001
  ],
  "ticks": [
   [
    1e-16,
    "1e-16×"
   ],
   [
    1e-15,
    "1e-15×"
   ],
   [
    1.0000000000000002e-14,
    "1e-14×"
   ],
   [
    1.0000000000000002e-13,
    "1e-13×"
   ],
   [
    1.0000000000000002e-12,
    "1e-12×"
   ],
   [
    1.0000000000000001e-11,
    "1e-11×"
   ],
   [
    1.0000000000000002e-10,
    "1e-10×"
   ],
   [
    1.0000000000000003e-09,
    "1e-09×"
   ],
   [
    1.0000000000000004e-08,
    "1e-08×"
   ],
   [
    1.0000000000000004e-07,
    "1e-07×"
   ],
   [
    1.0000000000000004e-06,
    "1e-06×"
   ],
   [
    1.0000000000000004e-05,
    "1e-05×"
   ],
   [
    0.00010000000000000005,
    "0.0001×"
   ],
   [
    0.0010000000000000005,
    "0.001×"
   ]
  ],
  "rows": [
   {
    "case": "fmriprep/smriprep-t1w",
    "output": "denoised",
    "ratio_max": 7.3e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "fmriprep/smriprep-t1w-ds000210",
    "output": "denoised",
    "ratio_max": 3.6e-06,
    "ratio_ncc": 5e-09
   },
   {
    "case": "fmriprep/smriprep-t1w-ds000210",
    "output": "noise",
    "ratio_max": 3.6e-06,
    "ratio_ncc": 0.0
   },
   {
    "case": "fmriprep/t1w-preproc-mask",
    "output": "denoised",
    "ratio_max": 8.1e-07,
    "ratio_ncc": 4.1e-08
   },
   {
    "case": "fmriprep/t1w-preproc-mask",
    "output": "noise",
    "ratio_max": 8.1e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "fmriprep/mni-t1w",
    "output": "denoised",
    "ratio_max": 9.7e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "fmriprep/boldref",
    "output": "denoised",
    "ratio_max": 6e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "fmriprep/boldref",
    "output": "noise",
    "ratio_max": 6e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "fmriprep/magnitude",
    "output": "denoised",
    "ratio_max": 3.9e-07,
    "ratio_ncc": 1.7e-12
   },
   {
    "case": "options/defaults",
    "output": "denoised",
    "ratio_max": 4.8e-06,
    "ratio_ncc": 5.4e-10
   },
   {
    "case": "options/rician",
    "output": "denoised",
    "ratio_max": 4.2e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/rician",
    "output": "noise",
    "ratio_max": 4.2e-07,
    "ratio_ncc": 8.9e-16
   },
   {
    "case": "options/gaussian",
    "output": "denoised",
    "ratio_max": 3.4e-05,
    "ratio_ncc": 2.6e-08
   },
   {
    "case": "options/gaussian",
    "output": "noise",
    "ratio_max": 3.4e-05,
    "ratio_ncc": 3.7e-09
   },
   {
    "case": "options/model-case",
    "output": "denoised",
    "ratio_max": 4.2e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/mask-rician",
    "output": "denoised",
    "ratio_max": 4.4e-07,
    "ratio_ncc": 1e-13
   },
   {
    "case": "options/mask-rician",
    "output": "noise",
    "ratio_max": 4.4e-07,
    "ratio_ncc": 3.5e-15
   },
   {
    "case": "options/mask-gaussian",
    "output": "denoised",
    "ratio_max": 2.8e-06,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/mask-fractional",
    "output": "denoised",
    "ratio_max": 2e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/mask-values",
    "output": "denoised",
    "ratio_max": 3.3e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/mask-larger",
    "output": "denoised",
    "ratio_max": 4.2e-07,
    "ratio_ncc": 9.6e-14
   },
   {
    "case": "options/missing-mask",
    "output": "denoised",
    "ratio_max": 4e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/shrink-2",
    "output": "denoised",
    "ratio_max": 3.1e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/shrink-2",
    "output": "noise",
    "ratio_max": 2.8e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/shrink-0",
    "output": "denoised",
    "ratio_max": 0.00011,
    "ratio_ncc": 2e-07
   },
   {
    "case": "options/patch-2",
    "output": "denoised",
    "ratio_max": 4.1e-07,
    "ratio_ncc": 2.9e-14
   },
   {
    "case": "options/search-1",
    "output": "denoised",
    "ratio_max": 5.2e-06,
    "ratio_ncc": 1.3e-09
   },
   {
    "case": "options/search-3",
    "output": "denoised",
    "ratio_max": 9.9e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "options/radii-per-axis",
    "output": "denoised",
    "ratio_max": 5.9e-07,
    "ratio_ncc": 9.5e-14
   },
   {
    "case": "options/output-one-parameter",
    "output": "denoised",
    "ratio_max": 1.5e-06,
    "ratio_ncc": 6.1e-11
   },
   {
    "case": "options/verbose",
    "output": "denoised",
    "ratio_max": 1.4e-06,
    "ratio_ncc": 5.6e-11
   },
   {
    "case": "inputs/int16-scaled",
    "output": "denoised",
    "ratio_max": 4.2e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "inputs/outliers",
    "output": "denoised",
    "ratio_max": 9.3e-08,
    "ratio_ncc": 7.4e-15
   },
   {
    "case": "inputs/outliers",
    "output": "noise",
    "ratio_max": 9.3e-08,
    "ratio_ncc": 0.0
   },
   {
    "case": "inputs/outliers-gaussian",
    "output": "denoised",
    "ratio_max": 2.1e-06,
    "ratio_ncc": 0.0
   },
   {
    "case": "inputs/negative-pixdim",
    "output": "denoised",
    "ratio_max": 1.3e-06,
    "ratio_ncc": 2.4e-13
   },
   {
    "case": "inputs/dim2",
    "output": "denoised",
    "ratio_max": 3.6e-07,
    "ratio_ncc": 0.0
   },
   {
    "case": "inputs/dim2",
    "output": "noise",
    "ratio_max": 3.6e-07,
    "ratio_ncc": 2.2e-14
   },
   {
    "case": "inputs/dim4",
    "output": "denoised",
    "ratio_max": 1.2e-06,
    "ratio_ncc": 1.6e-13
   },
   {
    "case": "inputs/dim4",
    "output": "noise",
    "ratio_max": 1.2e-06,
    "ratio_ncc": 1.8e-13
   },
   {
    "case": "inputs/dim3-of-4d",
    "output": "denoised",
    "ratio_max": 4.6e-07,
    "ratio_ncc": 4.1e-14
   },
   {
    "case": "inputs/dimension-from-file",
    "output": "denoised",
    "ratio_max": 4e-07,
    "ratio_ncc": 0.0
   }
  ],
  "note": "From the record's table: ANTs at 2, 4 and 12 threads against 1 thread give ANTs' thread band for each case and output; a ratio below 1 lies inside it, and a 1 − NCC of 0 is not drawn. Every one of these differences vanishes with correctly rounded maths. Not drawn: `options/patch-0` (denoised), where ANTs' threads change nothing (a band of 0) and the replica differs from ANTs as built by glibc's maths alone.",
  "port": "replica",
  "software": "ANTs"
 },
 "speed": {
  "title": "Speed, the replica against the original: ANTs `DenoiseImage` 2.6.5",
  "axis": [
   0.01,
   1000.0
  ],
  "ticks": [
   [
    0.01,
    "0.01 s"
   ],
   [
    0.1,
    "0.1 s"
   ],
   [
    1.0,
    "1 s"
   ],
   [
    10.0,
    "10 s"
   ],
   [
    100.0,
    "100 s"
   ],
   [
    1000.0,
    "1000 s"
   ]
  ],
  "series": [
   {
    "id": "ANTs 2.6.5|1",
    "label": "ANTs DenoiseImage, 1 thread",
    "mark": "original",
    "port": "original"
   },
   {
    "id": "ANTs 2.6.5|12",
    "label": "ANTs DenoiseImage, 12 threads",
    "mark": "original-open",
    "port": "original"
   },
   {
    "id": "larmorx|1",
    "label": "replica, 1 thread",
    "mark": "replica",
    "port": "replica"
   },
   {
    "id": "larmorx|12",
    "label": "replica, 12 threads",
    "mark": "replica-open",
    "port": "replica"
   }
  ],
  "rows": [
   {
    "label": "sMRIPrep's call, T1w ds000005",
    "input": "sMRIPrep: -n Rician -s 1, raw T1w ds000005 (160×192×192)",
    "seconds": {
     "ANTs 2.6.5|1": 217.35315992869437,
     "ANTs 2.6.5|12": 45.1929120644927,
     "larmorx|1": 13.009546276181936,
     "larmorx|12": 2.895369701087475
    },
    "speedup": 16.70720525639143
   },
   {
    "label": "sMRIPrep's call, T1w ds000210",
    "input": "sMRIPrep: -n Rician -s 1, T1w ds000210 (256×256×176)",
    "seconds": {
     "ANTs 2.6.5|1": 213.43607630766928,
     "ANTs 2.6.5|12": 46.2509926520288,
     "larmorx|1": 16.343626467511058,
     "larmorx|12": 3.8196749836206436
    },
    "speedup": 13.059285020491116
   },
   {
    "label": "Rician, MNI template 2 mm",
    "input": "-n Rician, MNI152NLin2009cAsym T1w res-02 (97×115×97)",
    "seconds": {
     "ANTs 2.6.5|1": 25.960046285763383,
     "ANTs 2.6.5|12": 5.694595329463482,
     "larmorx|1": 2.4374600276350975,
     "larmorx|12": 0.5504430830478668
    },
    "speedup": 10.65045005515461
   },
   {
    "label": "Gaussian, T1w ds000005",
    "input": "-n Gaussian (ANTs' default model), raw T1w ds000005",
    "seconds": {
     "ANTs 2.6.5|1": 213.56991346925497,
     "ANTs 2.6.5|12": 45.42795112170279,
     "larmorx|1": 12.572051826864481,
     "larmorx|12": 2.7972808610647917
    },
    "speedup": 16.98767364392262
   },
   {
    "label": "Rician, BOLD reference",
    "input": "-n Rician, BOLD reference ds000005 (64×64×34)",
    "seconds": {
     "ANTs 2.6.5|1": 1.4101564157754183,
     "ANTs 2.6.5|12": 0.2822153829038143,
     "larmorx|1": 0.20602145977318287,
     "larmorx|12": 0.04853137023746967
    },
    "speedup": 6.844706455958107
   },
   {
    "label": "Rician, field-map magnitude",
    "input": "-n Rician, fieldmap magnitude ds003012 (64×64×36)",
    "seconds": {
     "ANTs 2.6.5|1": 3.707301776856184,
     "ANTs 2.6.5|12": 0.8009682428091764,
     "larmorx|1": 0.34500595182180405,
     "larmorx|12": 0.0747541468590498
    },
    "speedup": 10.745616872056194
   }
  ],
  "note": "From the benchmark report `docs/benchmarks/ants-denoise.json` (Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz, 12 logical CPUs).",
  "caption": "Seconds for the whole command (reading, denoising, writing), the median of repeated runs, on a log scale. The factor is how many times faster the replica is than ANTs, both on one thread."
 },
 "examples": [
  {
   "id": "fmriprep-denoise",
   "title": "fMRIPrep's denoising of a real T1w",
   "summary": "The first step of fMRIPrep 25.2.6's anatomical workflow on OpenNeuro ds000005 sub-01: the raw T1w and the arguments it gave DenoiseImage (sMRIPrep's Rician model), given to the repository's ANTs 2.6.5 at 1 to 12 threads (six times at 8 and three at 12; two of the runs at 8 shown), with correctly rounded maths, to fMRIPrep's own ANTs at one thread, and to the replica in both modes.",
   "facts": [
    {
     "label": "Data",
     "text": "OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001, sub-01's T1w (PDDL-1.0); shown inside fMRIPrep's brain mask, dilated by 2 voxels"
    },
    {
     "label": "Node",
     "text": "fMRIPrep 25.2.6, `anat_fit_wf/anat_template_wf/denoise`, run with `NSLOTS=8`"
    },
    {
     "label": "Command",
     "text": "`DenoiseImage -i /data/sub-01/anat/sub-01_T1w.nii.gz -n Rician -o sub-01_T1w_noise_corrected.nii.gz -s 1`"
    },
    {
     "label": "Programs",
     "text": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; ANTs 2.6.2.dev1-gff61a3d (conda-forge) in fMRIPrep's image; CORE-MATH preloaded where stated; the replica at commit `1dfe56c0dc60`"
    },
    {
     "label": "Repeats",
     "text": "the same command by ANTs 2.6.5 at 8 threads 6 times: 1 distinct result; at 12 threads 3 times: 1 distinct result (2026-10-21; earlier runs at 8 threads differed, [findings](repo:docs/findings/ants-denoise.md))"
    },
    {
     "label": "ANTS-43",
     "text": "The replica's default, `fix`, changes 437,915 of 5,898,240 values, by up to 2.81 (the metrics below)"
    },
    {
     "label": "Grid",
     "text": "160 × 192 × 192 voxels of 1 × 1.33 × 1.33 mm; shown: 151 × 125 × 111 around the brain"
    }
   ],
   "grid": {
    "shape": [
     151,
     125,
     111
    ],
    "spacing": [
     1.0,
     1.333333,
     1.333333
    ],
    "to_file": [
     [
      1,
      0,
      0,
      4
     ],
     [
      0,
      1,
      0,
      18
     ],
     [
      0,
      0,
      1,
      32
     ],
     [
      0,
      0,
      0,
      1
     ]
    ],
    "affine": [
     [
      1.0,
      0.0,
      0.0,
      -77.0
     ],
     [
      0.0,
      1.333333,
      0.0,
      -109.000006
     ],
     [
      0.0,
      0.0,
      1.333333,
      -86.333344
     ],
     [
      0.0,
      0.0,
      0.0,
      1.0
     ]
    ],
    "file_shape": [
     160,
     192,
     192
    ],
    "orientation": "RAS (shown in neurological convention: the subject's left on the left)"
   },
   "mask": {
    "blob": "b856c0b70af862db49292f74.bin",
    "dtype": "u1",
    "bytes": 25628
   },
   "outputs": [
    {
     "id": "denoised",
     "label": "Denoised T1w",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": 0.0,
       "hi": 399.51782745361317
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -0.00023651123046875,
       "hi": 763.0802612304688
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    }
   ],
   "panels": [
    {
     "id": "t1w",
     "role": "input",
     "label": "ds000005 sub-01 T1w, raw",
     "sub": "int16, as fMRIPrep read it from the dataset",
     "arrays": {
      "all": {
       "blob": "8629ddb6a5fbb9843e63366b.bin",
       "dtype": "i2",
       "bytes": 940725
      }
     },
     "window": [
      11.0,
      410.0
     ],
     "port": "input"
    },
    {
     "id": "larmorx",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · 1 thread, reproduce · against ANTs DenoiseImage 2.6.5",
     "arrays": {
      "denoised": {
       "blob": "1a97322a782bdb0db70cc5af.bin",
       "dtype": "f4",
       "bytes": 2689094
      }
     },
     "own": {
      "denoised": [
       0.0,
       399.51782745361317
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-12",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · 12 threads, reproduce",
     "arrays": {
      "denoised": {
       "same": "larmorx:denoised",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       0.0,
       399.51782745361317
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-fix",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · 1 thread, fix (the default): ANTS-43 corrected",
     "arrays": {
      "denoised": {
       "blob": "d6f8ef503b54967d83a1ac7e.bin",
       "dtype": "f4",
       "xor": "larmorx-12:denoised",
       "zero": false,
       "bytes": 1042481
      }
     },
     "own": {
      "denoised": [
       0.0,
       398.95401229858385
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-12-fix",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · 12 threads, fix (the default)",
     "arrays": {
      "denoised": {
       "same": "larmorx-fix:denoised",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       0.0,
       398.95401229858385
      ]
     },
     "port": "replica"
    },
    {
     "id": "ants-1-cr",
     "role": "reference",
     "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "sub": "1 thread · the same binary, CORE-MATH preloaded",
     "arrays": {
      "denoised": {
       "same": "larmorx:denoised",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       0.0,
       399.51782745361317
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "1 thread, as built · the repository's build (GCC 14.3), glibc's maths",
     "arrays": {
      "denoised": {
       "blob": "25ef305e0bf18687269a33bd.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:denoised",
       "zero": false,
       "bytes": 9892
      }
     },
     "own": {
      "denoised": [
       0.0,
       399.51782745361317
      ]
     },
     "port": "original"
    },
    {
     "id": "image-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.2, fMRIPrep's build",
     "sub": "1 thread · conda-forge's build, glibc's maths",
     "arrays": {
      "denoised": {
       "same": "ants-1:denoised",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       0.0,
       399.51782745361317
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-8",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "8 threads · as built (fMRIPrep ran 8)",
     "arrays": {
      "denoised": {
       "blob": "809b51de266b0b2aac65d075.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 1253635
      }
     },
     "own": {
      "denoised": [
       1.8917547082901,
       399.4561622619626
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-8b",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "8 threads · run 2 of 6, the same command: the same bytes",
     "arrays": {
      "denoised": {
       "same": "ants-8:denoised",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       1.8917547082901,
       399.4561622619626
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-12",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "12 threads · as built",
     "arrays": {
      "denoised": {
       "blob": "484db0d6694f4142d0b7c6d1.bin",
       "dtype": "f4",
       "xor": "ants-8:denoised",
       "zero": false,
       "bytes": 1260593
      }
     },
     "own": {
      "denoised": [
       4.081471025943756,
       399.41632736206026
      ]
     },
     "port": "original"
    },
    {
     "id": "fmriprep",
     "role": "fmriprep",
     "label": "fMRIPrep's output",
     "sub": "fMRIPrep 25.2.6, as it ran: ANTs 2.6.2 in its image, 8 threads (NSLOTS=8)",
     "arrays": {
      "denoised": {
       "blob": "6804d082af41f80633b6ab1c.bin",
       "dtype": "f4",
       "xor": "ants-8:denoised",
       "zero": false,
       "bytes": 69024
      }
     },
     "own": {
      "denoised": [
       1.9661033225059534,
       399.45895446777337
      ]
     },
     "port": "fmriprep"
    }
   ],
   "diffs": [
    {
     "id": "lx-ants1",
     "a": "larmorx",
     "b": "ants-1",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, 1 thread, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 5522,
       "share": 0.0009362114800347222,
       "max_abs": 0.0001983642578125,
       "at": [
        54,
        86,
        28
       ],
       "a_at": 22.637001037597656,
       "b_at": 22.63719940185547,
       "rms": 3.4303313433506327e-07,
       "range": 1428.7581977844238,
       "max_rel_range": 1.388368291570285e-07,
       "one_minus_ncc": 6.41535501693062e-18,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 6.103515625e-05,
       "at": [
        27,
        43,
        90
       ],
       "a": 426.7028503417969,
       "b": 426.7027893066406,
       "differ": 615
      }
     },
     "verdict": "identical-cr",
     "reason": "Only where glibc's expf is not correctly rounded for a value the run meets: with CORE-MATH preloaded, the same ANTs binary gives the replica's output bit for bit.",
     "links": [
      {
       "label": "platform maths",
       "href": "docs/findings/platform-math.md"
      }
     ],
     "port": "replica"
    },
    {
     "id": "lx-cr",
     "a": "larmorx",
     "b": "ants-1-cr",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, 1 thread, correctly rounded maths",
     "role_label": "the replica against the original: correctly rounded maths",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1428.7581977844238,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      }
     },
     "verdict": "bit-identical",
     "reason": "With correctly rounded maths, ANTs computes exactly what the replica computes.",
     "links": [],
     "port": "replica"
    },
    {
     "id": "lx-fmriprep",
     "a": "larmorx",
     "b": "fmriprep",
     "kind": "fmriprep",
     "label": "replica − fMRIPrep's output",
     "role_label": "the replica against fMRIPrep's output",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 4900422,
       "share": 0.8308278401692708,
       "max_abs": 270.68914794921875,
       "at": [
        66,
        88,
        12
       ],
       "a_at": 270.689453125,
       "b_at": 0.00030517578125,
       "rms": 1.428326315303069,
       "range": 1420.3264389038086,
       "max_rel_range": 0.19058234820872128,
       "one_minus_ncc": 0.00011118662416020756,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 108.74019622802734,
       "at": [
        61,
        78,
        46
       ],
       "a": 0.0,
       "b": 108.74019622802734,
       "differ": 522030
      }
     },
     "verdict": "within-variability",
     "reason": "fMRIPrep's output is one of ANTs' results at 8 threads, which move with the threads' order (the reference rows: ANTs at 8 threads against one thread, and fMRIPrep's run against the repository's at 8); the replica's is ANTs' one-thread result with correctly rounded maths.",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "replica"
    },
    {
     "id": "fix-lx",
     "a": "larmorx-fix",
     "b": "larmorx",
     "kind": "main",
     "label": "replica, fix − reproduce (ANTS-43)",
     "role_label": "the replica against itself: fix and reproduce (ANTS-43)",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 437915,
       "share": 0.07424502902560765,
       "max_abs": 2.80596923828125,
       "at": [
        106,
        122,
        83
       ],
       "a_at": 545.8094482421875,
       "b_at": 548.6154174804688,
       "rms": 0.1803511257815699,
       "range": 1428.7581977844238,
       "max_rel_range": 0.001963921706718791,
       "one_minus_ncc": 1.1958098337345064e-06,
       "at_display": [
        102,
        104,
        51
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 2.23577880859375,
       "at": [
        26,
        41,
        90
       ],
       "a": 440.2595520019531,
       "b": 442.4953308105469,
       "differ": 380882
      }
     },
     "verdict": "d13",
     "reason": "ANTS-43, corrected by default with a warning: where ITK's Rician correction factor overflows to NaN its bias becomes 0; the replica computes the factor in double with scaled Bessel functions. In `reproduce`, the replica gives ANTs' result.",
     "links": [
      {
       "label": "ANTS-43",
       "href": "docs/findings/upstream-defects.md#ants-43-denoiseimages-rician-correction-becomes-nan--c"
      }
     ],
     "port": "replica"
    },
    {
     "id": "lx12-lx1",
     "a": "larmorx-12",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, 12 threads − 1 thread",
     "role_label": "the replica against itself: 1 and 12 threads",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1428.7581977844238,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      }
     },
     "verdict": "bit-identical",
     "reason": "The replica gives ANTs' single-thread result on any number of threads.",
     "links": [],
     "port": "replica"
    },
    {
     "id": "fix12-fix1",
     "a": "larmorx-12-fix",
     "b": "larmorx-fix",
     "kind": "check",
     "label": "replica, fix, 12 threads − 1 thread",
     "role_label": "the replica against itself: 1 and 12 threads",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1428.7581977844238,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      }
     },
     "verdict": "bit-identical",
     "reason": "The same bytes on any number of threads.",
     "links": [],
     "port": "replica"
    },
    {
     "id": "ants8b-ants8",
     "a": "ants-8b",
     "b": "ants-8",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads: another run − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1420.3264389038086,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    },
    {
     "id": "ants2-ants1",
     "a": "ants-2",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 2 threads − 1 thread",
     "role_label": "the original against itself: 1 and 2 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 1253922,
       "share": 0.21259256998697917,
       "max_abs": 96.82682037353516,
       "at": [
        95,
        88,
        24
       ],
       "a_at": 96.82682037353516,
       "b_at": 0.0,
       "rms": 0.4974004020401205,
       "range": 1428.7581977844238,
       "max_rel_range": 0.06776991412800609,
       "one_minus_ncc": 1.3478361232614739e-05
      }
     },
     "verdict": null,
     "reason": "ANTs' result moves with its thread count (ANTS-42).",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "original"
    },
    {
     "id": "ants3-ants1",
     "a": "ants-3",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 3 threads − 1 thread",
     "role_label": "the original against itself: 1 and 3 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 2091816,
       "share": 0.35465087890625,
       "max_abs": 161.2247772216797,
       "at": [
        53,
        95,
        31
       ],
       "a_at": 9.1552734375e-05,
       "b_at": 161.22486877441406,
       "rms": 0.649256969683305,
       "range": 1428.7581977844238,
       "max_rel_range": 0.11284259118981158,
       "one_minus_ncc": 2.296719085406507e-05
      }
     },
     "verdict": null,
     "reason": "ANTs' result moves with its thread count (ANTS-42).",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "original"
    },
    {
     "id": "ants4-ants1",
     "a": "ants-4",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 4 threads − 1 thread",
     "role_label": "the original against itself: 1 and 4 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 2919781,
       "share": 0.4950258043077257,
       "max_abs": 270.68914794921875,
       "at": [
        66,
        88,
        12
       ],
       "a_at": 0.00030517578125,
       "b_at": 270.689453125,
       "rms": 1.0412708499702716,
       "range": 1428.7581977844238,
       "max_rel_range": 0.18945763416719258,
       "one_minus_ncc": 5.9078064515762164e-05
      }
     },
     "verdict": null,
     "reason": "ANTs' result moves with its thread count (ANTS-42).",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "original"
    },
    {
     "id": "ants8-ants1",
     "a": "ants-8",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads − 1 thread",
     "role_label": "the original against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 4816840,
       "share": 0.8166571723090278,
       "max_abs": 270.68914794921875,
       "at": [
        66,
        88,
        12
       ],
       "a_at": 0.00030517578125,
       "b_at": 270.689453125,
       "rms": 1.421119800128211,
       "range": 1428.7581977844238,
       "max_rel_range": 0.18945763416719258,
       "one_minus_ncc": 0.00011006776083258346,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 108.74019622802734,
       "at": [
        61,
        78,
        46
       ],
       "a": 108.74019622802734,
       "b": 0.0,
       "differ": 508703
      }
     },
     "verdict": null,
     "reason": "ANTs' result moves with its thread count (ANTS-42).",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "original"
    },
    {
     "id": "ants12-ants1",
     "a": "ants-12",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 12 threads − 1 thread",
     "role_label": "the original against itself: 1 and 12 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 5029725,
       "share": 0.8527501424153646,
       "max_abs": 270.6891784667969,
       "at": [
        66,
        88,
        12
       ],
       "a_at": 0.000274658203125,
       "b_at": 270.689453125,
       "rms": 1.6990666235110001,
       "range": 1428.7581977844238,
       "max_rel_range": 0.18945765552670477,
       "one_minus_ncc": 0.0001573463006729348,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 106.90594482421875,
       "at": [
        100,
        72,
        32
       ],
       "a": 0.0,
       "b": 106.90594482421875,
       "differ": 550727
      }
     },
     "verdict": null,
     "reason": "ANTs' result moves with its thread count (ANTS-42).",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "original"
    },
    {
     "id": "fmriprep-ants8",
     "a": "fmriprep",
     "b": "ants-8",
     "kind": "variability",
     "label": "fMRIPrep's output − ANTs DenoiseImage 2.6.5, 8 threads",
     "role_label": "the original against itself: fMRIPrep's run and the repository's build",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 163367,
       "share": 0.027697584364149305,
       "max_abs": 72.64899444580078,
       "at": [
        108,
        87,
        53
       ],
       "a_at": 72.64899444580078,
       "b_at": 0.0,
       "rms": 0.14364703910707918,
       "range": 1420.3264389038086,
       "max_rel_range": 0.05114950511086059,
       "one_minus_ncc": 1.1251092976701415e-06,
       "at_display": [
        104,
        69,
        21
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 69.93842315673828,
       "at": [
        79,
        66,
        22
       ],
       "a": 0.0,
       "b": 69.93842315673828,
       "differ": 25092
      }
     },
     "verdict": null,
     "reason": "ANTs' result moves with its thread count (ANTS-42).",
     "links": [
      {
       "label": "ANTS-42",
       "href": "docs/findings/upstream-defects.md#ants-42-denoiseimage-depends-on-threads-and-races--b"
      }
     ],
     "port": "fmriprep"
    },
    {
     "id": "image1-ants1",
     "a": "image-1",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.2 − 2.6.5, 1 thread each, as built",
     "role_label": "the original against itself: fMRIPrep's build and the repository's",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1428.7581977844238,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      }
     },
     "verdict": null,
     "reason": "ANTs' version and build play no part at one thread.",
     "links": [],
     "port": "original"
    },
    {
     "id": "rep-ants-8-r3",
     "a": "ants-8-r3",
     "b": "ants-8",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads: run 3 − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1420.3264389038086,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    },
    {
     "id": "rep-ants-8-r4",
     "a": "ants-8-r4",
     "b": "ants-8",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads: run 4 − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1420.3264389038086,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    },
    {
     "id": "rep-ants-8-r5",
     "a": "ants-8-r5",
     "b": "ants-8",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads: run 5 − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1420.3264389038086,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    },
    {
     "id": "rep-ants-8-r6",
     "a": "ants-8-r6",
     "b": "ants-8",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads: run 6 − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.69081974029541,
       "b_at": 3.69081974029541,
       "rms": 0.0,
       "range": 1420.3264389038086,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    },
    {
     "id": "rep-ants-12-r2",
     "a": "ants-12-r2",
     "b": "ants-12",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 12 threads: run 2 − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.6912691593170166,
       "b_at": 3.6912691593170166,
       "rms": 0.0,
       "range": 1422.225242614746,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    },
    {
     "id": "rep-ants-12-r3",
     "a": "ants-12-r3",
     "b": "ants-12",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 12 threads: run 3 − run 1",
     "role_label": "the original against itself: two runs of the same command",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 3.6912691593170166,
       "b_at": 3.6912691593170166,
       "rms": 0.0,
       "range": 1422.225242614746,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "verdict": null,
     "reason": "The same bytes.",
     "links": [],
     "port": "original"
    }
   ],
   "default": {
    "output": "denoised",
    "plane": "coronal",
    "voxel": [
     61,
     48,
     63
    ],
    "panels": [
     "t1w",
     "ants-1",
     "ants-8",
     "larmorx"
    ],
    "diffs": [
     "ants8-ants1",
     "fmriprep-ants8",
     "lx-ants1",
     "fix-lx"
    ],
    "compare": {
     "a": "ants-8",
     "b": "ants-1"
    },
    "scale": "log"
   },
   "poster": {
    "plane": "coronal",
    "slice": 48,
    "aspect": 1.02027,
    "panels": {
     "t1w": "9a0651c87bd732ea1f2f40e4.webp",
     "ants-1": "563e8d1f7d357b32ff63f1c2.webp",
     "ants-8": "a62be6b46cbeef1b6d65d203.webp",
     "larmorx": "563e8d1f7d357b32ff63f1c2.webp"
    },
    "diffs": {
     "fmriprep-ants8": "c4109e980912970491df5374.webp",
     "ants8-ants1": "1981dadf07678955a47cffb6.webp",
     "lx-ants1": "362cd72fc0f4921e03db9b8d.webp",
     "fix-lx": "459a09271989ab29344e390c.webp"
    },
    "ranges": {
     "fmriprep-ants8": 108.74019622802734,
     "ants8-ants1": 108.74019622802734,
     "lx-ants1": 108.74019622802734,
     "fix-lx": 108.74019622802734
    },
    "caption": "Coronal slice 49 of 125; the crosshair where ANTs at 8 threads differs most from one thread in it; ITK's threads split the image into slabs along z, seen here as bands; the differences on one symmetric log scale over six decades below the largest."
   },
   "chain": {
    "title": "What separates fMRIPrep's output from the replica's",
    "steps": [
     {
      "nodes": [
       {
        "label": "fMRIPrep 25.2.6, as it ran",
        "sub": "ANTs 2.6.2 in its image, 8 threads (NSLOTS=8)",
        "role": "fmriprep",
        "port": "fmriprep"
       }
      ]
     },
     {
      "nodes": [
       {
        "label": "ANTs DenoiseImage 2.6.5, 8 threads",
        "sub": "run 6 times: the same bytes every time",
        "role": "original",
        "port": "original"
       }
      ]
     },
     {
      "nodes": [
       {
        "label": "ANTs DenoiseImage 2.6.5, 1 thread, as built",
        "sub": "the repository's build (GCC 14.3), glibc's maths",
        "role": "original",
        "port": "original"
       },
       {
        "label": "ANTs DenoiseImage 2.6.2, fMRIPrep's build, 1 thread",
        "sub": "conda-forge's build, glibc's maths",
        "role": "original",
        "port": "original"
       }
      ]
     },
     {
      "nodes": [
       {
        "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths, 1 thread",
        "sub": "the same binary, CORE-MATH preloaded",
        "role": "reference",
        "port": "original"
       },
       {
        "label": "replica, reproduce",
        "sub": "1 and 12 threads",
        "role": "larmorx",
        "port": "replica"
       }
      ]
     }
    ],
    "links": [
     {
      "cause": "fMRIPrep's run at 8 threads",
      "max_abs": 72.64899444580078
     },
     {
      "cause": "1 thread instead of 8",
      "max_abs": 270.68914794921875
     },
     {
      "cause": "correctly rounded maths instead of glibc's",
      "max_abs": 0.0001983642578125
     }
    ],
    "note": "Each box holds runs that give the same bytes. Here ANTs 2.6.5 gave 1 distinct result in 6 runs at 8 threads (at 12, 1 distinct result in 3); fMRIPrep's run at 8 threads, with its own ANTs 2.6.2 build, gave another, although at one thread the two builds give the same bytes: at several threads the result depends on how the threads share the image (ANTS-42). The replica gives ANTs' one-thread result with correctly rounded maths on any number of threads; its default, `fix`, then corrects ANTS-43 (the metrics below)."
   },
   "metrics_note": "Δ is A − B. Every number is computed in float64 over all 5,898,240 voxels of the 160 × 192 × 192 outputs, not only the brain shown; the range is B's maximum minus its minimum. The rows *the original against itself* are ANTs' own variability on this input: its thread counts, two runs at 8 threads, its version.",
   "provenance": [
    "Data: OpenNeuro ds000005 (Tom et al., 2007), snapshot 00001, sub-01, PDDL-1.0",
    "Inputs: T1w (sha256 75c615d7cce397be…); fMRIPrep's denoised T1w (sha256 ec055df157667867…)",
    "Runs: figures cache entry `ants-denoise/fmriprep-ds000005-denoise and ants-denoise/fmriprep-ds000005-denoise-repeats`, computed 2026-10-21T15:20:52+00:00 with larmorx `1dfe56c0dc60`; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; ANTs Version: 2.6.2.dev1-gff61a3d Compiled: Jul 31 2025 06:55:26; every command, its environment, threads and exit status are in its `RUN_INFO.json`"
   ],
   "order": {
    "panels": [
     "t1w",
     "ants-1",
     "ants-8",
     "ants-8b",
     "ants-12",
     "image-1",
     "ants-1-cr",
     "fmriprep",
     "larmorx",
     "larmorx-12",
     "larmorx-fix",
     "larmorx-12-fix"
    ],
    "diffs": [
     "ants8-ants1",
     "ants8b-ants8",
     "ants12-ants1",
     "image1-ants1",
     "ants2-ants1",
     "ants3-ants1",
     "ants4-ants1",
     "rep-ants-8-r3",
     "rep-ants-8-r4",
     "rep-ants-8-r5",
     "rep-ants-8-r6",
     "rep-ants-12-r2",
     "rep-ants-12-r3",
     "fmriprep-ants8",
     "lx-ants1",
     "lx-cr",
     "lx-fmriprep",
     "lx12-lx1",
     "fix-lx",
     "fix12-fix1"
    ],
    "groups": [
     [
      "The original against itself: the yardstick",
      [
       "ants8-ants1",
       "ants8b-ants8",
       "ants12-ants1",
       "image1-ants1",
       "ants2-ants1",
       "ants3-ants1",
       "ants4-ants1",
       "rep-ants-8-r3",
       "rep-ants-8-r4",
       "rep-ants-8-r5",
       "rep-ants-8-r6",
       "rep-ants-12-r2",
       "rep-ants-12-r3",
       "fmriprep-ants8"
      ]
     ],
     [
      "The replica against the original and fMRIPrep's output",
      [
       "lx-ants1",
       "lx-cr",
       "lx-fmriprep"
      ]
     ],
     [
      "The replica against itself: thread counts, fix and reproduce",
      [
       "lx12-lx1",
       "fix-lx",
       "fix12-fix1"
      ]
     ]
    ]
   },
   "shows": {
    "text": "In `reproduce`, on 1 and 12 threads, the replica gives ANTs' output at one thread with correctly rounded maths, bit for bit; ANTs as built differs from it only where glibc's `expf` is not correctly rounded (5,522 of 5,898,240 voxels, by at most 0.0002). ANTs' own result moves with its thread count, by up to 271 at 8 threads against one; fMRIPrep's output, made by its ANTs 2.6.2 at 8 threads, differs from ANTs 2.6.5's at 8 threads by up to 73, although the two builds agree bit for bit at one thread; so the replica differs from fMRIPrep's output by up to 271, within ANTs' own variability between thread counts. The default, `fix`, corrects [ANTS-43](repo:docs/findings/upstream-defects.md#summary) in this call: 437,915 voxels change, by up to 2.81.",
    "verdicts": [
     {
      "diff": "lx-ants1",
      "port": "replica",
      "verdict": "identical-cr"
     }
    ]
   },
   "credits": [
    "openneuro-ds000005"
   ]
  },
  {
   "id": "ants-44",
   "title": "ANTS-44: denoising fMRIPrep's T1w within its brain mask",
   "summary": "DenoiseImage with a mask (`-x`, Rician noise), on fMRIPrep 25.2.6's preprocessed T1w of OpenNeuro ds000005 sub-01 and its brain mask. The patches of the centres in the mask reach the voxels just outside it, which are denoised like the others; ITK smooths and corrects the Rician bias only inside the mask and leaves those voxels the raw noise estimate of a centre. The replica's default, `fix`, gives them the smoothed and corrected bias, `reproduce` ANTs' output.",
   "facts": [
    {
     "label": "Data",
     "text": "OpenNeuro ds000005 (mixed-gambles task), v00001, sub-01 (PDDL-1.0)"
    },
    {
     "label": "Command",
     "text": "`DenoiseImage -d 3 -i …/out/sub-01/anat/sub-01_desc-preproc_T1w.nii.gz -x …/out/sub-01/anat/sub-01_desc-brain_mask.nii.gz -n Rician -o [denoised.nii.gz,noise.nii.gz]`"
    },
    {
     "label": "Defect",
     "text": "[ANTS-44](repo:docs/findings/upstream-defects.md#ants-44-denoiseimages-bias-outside-the-mask--c): DenoiseImage's bias outside the mask; corrected by default (decided 2026-10-23), `reproduce` gives ANTs' result"
    },
    {
     "label": "Effect",
     "text": "70,886 voxels outside the mask change (the voxels next to it that a centre inside reached), 540,681 inside it (ANTS-43, corrected since 2026-10-12). Outside, the corrected voxels are denoised as the mask's own edge is: they move from the input by 8.5 on average (ANTs' 7.0; the mask's two-voxel inner edge 16.8), and 812 of them become 0 (ANTs' 3), as the Rician correction makes the darkest voxels inside the mask 0 too (1,299 of the edge's); Denoised image: 611,567 of 5,898,240 values change, by at most 177; Noise image: 618,279 of 5,898,240 values change, by at most 177"
    },
    {
     "label": "Programs",
     "text": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0, one thread; the replica at commit `e22378b480f4`, 6 threads"
    },
    {
     "label": "Grid",
     "text": "160 × 192 × 192 voxels of 1 × 1.33 × 1.33 mm; shown: 155 × 129 × 115 around the brain"
    }
   ],
   "grid": {
    "shape": [
     155,
     129,
     115
    ],
    "spacing": [
     1.0,
     1.333333,
     1.333333
    ],
    "to_file": [
     [
      1,
      0,
      0,
      2
     ],
     [
      0,
      1,
      0,
      16
     ],
     [
      0,
      0,
      1,
      30
     ],
     [
      0,
      0,
      0,
      1
     ]
    ],
    "affine": [
     [
      1.0,
      0.0,
      0.0,
      -79.0
     ],
     [
      0.0,
      1.333333,
      0.0,
      -111.666672
     ],
     [
      0.0,
      0.0,
      1.333333,
      -89.00001
     ],
     [
      0.0,
      0.0,
      0.0,
      1.0
     ]
    ],
    "file_shape": [
     160,
     192,
     192
    ],
    "orientation": "RAS (shown in neurological convention: the subject's left on the left)"
   },
   "mask": {
    "blob": "ac3251a78a80a4cf814487f3.bin",
    "dtype": "u1",
    "bytes": 27367
   },
   "outputs": [
    {
     "id": "denoised",
     "label": "Denoised image",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": 0.0,
       "hi": 1237.6219696044939
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -0.0003406518662814051,
       "hi": 2638.841064453125
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    },
    {
     "id": "noise",
     "label": "Noise image",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -69.31497356414795,
       "hi": 50.78691083908092
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -224.75640869140625,
       "hi": 364.4599304199219
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    }
   ],
   "panels": [
    {
     "id": "t1w",
     "role": "input",
     "label": "ds000005 sub-01 T1w",
     "sub": "fMRIPrep's desc-preproc_T1w",
     "arrays": {
      "all": {
       "blob": "b8aa7e2e25779e7c80cd54ba.bin",
       "dtype": "f4",
       "bytes": 2965533
      }
     },
     "window": [
      0.0,
      1241.8437640380862
     ],
     "port": "input"
    },
    {
     "id": "mask",
     "role": "input",
     "label": "Brain mask (-x)",
     "sub": "fMRIPrep's desc-brain_mask",
     "arrays": {
      "all": {
       "blob": "cc4157c2c065fe9556adfc3c.bin",
       "dtype": "u1",
       "bytes": 24569
      }
     },
     "window": [
      0.0,
      1.0
     ],
     "port": "input"
    },
    {
     "id": "larmorx",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · fix (the default): ANTS-44 corrected",
     "arrays": {
      "denoised": {
       "blob": "a2db0f87376adf1da87f61a8.bin",
       "dtype": "f4",
       "xor": "t1w:all",
       "zero": false,
       "bytes": 2482014
      },
      "noise": {
       "blob": "9e0d6390e9e0a5985bc45e0c.bin",
       "dtype": "f4",
       "bytes": 2699271
      }
     },
     "own": {
      "denoised": [
       0.0,
       1237.2168701171877
      ],
      "noise": [
       -68.99604541778565,
       52.95157745361332
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-reproduce",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · reproduce: ANTs' behaviour · against ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "arrays": {
      "denoised": {
       "blob": "e386d5f6381464ba614588b9.bin",
       "dtype": "f4",
       "xor": "larmorx:denoised",
       "zero": false,
       "bytes": 1660538
      },
      "noise": {
       "blob": "1a9895970f1fcb5e5af96ff0.bin",
       "dtype": "f4",
       "xor": "larmorx:noise",
       "zero": false,
       "bytes": 1917804
      }
     },
     "own": {
      "denoised": [
       0.0,
       1237.6219696044939
      ],
      "noise": [
       -69.31497356414795,
       50.78691083908092
      ]
     },
     "port": "replica"
    },
    {
     "id": "ants-1-cr",
     "role": "reference",
     "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "sub": "1 thread · the same binary, CORE-MATH preloaded",
     "arrays": {
      "denoised": {
       "same": "larmorx-reproduce:denoised",
       "dtype": "f4"
      },
      "noise": {
       "same": "larmorx-reproduce:noise",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       0.0,
       1237.6219696044939
      ],
      "noise": [
       -69.31497356414795,
       50.78691083908092
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "1 thread, as built · the repository's build (GCC 14.3), glibc's maths",
     "arrays": {
      "denoised": {
       "blob": "02e3489175e18c0eb5febc42.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:denoised",
       "zero": false,
       "bytes": 10418
      },
      "noise": {
       "blob": "2fafe74a0bf6db22b5ff4d14.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:noise",
       "zero": false,
       "bytes": 10857
      }
     },
     "own": {
      "denoised": [
       0.0,
       1237.6219696044939
      ],
      "noise": [
       -69.31497356414795,
       50.78691083908092
      ]
     },
     "port": "original"
    }
   ],
   "diffs": [
    {
     "id": "fix-repro",
     "a": "larmorx",
     "b": "larmorx-reproduce",
     "kind": "main",
     "label": "replica, fix − reproduce (ANTS-44)",
     "role_label": "the replica against itself: fix and reproduce (ANTS-44)",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 611567,
       "share": 0.1036863538953993,
       "max_abs": 177.12155151367188,
       "at": [
        71,
        98,
        79
       ],
       "a_at": 0.0,
       "b_at": 177.12155151367188,
       "rms": 0.9349947610567704,
       "range": 2696.7935535424913,
       "max_rel_range": 0.0656785727187037,
       "one_minus_ncc": 4.9833673168671305e-06,
       "at_display": [
        69,
        82,
        49
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 5898240,
       "differ": 618279,
       "share": 0.10482432047526041,
       "max_abs": 177.12155151367188,
       "at": [
        71,
        98,
        79
       ],
       "a_at": 120.69989013671875,
       "b_at": -56.421661376953125,
       "rms": 0.9349947605346275,
       "range": 589.2163391113281,
       "max_rel_range": 0.3006052951294788,
       "one_minus_ncc": 0.007359400125821654,
       "at_display": [
        69,
        82,
        49
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 177.12155151367188,
       "at": [
        69,
        82,
        49
       ],
       "a": 0.0,
       "b": 177.12155151367188,
       "differ": 611567
      },
      "noise": {
       "max_abs": 177.12155151367188,
       "at": [
        69,
        82,
        49
       ],
       "a": 120.69989013671875,
       "b": -56.421661376953125,
       "differ": 618271
      }
     },
     "links": [
      {
       "label": "ANTS-44",
       "href": "docs/findings/upstream-defects.md#ants-44-denoiseimages-bias-outside-the-mask--c"
      }
     ],
     "verdict": "d13",
     "reason": "ANTS-44, corrected by default with a warning: the voxels outside the mask that the patches of centres in the mask reach are denoised like the others, but ITK smooths and corrects their Rician bias only inside the mask and leaves them the raw noise estimate of the last such centre. The replica gives them the smoothed and corrected bias, as inside; the voxels no centre reached are not denoised, as in ITK. Inside the mask the default also corrects ANTS-43 (the Rician correction factor's overflow at a high SNR, corrected since 2026-10-12). In `reproduce`, the replica gives ANTs' output.",
     "port": "replica"
    },
    {
     "id": "fix-ants",
     "a": "larmorx",
     "b": "ants-1",
     "kind": "main",
     "label": "replica, fix − ANTs DenoiseImage 2.6.5, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 611764,
       "share": 0.10371975368923611,
       "max_abs": 177.12155151367188,
       "at": [
        71,
        98,
        79
       ],
       "a_at": 0.0,
       "b_at": 177.12155151367188,
       "rms": 0.9349947605480872,
       "range": 2696.7935535424913,
       "max_rel_range": 0.0656785727187037,
       "one_minus_ncc": 4.983367318363288e-06,
       "at_display": [
        69,
        82,
        49
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 5898240,
       "differ": 618472,
       "share": 0.10485704210069445,
       "max_abs": 177.12155151367188,
       "at": [
        71,
        98,
        79
       ],
       "a_at": 120.69989013671875,
       "b_at": -56.421661376953125,
       "rms": 0.9349947600630998,
       "range": 589.2163391113281,
       "max_rel_range": 0.3006052951294788,
       "one_minus_ncc": 0.00735940012147801,
       "at_display": [
        69,
        82,
        49
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 177.12155151367188,
       "at": [
        69,
        82,
        49
       ],
       "a": 0.0,
       "b": 177.12155151367188,
       "differ": 611764
      },
      "noise": {
       "max_abs": 177.12155151367188,
       "at": [
        69,
        82,
        49
       ],
       "a": 120.69989013671875,
       "b": -56.421661376953125,
       "differ": 618464
      }
     },
     "links": [
      {
       "label": "ANTS-44",
       "href": "docs/findings/upstream-defects.md#ants-44-denoiseimages-bias-outside-the-mask--c"
      }
     ],
     "verdict": "d13",
     "reason": "ANTS-44, corrected by default with a warning: the voxels outside the mask that the patches of centres in the mask reach are denoised like the others, but ITK smooths and corrects their Rician bias only inside the mask and leaves them the raw noise estimate of the last such centre. The replica gives them the smoothed and corrected bias, as inside; the voxels no centre reached are not denoised, as in ITK. Inside the mask the default also corrects ANTS-43 (the Rician correction factor's overflow at a high SNR, corrected since 2026-10-12). In `reproduce`, the replica gives ANTs' output.",
     "port": "replica"
    },
    {
     "id": "repro-cr",
     "a": "larmorx-reproduce",
     "b": "ants-1-cr",
     "kind": "main",
     "label": "replica, reproduce − ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "role_label": "the replica against the original: correctly rounded maths",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 4.6007399559021,
       "b_at": 4.6007399559021,
       "rms": 0.0,
       "range": 2696.7935535424913,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      },
      "noise": {
       "identical": true,
       "voxels": 5898240,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 589.2163391113281,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": null
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      },
      "noise": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "In `reproduce`, the replica gives ANTs' result, the defect included.",
     "port": "replica"
    },
    {
     "id": "repro-ants",
     "a": "larmorx-reproduce",
     "b": "ants-1",
     "kind": "main",
     "label": "replica, reproduce − ANTs DenoiseImage 2.6.5, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 521,
       "share": 8.833143446180555e-05,
       "max_abs": 0.00018310546875,
       "at": [
        83,
        101,
        83
       ],
       "a_at": 627.169921875,
       "b_at": 627.1697387695312,
       "rms": 5.790996753414319e-07,
       "range": 2696.7935535424913,
       "max_rel_range": 6.789747346787958e-08,
       "one_minus_ncc": 2.1591140750671552e-18,
       "at_display": [
        81,
        85,
        53
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 5898240,
       "differ": 522,
       "share": 8.85009765625e-05,
       "max_abs": 0.00018310546875,
       "at": [
        83,
        101,
        83
       ],
       "a_at": -44.39752197265625,
       "b_at": -44.3973388671875,
       "rms": 5.780079989885572e-07,
       "range": 589.2163391113281,
       "max_rel_range": 3.1076101695714103e-07,
       "one_minus_ncc": 2.922389695301956e-15,
       "at_display": [
        81,
        85,
        53
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.00018310546875,
       "at": [
        81,
        85,
        53
       ],
       "a": 627.169921875,
       "b": 627.1697387695312,
       "differ": 521
      },
      "noise": {
       "max_abs": 0.00018310546875,
       "at": [
        81,
        85,
        53
       ],
       "a": -44.39752197265625,
       "b": -44.3973388671875,
       "differ": 522
      }
     },
     "links": [],
     "verdict": "identical-cr",
     "reason": "Only where glibc's maths is not correctly rounded: with CORE-MATH preloaded, ANTs gives the replica's output in `reproduce` bit for bit (the row against correctly rounded maths).",
     "port": "replica"
    },
    {
     "id": "cr-ants",
     "a": "ants-1-cr",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5: correctly rounded maths − glibc's",
     "role_label": "the original against itself: correctly rounded maths and glibc's",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 5898240,
       "differ": 521,
       "share": 8.833143446180555e-05,
       "max_abs": 0.00018310546875,
       "at": [
        83,
        101,
        83
       ],
       "a_at": 627.169921875,
       "b_at": 627.1697387695312,
       "rms": 5.790996753414319e-07,
       "range": 2696.7935535424913,
       "max_rel_range": 6.789747346787958e-08,
       "one_minus_ncc": 2.1591140750671552e-18,
       "at_display": [
        81,
        85,
        53
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 5898240,
       "differ": 522,
       "share": 8.85009765625e-05,
       "max_abs": 0.00018310546875,
       "at": [
        83,
        101,
        83
       ],
       "a_at": -44.39752197265625,
       "b_at": -44.3973388671875,
       "rms": 5.780079989885572e-07,
       "range": 589.2163391113281,
       "max_rel_range": 3.1076101695714103e-07,
       "one_minus_ncc": 2.922389695301956e-15,
       "at_display": [
        81,
        85,
        53
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.00018310546875,
       "at": [
        81,
        85,
        53
       ],
       "a": 627.169921875,
       "b": 627.1697387695312,
       "differ": 521
      },
      "noise": {
       "max_abs": 0.00018310546875,
       "at": [
        81,
        85,
        53
       ],
       "a": -44.39752197265625,
       "b": -44.3973388671875,
       "differ": 522
      }
     },
     "links": [],
     "verdict": null,
     "reason": "Where glibc's exp, log, sin or cos is not correctly rounded for a value the run meets: ANTs' own result moves with the maths library.",
     "port": "original"
    }
   ],
   "default": {
    "output": "denoised",
    "plane": "axial",
    "voxel": [
     35,
     112,
     68
    ],
    "panels": [
     "t1w",
     "ants-1",
     "larmorx",
     "larmorx-reproduce"
    ],
    "diffs": [
     "repro-cr",
     "fix-repro"
    ],
    "compare": {
     "a": "ants-1",
     "b": "larmorx"
    },
    "scale": "linear"
   },
   "poster": {
    "plane": "axial",
    "slice": 68,
    "aspect": 0.90116,
    "panels": {
     "t1w": "2c529094a45cec1278cb5d9e.webp",
     "ants-1": "0b64d6b230bf6cd9eb73c8c8.webp",
     "larmorx": "ab444c8157f3e04ee2a0ac6f.webp",
     "larmorx-reproduce": "0b64d6b230bf6cd9eb73c8c8.webp"
    },
    "diffs": {
     "fix-repro": "ae2e0cf24011eaaff5e80638.webp"
    },
    "ranges": {
     "fix-repro": 177.12155151367188
    },
    "caption": "Axial slice 69 of 115; the crosshair where the replica's correction changes the output most outside the mask (ANTS-44; inside it the default also corrects ANTS-43)."
   },
   "chain": null,
   "metrics_note": "Δ is A − B, over all 5,898,240 voxels of each output file; the rows *the original against itself* are ANTs' own variability on this input.",
   "provenance": [
    "Data: OpenNeuro ds000005 (mixed-gambles task), v00001, sub-01, PDDL-1.0",
    "Inputs: fMRIPrep's preprocessed T1w (sha256 8e977ad0c954252d…); fMRIPrep's brain mask (sha256 726851b7736940c8…)",
    "Runs: figures cache entry `ants-denoise/ds000005-preproc-masked-ants44`, computed 2026-10-23T22:15:22+00:00 with larmorx `e22378b480f4`; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; every command, its environment, threads and exit status are in its `RUN_INFO.json`"
   ],
   "order": {
    "panels": [
     "t1w",
     "mask",
     "ants-1",
     "ants-1-cr",
     "larmorx",
     "larmorx-reproduce"
    ],
    "diffs": [
     "cr-ants",
     "fix-ants",
     "repro-ants",
     "repro-cr",
     "fix-repro"
    ],
    "groups": [
     [
      "The original against itself: the yardstick",
      [
       "cr-ants"
      ]
     ],
     [
      "The replica against the original",
      [
       "fix-ants",
       "repro-ants",
       "repro-cr"
      ]
     ],
     [
      "The replica against itself: fix and reproduce",
      [
       "fix-repro"
      ]
     ]
    ]
   },
   "shows": {
    "text": "The replica's default, `fix`, gives the smoothed and corrected bias to the voxels just outside the mask that the patches reach ([ANTS-44](repo:docs/findings/upstream-defects.md#summary)), and corrects [ANTS-43](repo:docs/findings/upstream-defects.md#summary) inside the mask: 611,567 of the denoised image's 5,898,240 values change, by up to 177. In `reproduce` it gives ANTs' output bit for bit with correctly rounded maths.",
    "verdicts": [
     {
      "diff": "fix-ants",
      "port": "replica",
      "verdict": "d13"
     }
    ]
   },
   "credits": [
    "openneuro-ds000005"
   ]
  },
  {
   "id": "panel-7t",
   "title": "Data panel: sMRIPrep's denoising of the raw 7 T MP2RAGE",
   "summary": "sMRIPrep's DenoiseImage command (-n Rician -s 1, the noise saved) on the raw 7 T MP2RAGE of ds005454 sub-16, the panel's largest anatomical image (17.5 million voxels, a noisy background).",
   "facts": [
    {
     "label": "Data",
     "text": "OpenNeuro ds005454, sub-16 (CC-BY-4.0); the whole field of view shown, only margins where every array is 0 left out"
    },
    {
     "label": "Command",
     "text": "`DenoiseImage -i sub-16_acq-mp2rage_T1w.nii.gz -n Rician -o [ denoised.nii.gz, noise.nii.gz ] -s 1`"
    },
    {
     "label": "Programs",
     "text": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; the replica at commit `042d70d5a17c`"
    },
    {
     "label": "Grid",
     "text": "224 × 272 × 288 voxels of 0.8 × 0.799 × 0.799 mm; shown 224 × 272 × 288, three full-resolution slices"
    }
   ],
   "grid": {
    "shape": [
     224,
     272,
     288
    ],
    "spacing": [
     0.8,
     0.798611,
     0.798611
    ],
    "to_file": [
     [
      1,
      0,
      0,
      0
     ],
     [
      0,
      1,
      0,
      0
     ],
     [
      0,
      0,
      1,
      0
     ],
     [
      0,
      0,
      0,
      1
     ]
    ],
    "affine": [
     [
      0.798919,
      -0.024708,
      0.033349,
      -93.033752
     ],
     [
      0.02463,
      0.798225,
      0.003396,
      -100.137245
     ],
     [
      -0.033496,
      -0.002365,
      0.797907,
      -141.869385
     ],
     [
      0.0,
      0.0,
      0.0,
      1.0
     ]
    ],
    "file_shape": [
     224,
     272,
     288
    ],
    "orientation": "RAS (shown in neurological convention: the subject's left on the left)"
   },
   "view": {
    "kind": "slices",
    "voxel": [
     164,
     163,
     170
    ],
    "planes": {
     "axial": {
      "index": 170,
      "box": [
       0,
       0,
       224,
       272
      ],
      "offset": 0,
      "outside_mask": 1
     },
     "coronal": {
      "index": 163,
      "box": [
       0,
       0,
       224,
       288
      ],
      "offset": 60928,
      "outside_mask": 1
     },
     "sagittal": {
      "index": 164,
      "box": [
       0,
       0,
       272,
       288
      ],
      "offset": 125440,
      "outside_mask": 1
     }
    },
    "per_volume": 203776
   },
   "mask": {
    "blob": "712a38ce9536e4667570b57b.bin",
    "dtype": "u1",
    "bytes": 220
   },
   "outputs": [
    {
     "id": "denoised",
     "label": "denoised",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": 0.0,
       "hi": 3978.660544433589
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -0.0089263916015625,
       "hi": 4094.865966796875
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    },
    {
     "id": "noise",
     "label": "noise",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -1016.9193560791016,
       "hi": 1025.78466796875
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -2243.715087890625,
       "hi": 1917.2861328125
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    }
   ],
   "panels": [
    {
     "id": "input",
     "role": "input",
     "label": "ds005454 sub-16",
     "sub": "sub-16_acq-mp2rage_T1w.nii.gz",
     "arrays": {
      "all": {
       "blob": "f4fa4acea54c0b82252b8844.bin",
       "dtype": "i2",
       "bytes": 308620,
       "scale": 0.062485694885253906,
       "inter": 2047.53125
      }
     },
     "window": [
      0.0,
      4066.006651878357
     ],
     "port": "input"
    },
    {
     "id": "ants-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "1 thread · as built (GCC 14.3), glibc's maths",
     "arrays": {
      "denoised": {
       "blob": "40e21b811c50bebddaf3bea7.bin",
       "dtype": "f4",
       "bytes": 495982
      },
      "noise": {
       "blob": "10f0ba6f6b9a2f9103f2d39c.bin",
       "dtype": "f4",
       "bytes": 525912
      }
     },
     "own": {
      "denoised": [
       0.0,
       3978.660544433589
      ],
      "noise": [
       -1016.9193560791016,
       1025.78466796875
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-1-cr",
     "role": "reference",
     "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "sub": "1 thread, CORE-MATH preloaded",
     "arrays": {
      "denoised": {
       "blob": "0c38b8b481582c15a1cf1380.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 1158
      },
      "noise": {
       "blob": "a2bfbe5ef62fe071caa2d365.bin",
       "dtype": "f4",
       "xor": "ants-1:noise",
       "zero": false,
       "bytes": 1255
      }
     },
     "own": {
      "denoised": [
       0.0,
       3978.660544433589
      ],
      "noise": [
       -1016.9193560791016,
       1025.78466796875
      ]
     },
     "port": "original"
    },
    {
     "id": "larmorx",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · reproduce, 8 threads · against ANTs DenoiseImage 2.6.5",
     "arrays": {
      "denoised": {
       "same": "ants-1-cr:denoised",
       "dtype": "f4"
      },
      "noise": {
       "same": "ants-1-cr:noise",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       0.0,
       3978.660544433589
      ],
      "noise": [
       -1016.9193560791016,
       1025.78466796875
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-fix",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · fix (the default), 8 threads",
     "arrays": {
      "denoised": {
       "blob": "c9e02b2c14af30f6d49c3c35.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:denoised",
       "zero": false,
       "bytes": 94891
      },
      "noise": {
       "blob": "b0e085e1cf239dff02aefb78.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:noise",
       "zero": false,
       "bytes": 113735
      }
     },
     "own": {
      "denoised": [
       0.0,
       3974.397384033203
      ],
      "noise": [
       -1016.9159698486328,
       1025.78466796875
      ]
     },
     "port": "replica"
    },
    {
     "id": "ants-8",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "8 threads · as built",
     "arrays": {
      "denoised": {
       "blob": "14d38a4a9ee552e124d6f557.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 311696
      },
      "noise": {
       "blob": "f48164d8e5286c91e600dccc.bin",
       "dtype": "f4",
       "xor": "ants-1:noise",
       "zero": false,
       "bytes": 355575
      }
     },
     "own": {
      "denoised": [
       0.0,
       3978.397641601561
      ],
      "noise": [
       -1016.6152838134766,
       1025.8542547607417
      ]
     },
     "port": "original"
    }
   ],
   "diffs": [
    {
     "id": "lx-ants",
     "a": "larmorx",
     "b": "ants-1",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, 1 thread, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 17547264,
       "differ": 10951,
       "share": 0.0006240858973797852,
       "max_abs": 0.001495361328125,
       "at": [
        164,
        163,
        170
       ],
       "a_at": 178.2399139404297,
       "b_at": 178.2414093017578,
       "rms": 6.3699035029984104e-06,
       "range": 4094.8748931884766,
       "max_rel_range": 3.651787581135687e-07,
       "one_minus_ncc": 1.5875069325569207e-17,
       "at_display": [
        164,
        163,
        170
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 17547264,
       "differ": 11205,
       "share": 0.0006385610884978992,
       "max_abs": 0.001495361328125,
       "at": [
        164,
        163,
        170
       ],
       "a_at": -85.26119995117188,
       "b_at": -85.2626953125,
       "rms": 6.293424921760986e-06,
       "range": 4161.001220703125,
       "max_rel_range": 3.593753639592334e-07,
       "one_minus_ncc": 2.2029522406623232e-16,
       "at_display": [
        164,
        163,
        170
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.001495361328125,
       "at": [
        164,
        163,
        170
       ],
       "a": 178.2399139404297,
       "b": 178.2414093017578,
       "differ": 118,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 0.001495361328125,
       "at": [
        164,
        163,
        170
       ],
       "a": -85.26119995117188,
       "b": -85.2626953125,
       "differ": 119,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "identical-cr",
     "reason": "Only where glibc's maths is not correctly rounded (denoised, noise): with CORE-MATH preloaded, ANTs gives the replica's bytes.",
     "port": "replica"
    },
    {
     "id": "lx-cr",
     "a": "larmorx",
     "b": "ants-1-cr",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "role_label": "the replica against the original: correctly rounded maths",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 17547264,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 4094.8748931884766,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        0,
        0,
        0
       ]
      },
      "noise": {
       "identical": true,
       "voxels": 17547264,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 4161.001220703125,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        0,
        0,
        0
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        170
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        170
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica gives ANTs' bytes with correctly rounded maths.",
     "port": "replica"
    },
    {
     "id": "lx1-lx",
     "a": "larmorx-1",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, 1 thread − 8 threads (reproduce)",
     "role_label": "the replica against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 17547264,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 4094.8748931884766,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      },
      "noise": {
       "identical": true,
       "voxels": 17547264,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 4161.001220703125,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica's result does not depend on its thread count.",
     "port": "replica"
    },
    {
     "id": "fix-lx",
     "a": "larmorx-fix",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, fix − reproduce",
     "role_label": "the replica against itself: fix and reproduce",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 17547264,
       "differ": 1858030,
       "share": 0.10588716280783146,
       "max_abs": 34.43115234375,
       "at": [
        158,
        47,
        106
       ],
       "a_at": 1508.3736572265625,
       "b_at": 1542.8048095703125,
       "rms": 2.0235097582209822,
       "range": 4094.8748931884766,
       "max_rel_range": 0.008408352694980668,
       "one_minus_ncc": 1.3753105180060777e-06,
       "at_display": [
        158,
        47,
        106
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 17547264,
       "differ": 1891826,
       "share": 0.10781316107172036,
       "max_abs": 34.43115234375,
       "at": [
        158,
        47,
        106
       ],
       "a_at": -319.3958740234375,
       "b_at": -353.8270263671875,
       "rms": 2.0235097582807318,
       "range": 4161.001220703125,
       "max_rel_range": 0.008274727768027868,
       "one_minus_ncc": 2.1184763164745638e-05,
       "at_display": [
        158,
        47,
        106
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 20.0582275390625,
       "at": [
        164,
        122,
        57
       ],
       "a": 1800.136474609375,
       "b": 1820.1947021484375,
       "differ": 32410,
       "plane": "sagittal"
      },
      "noise": {
       "max_abs": 20.0582275390625,
       "at": [
        164,
        122,
        57
       ],
       "a": -229.12109375,
       "b": -249.1793212890625,
       "differ": 32929,
       "plane": "sagittal"
      }
     },
     "links": [],
     "verdict": "d13",
     "reason": "The replica's default, `fix`, corrects ANTS-43 ([register](repo:docs/findings/upstream-defects.md)); `reproduce` gives ANTs' result. Changed: denoised, noise.",
     "port": "replica"
    },
    {
     "id": "ants8-ants1",
     "a": "ants-8",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads − 1 thread",
     "role_label": "the original against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 17547264,
       "differ": 10655570,
       "share": 0.6072496544190593,
       "max_abs": 633.9461975097656,
       "at": [
        144,
        211,
        52
       ],
       "a_at": 148.23123168945312,
       "b_at": 782.1774291992188,
       "rms": 6.7577797607025545,
       "range": 4094.8748931884766,
       "max_rel_range": 0.1548145459985331,
       "one_minus_ncc": 1.7869375623183895e-05,
       "at_display": [
        144,
        211,
        52
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 17547264,
       "differ": 10676569,
       "share": 0.6084463651997257,
       "max_abs": 633.9461975097656,
       "at": [
        144,
        211,
        52
       ],
       "a_at": -148.23123168945312,
       "b_at": -782.1774291992188,
       "rms": 6.757779762320129,
       "range": 4161.001220703125,
       "max_rel_range": 0.15235424453988541,
       "one_minus_ncc": 0.000254049059434683,
       "at_display": [
        144,
        211,
        52
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 446.0253601074219,
       "at": [
        141,
        163,
        144
       ],
       "a": 0.0,
       "b": 446.0253601074219,
       "differ": 130157,
       "plane": "coronal"
      },
      "noise": {
       "max_abs": 446.0253601074219,
       "at": [
        141,
        163,
        144
       ],
       "a": 47.989013671875,
       "b": -398.0363464355469,
       "differ": 130475,
       "plane": "coronal"
      }
     },
     "links": [],
     "verdict": null,
     "reason": "ANTs' own result moves with its thread count (denoised, noise): the yardstick for any difference above.",
     "port": "original"
    }
   ],
   "default": {
    "output": "denoised",
    "plane": "axial",
    "voxel": [
     164,
     163,
     170
    ],
    "panels": [
     "input",
     "ants-1",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "lx-ants",
     "lx-cr",
     "fix-lx"
    ],
    "compare": {
     "a": "ants-1",
     "b": "larmorx"
    },
    "scale": "linear"
   },
   "poster": {
    "plane": "axial",
    "slice": 170,
    "aspect": 0.82496,
    "panels": {
     "input": "574b553cf78b1aae0fc2f652.webp",
     "ants-1": "d6366f3a38d9b73b18abb10f.webp",
     "larmorx": "d6366f3a38d9b73b18abb10f.webp",
     "larmorx-fix": "7f3140f7b6645367310fb08c.webp"
    },
    "diffs": {
     "lx-ants": "0874d3d4660ad5d1c775e1f7.webp",
     "fix-lx": "334555299ec32ad89f6d08ac.webp"
    },
    "ranges": {
     "lx-ants": 20.0582275390625,
     "fix-lx": 20.0582275390625
    },
    "caption": "Axial slice 171 of 288; the crosshair where the replica differs most from ANTs as built; the three slices through it are stored at full resolution."
   },
   "chain": null,
   "metrics_note": "Δ is A − B over all 17,547,264 values of each output.",
   "provenance": [
    "Data: OpenNeuro ds005454, sub-16, CC-BY-4.0",
    "Inputs: input 1 (sha256 971678c9fb76ae12…)",
    "Runs: figures cache entry `ants-denoise/panel-rician-7t-mp2rage`, computed 2026-10-26T23:46:09+00:00 with larmorx `042d70d5a17c`; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; every command, its environment, threads and exit status are in its `RUN_INFO.json`"
   ],
   "order": {
    "panels": [
     "input",
     "ants-1",
     "ants-8",
     "ants-1-cr",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "ants8-ants1",
     "lx-ants",
     "lx-cr",
     "fix-lx",
     "lx1-lx"
    ],
    "groups": [
     [
      "The original against itself: the yardstick",
      [
       "ants8-ants1"
      ]
     ],
     [
      "The replica against the original",
      [
       "lx-ants",
       "lx-cr"
      ]
     ],
     [
      "The replica against itself: thread counts, fix and reproduce",
      [
       "fix-lx",
       "lx1-lx"
      ]
     ]
    ]
   },
   "shows": {
    "text": "In `reproduce`, on 1 and 8 threads, the replica gives ANTs' bytes with correctly rounded maths; ANTs as built differs only where glibc's maths is not correctly rounded (largest difference 0.0015). Its default, `fix`, corrects [ANTS-43](repo:docs/findings/upstream-defects.md#summary) here.",
    "verdicts": [
     {
      "diff": "lx-ants",
      "port": "replica",
      "verdict": "identical-cr"
     }
    ]
   },
   "credits": [
    "openneuro-ds005454"
   ]
  },
  {
   "id": "panel-motion",
   "title": "Data panel: fMRIPrep's denoising of a T1w with strong head motion",
   "summary": "fMRIPrep 25.2.6's own call (sMRIPrep's denoise of each T1w) on ds004173 sub-603309's MPRAGE acquired with strong instructed head motion (rated 3): its command.txt and input from the fMRIPrep run.",
   "facts": [
    {
     "label": "Data",
     "text": "OpenNeuro ds004173, sub-603309 (CC0-1.0); the whole field of view shown, only margins where every array is 0 left out"
    },
    {
     "label": "Node",
     "text": "`anat_fit/anat_template/denoise[1]` of the fMRIPrep run ds004173-sub-603309-noreconall"
    },
    {
     "label": "Command",
     "text": "`DenoiseImage -i sub-603309_acq-headmotion2_T1w.nii.gz -n Rician -o sub-603309_acq-headmotion2_T1w_noise_corrected.nii.gz -s 1`"
    },
    {
     "label": "Programs",
     "text": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; the replica at commit `042d70d5a17c`"
    },
    {
     "label": "Grid",
     "text": "192 × 256 × 256 voxels of 1 × 1 × 1 mm; shown 192 × 256 × 256, three full-resolution slices"
    }
   ],
   "grid": {
    "shape": [
     192,
     256,
     256
    ],
    "spacing": [
     1.0,
     1.0,
     1.0
    ],
    "to_file": [
     [
      1,
      0,
      0,
      0
     ],
     [
      0,
      1,
      0,
      0
     ],
     [
      0,
      0,
      1,
      0
     ],
     [
      0,
      0,
      0,
      1
     ]
    ],
    "affine": [
     [
      0.993096,
      0.02729,
      0.11408,
      -107.531982
     ],
     [
      -0.018715,
      0.996964,
      -0.075575,
      -89.739517
     ],
     [
      -0.115796,
      0.072918,
      0.990593,
      -153.534668
     ],
     [
      0.0,
      0.0,
      0.0,
      1.0
     ]
    ],
    "file_shape": [
     192,
     256,
     256
    ],
    "orientation": "RAS (shown in neurological convention: the subject's left on the left)"
   },
   "view": {
    "kind": "slices",
    "voxel": [
     95,
     24,
     82
    ],
    "planes": {
     "axial": {
      "index": 82,
      "box": [
       0,
       0,
       192,
       256
      ],
      "offset": 0,
      "outside_mask": 1
     },
     "coronal": {
      "index": 24,
      "box": [
       0,
       0,
       192,
       256
      ],
      "offset": 49152,
      "outside_mask": 1
     },
     "sagittal": {
      "index": 95,
      "box": [
       0,
       0,
       256,
       256
      ],
      "offset": 98304,
      "outside_mask": 1
     }
    },
    "per_volume": 163840
   },
   "mask": {
    "blob": "cd33ff78bccda13862959814.bin",
    "dtype": "u1",
    "bytes": 182
   },
   "outputs": [
    {
     "id": "denoised",
     "label": "denoised",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -3.8099851406059316e-06,
       "hi": 659.2455648803711
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -0.0008392333984375,
       "hi": 1205.6673583984375
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    }
   ],
   "panels": [
    {
     "id": "input",
     "role": "input",
     "label": "ds004173 sub-603309, MPRAGE with strong motion",
     "sub": "sub-603309_acq-headmotion2_T1w.nii.gz",
     "arrays": {
      "all": {
       "blob": "1db6d9632241143e13d2304b.bin",
       "dtype": "i2",
       "bytes": 186743,
       "scale": 0.019790951162576675,
       "inter": 648.5098876953125
      }
     },
     "window": [
      0.0,
      675.9995188601315
     ],
     "port": "input"
    },
    {
     "id": "ants-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "1 thread · as built (GCC 14.3), glibc's maths",
     "arrays": {
      "denoised": {
       "blob": "e5694decd849cbb6873bc5d8.bin",
       "dtype": "f4",
       "bytes": 406585
      }
     },
     "own": {
      "denoised": [
       -3.8099851406059316e-06,
       659.2455648803711
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-1-cr",
     "role": "reference",
     "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "sub": "1 thread, CORE-MATH preloaded",
     "arrays": {
      "denoised": {
       "blob": "1fb7d699bcc22be64e3a7d1a.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 1039
      }
     },
     "own": {
      "denoised": [
       -3.8099851406059316e-06,
       659.2455648803711
      ]
     },
     "port": "original"
    },
    {
     "id": "larmorx",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · reproduce, 8 threads · against ANTs DenoiseImage 2.6.5",
     "arrays": {
      "denoised": {
       "same": "ants-1-cr:denoised",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       -3.8099851406059316e-06,
       659.2455648803711
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-fix",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · fix (the default), 8 threads",
     "arrays": {
      "denoised": {
       "blob": "b3d8a2d98e96b08a17eb9c17.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:denoised",
       "zero": false,
       "bytes": 34445
      }
     },
     "own": {
      "denoised": [
       -3.8099851406059316e-06,
       658.5840997314453
      ]
     },
     "port": "replica"
    },
    {
     "id": "ants-8",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "8 threads · as built",
     "arrays": {
      "denoised": {
       "blob": "7faca8eac5c7636071e62583.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 283178
      }
     },
     "own": {
      "denoised": [
       -3.814697265625e-06,
       659.1871347045903
      ]
     },
     "port": "original"
    }
   ],
   "diffs": [
    {
     "id": "lx-ants",
     "a": "larmorx",
     "b": "ants-1",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, 1 thread, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 12582912,
       "differ": 9043,
       "share": 0.0007186730702718099,
       "max_abs": 0.000644683837890625,
       "at": [
        95,
        24,
        82
       ],
       "a_at": 1.7022590637207031,
       "b_at": 1.7016143798828125,
       "rms": 5.6065743212369e-07,
       "range": 1205.668197631836,
       "max_rel_range": 5.347108260439381e-07,
       "one_minus_ncc": 6.640073125921123e-18,
       "at_display": [
        95,
        24,
        82
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.000644683837890625,
       "at": [
        95,
        24,
        82
       ],
       "a": 1.7022590637207031,
       "b": 1.7016143798828125,
       "differ": 122,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "identical-cr",
     "reason": "Only where glibc's maths is not correctly rounded (denoised): with CORE-MATH preloaded, ANTs gives the replica's bytes.",
     "port": "replica"
    },
    {
     "id": "lx-cr",
     "a": "larmorx",
     "b": "ants-1-cr",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "role_label": "the replica against the original: correctly rounded maths",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 12582912,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 1205.668197631836,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        0,
        0,
        0
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        82
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica gives ANTs' bytes with correctly rounded maths.",
     "port": "replica"
    },
    {
     "id": "lx1-lx",
     "a": "larmorx-1",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, 1 thread − 8 threads (reproduce)",
     "role_label": "the replica against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 12582912,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 1205.668197631836,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica's result does not depend on its thread count.",
     "port": "replica"
    },
    {
     "id": "fix-lx",
     "a": "larmorx-fix",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, fix − reproduce",
     "role_label": "the replica against itself: fix and reproduce",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 12582912,
       "differ": 1037637,
       "share": 0.08246397972106934,
       "max_abs": 4.923583984375,
       "at": [
        147,
        70,
        21
       ],
       "a_at": 1078.1883544921875,
       "b_at": 1083.1119384765625,
       "rms": 0.3050498416437148,
       "range": 1205.668197631836,
       "max_rel_range": 0.004083697317426026,
       "one_minus_ncc": 1.2643754958724637e-06,
       "at_display": [
        147,
        70,
        21
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 4.109375,
       "at": [
        95,
        56,
        25
       ],
       "a": 1014.0023803710938,
       "b": 1018.1117553710938,
       "differ": 10788,
       "plane": "sagittal"
      }
     },
     "links": [],
     "verdict": "d13",
     "reason": "The replica's default, `fix`, corrects ANTS-43 ([register](repo:docs/findings/upstream-defects.md)); `reproduce` gives ANTs' result. Changed: denoised.",
     "port": "replica"
    },
    {
     "id": "ants8-ants1",
     "a": "ants-8",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads − 1 thread",
     "role_label": "the original against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 12582912,
       "differ": 8207227,
       "share": 0.6522517999013265,
       "max_abs": 75.739013671875,
       "at": [
        151,
        153,
        167
       ],
       "a_at": 75.739013671875,
       "b_at": 0.0,
       "rms": 0.6887057786984802,
       "range": 1205.668197631836,
       "max_rel_range": 0.06281911874315088,
       "one_minus_ncc": 1.0010362562474396e-05,
       "at_display": [
        151,
        153,
        167
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 46.89201354980469,
       "at": [
        95,
        108,
        207
       ],
       "a": 0.0,
       "b": 46.89201354980469,
       "differ": 113171,
       "plane": "sagittal"
      }
     },
     "links": [],
     "verdict": null,
     "reason": "ANTs' own result moves with its thread count (denoised): the yardstick for any difference above.",
     "port": "original"
    }
   ],
   "default": {
    "output": "denoised",
    "plane": "axial",
    "voxel": [
     95,
     24,
     82
    ],
    "panels": [
     "input",
     "ants-1",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "lx-ants",
     "lx-cr",
     "fix-lx"
    ],
    "compare": {
     "a": "ants-1",
     "b": "larmorx"
    },
    "scale": "linear"
   },
   "poster": {
    "plane": "axial",
    "slice": 82,
    "aspect": 0.75,
    "panels": {
     "input": "a6d863a3e965a3d79a525d37.webp",
     "ants-1": "83c1e484152876fba9d6dfe2.webp",
     "larmorx": "83c1e484152876fba9d6dfe2.webp",
     "larmorx-fix": "7d497fdbd34425adfda572de.webp"
    },
    "diffs": {
     "lx-ants": "c708ed2f762019dad20a85d3.webp",
     "fix-lx": "e7decf786fd5c7a353065a81.webp"
    },
    "ranges": {
     "lx-ants": 4.109375,
     "fix-lx": 4.109375
    },
    "caption": "Axial slice 83 of 256; the crosshair where the replica differs most from ANTs as built; the three slices through it are stored at full resolution."
   },
   "chain": null,
   "metrics_note": "Δ is A − B over all 12,582,912 values of each output.",
   "provenance": [
    "Data: OpenNeuro ds004173, sub-603309, CC0-1.0",
    "Inputs: input 1 (sha256 c57cecdd8d2701da…)",
    "Runs: figures cache entry `ants-denoise/panel-fmriprep-motion`, computed 2026-10-27T00:12:13+00:00 with larmorx `042d70d5a17c`; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; every command, its environment, threads and exit status are in its `RUN_INFO.json`"
   ],
   "order": {
    "panels": [
     "input",
     "ants-1",
     "ants-8",
     "ants-1-cr",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "ants8-ants1",
     "lx-ants",
     "lx-cr",
     "fix-lx",
     "lx1-lx"
    ],
    "groups": [
     [
      "The original against itself: the yardstick",
      [
       "ants8-ants1"
      ]
     ],
     [
      "The replica against the original",
      [
       "lx-ants",
       "lx-cr"
      ]
     ],
     [
      "The replica against itself: thread counts, fix and reproduce",
      [
       "fix-lx",
       "lx1-lx"
      ]
     ]
    ]
   },
   "shows": {
    "text": "In `reproduce`, on 1 and 8 threads, the replica gives ANTs' bytes with correctly rounded maths; ANTs as built differs only where glibc's maths is not correctly rounded (largest difference 0.00064). Its default, `fix`, corrects [ANTS-43](repo:docs/findings/upstream-defects.md#summary) here.",
    "verdicts": [
     {
      "diff": "lx-ants",
      "port": "replica",
      "verdict": "identical-cr"
     }
    ]
   },
   "credits": [
    "openneuro-ds004173"
   ]
  },
  {
   "id": "panel-flair",
   "title": "Data panel: denoising a FLAIR of 3 mm slices",
   "summary": "The same command on an 82-year-old's FLAIR (ds003592 sub-280: 384 × 512 × 44 voxels of 0.42 × 0.42 × 3 mm).",
   "facts": [
    {
     "label": "Data",
     "text": "OpenNeuro ds003592, sub-280 (CC0-1.0); the whole field of view shown, only margins where every array is 0 left out"
    },
    {
     "label": "Command",
     "text": "`DenoiseImage -i sub-280_ses-1_FLAIR.nii.gz -n Rician -o [ denoised.nii.gz, noise.nii.gz ] -s 1`"
    },
    {
     "label": "Programs",
     "text": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; the replica at commit `042d70d5a17c`"
    },
    {
     "label": "Grid",
     "text": "384 × 512 × 44 voxels of 0.422 × 0.422 × 3 mm; shown 384 × 512 × 44, three full-resolution slices"
    }
   ],
   "grid": {
    "shape": [
     384,
     512,
     44
    ],
    "spacing": [
     0.421875,
     0.421875,
     3.0
    ],
    "to_file": [
     [
      -1,
      0,
      0,
      383
     ],
     [
      0,
      1,
      0,
      0
     ],
     [
      0,
      0,
      1,
      0
     ],
     [
      0,
      0,
      0,
      1
     ]
    ],
    "affine": [
     [
      0.420794,
      0.030015,
      0.022422,
      -83.071229
     ],
     [
      -0.0287,
      0.411593,
      -0.625856,
      -67.616029
     ],
     [
      -0.009338,
      0.087571,
      2.933903,
      -83.444014
     ],
     [
      0.0,
      0.0,
      0.0,
      1.0
     ]
    ],
    "file_shape": [
     384,
     512,
     44
    ],
    "orientation": "RAS (shown in neurological convention: the subject's left on the left)"
   },
   "view": {
    "kind": "slices",
    "voxel": [
     179,
     40,
     23
    ],
    "planes": {
     "axial": {
      "index": 23,
      "box": [
       0,
       0,
       384,
       511
      ],
      "offset": 0,
      "outside_mask": 1
     },
     "coronal": {
      "index": 40,
      "box": [
       0,
       0,
       384,
       44
      ],
      "offset": 196224,
      "outside_mask": 1
     },
     "sagittal": {
      "index": 179,
      "box": [
       0,
       0,
       511,
       44
      ],
      "offset": 213120,
      "outside_mask": 1
     }
    },
    "per_volume": 235604
   },
   "mask": {
    "blob": "4bfc79848e1ef9c2f9b1332b.bin",
    "dtype": "u1",
    "bytes": 252
   },
   "outputs": [
    {
     "id": "denoised",
     "label": "denoised",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -2.384185791015625e-05,
       "hi": 369.51857711791985
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -0.0010528564453125,
       "hi": 976.8902587890625
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    },
    {
     "id": "noise",
     "label": "noise",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -21.095059318542482,
       "hi": 32.999996185302734
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -165.30181884765625,
       "hi": 257.0
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    }
   ],
   "panels": [
    {
     "id": "input",
     "role": "input",
     "label": "ds003592 sub-280",
     "sub": "sub-280_ses-1_FLAIR.nii.gz",
     "arrays": {
      "all": {
       "blob": "5dd999fd486ecd193a1b2513.bin",
       "dtype": "i2",
       "bytes": 206787
      }
     },
     "window": [
      0.0,
      379.0
     ],
     "port": "input"
    },
    {
     "id": "ants-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "1 thread · as built (GCC 14.3), glibc's maths",
     "arrays": {
      "denoised": {
       "blob": "18cd943be90e89f2e69ff1de.bin",
       "dtype": "f4",
       "bytes": 703354
      },
      "noise": {
       "blob": "e8d9e6901595b3258a5f29fb.bin",
       "dtype": "f4",
       "bytes": 739036
      }
     },
     "own": {
      "denoised": [
       -2.384185791015625e-05,
       369.51857711791985
      ],
      "noise": [
       -21.095059318542482,
       32.999996185302734
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-1-cr",
     "role": "reference",
     "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "sub": "1 thread, CORE-MATH preloaded",
     "arrays": {
      "denoised": {
       "blob": "c1b10e7e1eb228f6e5bb1aec.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 1587
      },
      "noise": {
       "blob": "6c090dfadec73b29f676975e.bin",
       "dtype": "f4",
       "xor": "ants-1:noise",
       "zero": false,
       "bytes": 1720
      }
     },
     "own": {
      "denoised": [
       -2.384185791015625e-05,
       369.51857711791985
      ],
      "noise": [
       -21.095059318542482,
       32.999996185302734
      ]
     },
     "port": "original"
    },
    {
     "id": "larmorx",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · reproduce, 8 threads · against ANTs DenoiseImage 2.6.5",
     "arrays": {
      "denoised": {
       "same": "ants-1-cr:denoised",
       "dtype": "f4"
      },
      "noise": {
       "same": "ants-1-cr:noise",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       -2.384185791015625e-05,
       369.51857711791985
      ],
      "noise": [
       -21.095059318542482,
       32.999996185302734
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-fix",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · fix (the default), 8 threads",
     "arrays": {
      "denoised": {
       "blob": "dbab8daaa00962482a4bc74b.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:denoised",
       "zero": false,
       "bytes": 126216
      },
      "noise": {
       "blob": "c2042c765d43bd97bb75c4e3.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:noise",
       "zero": false,
       "bytes": 153524
      }
     },
     "own": {
      "denoised": [
       -2.384185791015625e-05,
       369.11711349487217
      ],
      "noise": [
       -21.037958154678346,
       33.0
      ]
     },
     "port": "replica"
    },
    {
     "id": "ants-8",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "8 threads · as built",
     "arrays": {
      "denoised": {
       "blob": "5e5583c99fcd35119a918560.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 521632
      },
      "noise": {
       "blob": "0080d0b5cae9e8ff7c7ae5b4.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:noise",
       "zero": false,
       "bytes": 593330
      }
     },
     "own": {
      "denoised": [
       -2.288818359375e-05,
       369.1441241455061
      ],
      "noise": [
       -20.807958183288573,
       32.02520175933837
      ]
     },
     "port": "original"
    }
   ],
   "diffs": [
    {
     "id": "lx-ants",
     "a": "larmorx",
     "b": "ants-1",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, 1 thread, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 8650752,
       "differ": 7787,
       "share": 0.0009001529578006629,
       "max_abs": 0.00031757354736328125,
       "at": [
        204,
        40,
        23
       ],
       "a_at": 0.04815959930419922,
       "b_at": 0.04784202575683594,
       "rms": 4.561672106704238e-07,
       "range": 976.8913116455078,
       "max_rel_range": 3.250858550767024e-07,
       "one_minus_ncc": 1.051402157733625e-17,
       "at_display": [
        179,
        40,
        23
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 8650752,
       "differ": 7913,
       "share": 0.0009147181655421401,
       "max_abs": 0.00031757354736328125,
       "at": [
        204,
        40,
        23
       ],
       "a_at": 8.9518404006958,
       "b_at": 8.952157974243164,
       "rms": 4.5503280355432723e-07,
       "range": 422.30181884765625,
       "max_rel_range": 7.520061084033471e-07,
       "one_minus_ncc": 1.8461372104137467e-15,
       "at_display": [
        179,
        40,
        23
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.00031757354736328125,
       "at": [
        179,
        40,
        23
       ],
       "a": 0.04815959930419922,
       "b": 0.04784202575683594,
       "differ": 217,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 0.00031757354736328125,
       "at": [
        179,
        40,
        23
       ],
       "a": 8.9518404006958,
       "b": 8.952157974243164,
       "differ": 220,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "identical-cr",
     "reason": "Only where glibc's maths is not correctly rounded (denoised, noise): with CORE-MATH preloaded, ANTs gives the replica's bytes.",
     "port": "replica"
    },
    {
     "id": "lx-cr",
     "a": "larmorx",
     "b": "ants-1-cr",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "role_label": "the replica against the original: correctly rounded maths",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 8650752,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 976.8913116455078,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        383,
        0,
        0
       ]
      },
      "noise": {
       "identical": true,
       "voxels": 8650752,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 422.30181884765625,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        383,
        0,
        0
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        23
       ],
       "a": 2.760955810546875,
       "b": 2.760955810546875,
       "differ": 0,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        23
       ],
       "a": 0.23904424905776978,
       "b": 0.23904424905776978,
       "differ": 0,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica gives ANTs' bytes with correctly rounded maths.",
     "port": "replica"
    },
    {
     "id": "lx1-lx",
     "a": "larmorx-1",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, 1 thread − 8 threads (reproduce)",
     "role_label": "the replica against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 8650752,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 976.8913116455078,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      },
      "noise": {
       "identical": true,
       "voxels": 8650752,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 422.30181884765625,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica's result does not depend on its thread count.",
     "port": "replica"
    },
    {
     "id": "fix-lx",
     "a": "larmorx-fix",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, fix − reproduce",
     "role_label": "the replica against itself: fix and reproduce",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 8650752,
       "differ": 1050951,
       "share": 0.12148666381835938,
       "max_abs": 2.2208251953125,
       "at": [
        171,
        335,
        0
       ],
       "a_at": 398.9996337890625,
       "b_at": 401.220458984375,
       "rms": 0.24081359891123327,
       "range": 976.8913116455078,
       "max_rel_range": 0.0022733595527343457,
       "one_minus_ncc": 1.9827109361265484e-06,
       "at_display": [
        212,
        335,
        0
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 8650752,
       "differ": 1076478,
       "share": 0.12443750554865057,
       "max_abs": 2.220823287963867,
       "at": [
        171,
        335,
        0
       ],
       "a_at": 26.000368118286133,
       "b_at": 23.779544830322266,
       "rms": 0.24081359757519924,
       "range": 422.30181884765625,
       "max_rel_range": 0.005258853239192466,
       "one_minus_ncc": 0.0004627646999428154,
       "at_display": [
        212,
        335,
        0
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 1.996551513671875,
       "at": [
        179,
        338,
        0
       ],
       "a": 403.22344970703125,
       "b": 405.2200012207031,
       "differ": 45163,
       "plane": "sagittal"
      },
      "noise": {
       "max_abs": 1.9965513944625854,
       "at": [
        179,
        338,
        0
       ],
       "a": 3.776550054550171,
       "b": 1.7799986600875854,
       "differ": 45663,
       "plane": "sagittal"
      }
     },
     "links": [],
     "verdict": "d13",
     "reason": "The replica's default, `fix`, corrects ANTS-43 ([register](repo:docs/findings/upstream-defects.md)); `reproduce` gives ANTs' result. Changed: denoised, noise.",
     "port": "replica"
    },
    {
     "id": "ants8-ants1",
     "a": "ants-8",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads − 1 thread",
     "role_label": "the original against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 8650752,
       "differ": 7390295,
       "share": 0.8542950948079427,
       "max_abs": 213.38079833984375,
       "at": [
        1,
        281,
        7
       ],
       "a_at": 0.000701904296875,
       "b_at": 213.38150024414062,
       "rms": 2.2006141285091445,
       "range": 976.8913116455078,
       "max_rel_range": 0.21842839197783234,
       "one_minus_ncc": 0.00024471802924414795,
       "at_display": [
        382,
        281,
        7
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 8650752,
       "differ": 7406011,
       "share": 0.8561118154814749,
       "max_abs": 213.38079598546028,
       "at": [
        1,
        281,
        7
       ],
       "a_at": 212.99929809570312,
       "b_at": -0.38149788975715637,
       "rms": 2.200614126577235,
       "range": 422.30181884765625,
       "max_rel_range": 0.505280314841449,
       "one_minus_ncc": 0.0437365948423849,
       "at_display": [
        382,
        281,
        7
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 52.642822265625,
       "at": [
        161,
        328,
        23
       ],
       "a": 52.64277648925781,
       "b": -4.57763671875e-05,
       "differ": 197093,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 52.64282035827637,
       "at": [
        161,
        328,
        23
       ],
       "a": 10.35722541809082,
       "b": 63.00004577636719,
       "differ": 197463,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": null,
     "reason": "ANTs' own result moves with its thread count (denoised, noise): the yardstick for any difference above.",
     "port": "original"
    }
   ],
   "default": {
    "output": "denoised",
    "plane": "axial",
    "voxel": [
     179,
     40,
     23
    ],
    "panels": [
     "input",
     "ants-1",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "lx-ants",
     "lx-cr",
     "fix-lx"
    ],
    "compare": {
     "a": "ants-1",
     "b": "larmorx"
    },
    "scale": "linear"
   },
   "poster": {
    "plane": "axial",
    "slice": 23,
    "aspect": 0.75,
    "panels": {
     "input": "ce9f9f2e27a6fc6431ed192a.webp",
     "ants-1": "72bcecf5d8c0e607f143cb72.webp",
     "larmorx": "72bcecf5d8c0e607f143cb72.webp",
     "larmorx-fix": "b2a3a4a7a16434ef390c30ee.webp"
    },
    "diffs": {
     "lx-ants": "f6c69d9ca9a784961613b419.webp",
     "fix-lx": "e383e7d6bdacf09d5e4690d2.webp"
    },
    "ranges": {
     "lx-ants": 1.996551513671875,
     "fix-lx": 1.996551513671875
    },
    "caption": "Axial slice 24 of 44; the crosshair where the replica differs most from ANTs as built; the three slices through it are stored at full resolution."
   },
   "chain": null,
   "metrics_note": "Δ is A − B over all 8,650,752 values of each output.",
   "provenance": [
    "Data: OpenNeuro ds003592, sub-280, CC0-1.0",
    "Inputs: input 1 (sha256 08c1cf34701df2fd…)",
    "Runs: figures cache entry `ants-denoise/panel-rician-flair`, computed 2026-10-27T00:31:00+00:00 with larmorx `042d70d5a17c`; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; every command, its environment, threads and exit status are in its `RUN_INFO.json`"
   ],
   "order": {
    "panels": [
     "input",
     "ants-1",
     "ants-8",
     "ants-1-cr",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "ants8-ants1",
     "lx-ants",
     "lx-cr",
     "fix-lx",
     "lx1-lx"
    ],
    "groups": [
     [
      "The original against itself: the yardstick",
      [
       "ants8-ants1"
      ]
     ],
     [
      "The replica against the original",
      [
       "lx-ants",
       "lx-cr"
      ]
     ],
     [
      "The replica against itself: thread counts, fix and reproduce",
      [
       "fix-lx",
       "lx1-lx"
      ]
     ]
    ]
   },
   "shows": {
    "text": "In `reproduce`, on 1 and 8 threads, the replica gives ANTs' bytes with correctly rounded maths; ANTs as built differs only where glibc's maths is not correctly rounded (largest difference 0.00032). Its default, `fix`, corrects [ANTS-43](repo:docs/findings/upstream-defects.md#summary) here.",
    "verdicts": [
     {
      "diff": "lx-ants",
      "port": "replica",
      "verdict": "identical-cr"
     }
    ]
   },
   "credits": [
    "openneuro-ds003592"
   ]
  },
  {
   "id": "panel-child-t2w",
   "title": "Data panel: denoising a child's T2w",
   "summary": "The same command on a 7.5-year-old's 0.8 mm T2w (ds000256 sub-CTS203).",
   "facts": [
    {
     "label": "Data",
     "text": "OpenNeuro ds000256, sub-CTS203 (PDDL-1.0); the whole field of view shown, only margins where every array is 0 left out"
    },
    {
     "label": "Command",
     "text": "`DenoiseImage -i sub-CTS203_T2w.nii.gz -n Rician -o [ denoised.nii.gz, noise.nii.gz ] -s 1`"
    },
    {
     "label": "Programs",
     "text": "ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; the replica at commit `042d70d5a17c`"
    },
    {
     "label": "Grid",
     "text": "224 × 256 × 256 voxels of 0.8 × 0.801 × 0.801 mm; shown 224 × 256 × 256, three full-resolution slices"
    }
   ],
   "grid": {
    "shape": [
     224,
     256,
     256
    ],
    "spacing": [
     0.799998,
     0.800781,
     0.800781
    ],
    "to_file": [
     [
      1,
      0,
      0,
      0
     ],
     [
      0,
      1,
      0,
      0
     ],
     [
      0,
      0,
      1,
      0
     ],
     [
      0,
      0,
      0,
      1
     ]
    ],
    "affine": [
     [
      0.797333,
      0.065305,
      4e-06,
      -96.417252
     ],
     [
      -0.059124,
      0.723254,
      0.338602,
      -119.106903
     ],
     [
      0.027583,
      -0.337474,
      0.725672,
      -20.288734
     ],
     [
      0.0,
      0.0,
      0.0,
      1.0
     ]
    ],
    "file_shape": [
     224,
     256,
     256
    ],
    "orientation": "RAS (shown in neurological convention: the subject's left on the left)"
   },
   "view": {
    "kind": "slices",
    "voxel": [
     110,
     192,
     221
    ],
    "planes": {
     "axial": {
      "index": 221,
      "box": [
       0,
       0,
       224,
       256
      ],
      "offset": 0,
      "outside_mask": 1
     },
     "coronal": {
      "index": 192,
      "box": [
       0,
       0,
       224,
       256
      ],
      "offset": 57344,
      "outside_mask": 1
     },
     "sagittal": {
      "index": 110,
      "box": [
       0,
       0,
       256,
       256
      ],
      "offset": 114688,
      "outside_mask": 1
     }
    },
    "per_volume": 180224
   },
   "mask": {
    "blob": "c2a86b807c2aa562cba34669.bin",
    "dtype": "u1",
    "bytes": 198
   },
   "outputs": [
    {
     "id": "denoised",
     "label": "denoised",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -1.542541858725599e-05,
       "hi": 157.69762100219754
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -0.0004596710205078125,
       "hi": 328.07098388671875
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    },
    {
     "id": "noise",
     "label": "noise",
     "unit": "",
     "windows": [
      {
       "id": "brain",
       "label": "brain, 0.5–99.5 %",
       "lo": -22.148657064437867,
       "hi": 25.235315456390403
      },
      {
       "id": "full",
       "label": "full range",
       "lo": -125.3779296875,
       "hi": 121.87673950195312
      },
      {
       "id": "own",
       "label": "each image's own 0.5–99.5 %",
       "lo": 0,
       "hi": 1
      }
     ]
    }
   ],
   "panels": [
    {
     "id": "input",
     "role": "input",
     "label": "ds000256 sub-CTS203",
     "sub": "sub-CTS203_T2w.nii.gz",
     "arrays": {
      "all": {
       "blob": "7a541d8fbb03bc1bb697f027.bin",
       "dtype": "i2",
       "bytes": 232166,
       "scale": 0.0061799040995538235,
       "inter": 202.5030975341797
      }
     },
     "window": [
      0.0,
      170.00298187462613
     ],
     "port": "input"
    },
    {
     "id": "ants-1",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "1 thread · as built (GCC 14.3), glibc's maths",
     "arrays": {
      "denoised": {
       "blob": "f1a756bc19674746a3eab312.bin",
       "dtype": "f4",
       "bytes": 500883
      },
      "noise": {
       "blob": "bbdb9530685d3587d0ef826a.bin",
       "dtype": "f4",
       "bytes": 527255
      }
     },
     "own": {
      "denoised": [
       -1.542541858725599e-05,
       157.69762100219754
      ],
      "noise": [
       -22.148657064437867,
       25.235315456390403
      ]
     },
     "port": "original"
    },
    {
     "id": "ants-1-cr",
     "role": "reference",
     "label": "ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "sub": "1 thread, CORE-MATH preloaded",
     "arrays": {
      "denoised": {
       "blob": "4247f7ef309db465a172185c.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 1135
      },
      "noise": {
       "blob": "acbc68c1ecf2472985f87456.bin",
       "dtype": "f4",
       "xor": "ants-1:noise",
       "zero": false,
       "bytes": 1217
      }
     },
     "own": {
      "denoised": [
       -1.542541858725599e-05,
       157.69762100219754
      ],
      "noise": [
       -22.148657064437867,
       25.235315456390403
      ]
     },
     "port": "original"
    },
    {
     "id": "larmorx",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · reproduce, 8 threads · against ANTs DenoiseImage 2.6.5",
     "arrays": {
      "denoised": {
       "same": "ants-1-cr:denoised",
       "dtype": "f4"
      },
      "noise": {
       "same": "ants-1-cr:noise",
       "dtype": "f4"
      }
     },
     "own": {
      "denoised": [
       -1.542541858725599e-05,
       157.69762100219754
      ],
      "noise": [
       -22.148657064437867,
       25.235315456390403
      ]
     },
     "port": "replica"
    },
    {
     "id": "larmorx-fix",
     "role": "larmorx",
     "label": "replica",
     "sub": "larmorx, Apache-2.0 · fix (the default), 8 threads",
     "arrays": {
      "denoised": {
       "blob": "502df95d281bdd5ff6f89f9f.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:denoised",
       "zero": false,
       "bytes": 19196
      },
      "noise": {
       "blob": "077b6c28efd8eddb8e322b65.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:noise",
       "zero": false,
       "bytes": 22212
      }
     },
     "own": {
      "denoised": [
       -1.542541858725599e-05,
       157.66035232543953
      ],
      "noise": [
       -22.14760802268982,
       25.239042005539023
      ]
     },
     "port": "replica"
    },
    {
     "id": "ants-8",
     "role": "original",
     "label": "ANTs DenoiseImage 2.6.5",
     "sub": "8 threads · as built",
     "arrays": {
      "denoised": {
       "blob": "3a882f31a49f958485e246ff.bin",
       "dtype": "f4",
       "xor": "ants-1:denoised",
       "zero": false,
       "bytes": 363953
      },
      "noise": {
       "blob": "22623b8561c14326a4eb19bf.bin",
       "dtype": "f4",
       "xor": "ants-1-cr:noise",
       "zero": false,
       "bytes": 392036
      }
     },
     "own": {
      "denoised": [
       -1.5665813843952492e-05,
       157.6937586212159
      ],
      "noise": [
       -22.145415058135985,
       25.259041366577236
      ]
     },
     "port": "original"
    }
   ],
   "diffs": [
    {
     "id": "lx-ants",
     "a": "larmorx",
     "b": "ants-1",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, 1 thread, as built",
     "role_label": "the replica against the original",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 14680064,
       "differ": 10119,
       "share": 0.0006893021719796317,
       "max_abs": 7.152557373046875e-05,
       "at": [
        110,
        192,
        221
       ],
       "a_at": 0.9699192047119141,
       "b_at": 0.9698476791381836,
       "rms": 1.9189654989231357e-07,
       "range": 328.07144355773926,
       "max_rel_range": 2.1801828575756712e-07,
       "one_minus_ncc": 9.079648973110436e-18,
       "at_display": [
        110,
        192,
        221
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 14680064,
       "differ": 10285,
       "share": 0.0007006100245884486,
       "max_abs": 7.152557373046875e-05,
       "at": [
        110,
        192,
        221
       ],
       "a_at": 8.028020858764648,
       "b_at": 8.028092384338379,
       "rms": 1.9094943072043633e-07,
       "range": 247.25466918945312,
       "max_rel_range": 2.8927896069644673e-07,
       "one_minus_ncc": 4.4177418075163004e-16,
       "at_display": [
        110,
        192,
        221
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 7.152557373046875e-05,
       "at": [
        110,
        192,
        221
       ],
       "a": 0.9699192047119141,
       "b": 0.9698476791381836,
       "differ": 132,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 7.152557373046875e-05,
       "at": [
        110,
        192,
        221
       ],
       "a": 8.028020858764648,
       "b": 8.028092384338379,
       "differ": 133,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "identical-cr",
     "reason": "Only where glibc's maths is not correctly rounded (denoised, noise): with CORE-MATH preloaded, ANTs gives the replica's bytes.",
     "port": "replica"
    },
    {
     "id": "lx-cr",
     "a": "larmorx",
     "b": "ants-1-cr",
     "kind": "main",
     "label": "replica − ANTs DenoiseImage 2.6.5, correctly rounded maths",
     "role_label": "the replica against the original: correctly rounded maths",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 14680064,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 328.07144355773926,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        0,
        0,
        0
       ]
      },
      "noise": {
       "identical": true,
       "voxels": 14680064,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 247.25466918945312,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0,
       "at_display": [
        0,
        0,
        0
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        221
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0,
       "plane": "axial"
      },
      "noise": {
       "max_abs": 0.0,
       "at": [
        0,
        0,
        221
       ],
       "a": 0.0,
       "b": 0.0,
       "differ": 0,
       "plane": "axial"
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica gives ANTs' bytes with correctly rounded maths.",
     "port": "replica"
    },
    {
     "id": "lx1-lx",
     "a": "larmorx-1",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, 1 thread − 8 threads (reproduce)",
     "role_label": "the replica against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": true,
       "voxels": 14680064,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 328.07144355773926,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      },
      "noise": {
       "identical": true,
       "voxels": 14680064,
       "differ": 0,
       "share": 0.0,
       "max_abs": 0.0,
       "at": [
        0,
        0,
        0
       ],
       "a_at": 0.0,
       "b_at": 0.0,
       "rms": 0.0,
       "range": 247.25466918945312,
       "max_rel_range": 0.0,
       "one_minus_ncc": 0.0
      }
     },
     "links": [],
     "verdict": "bit-identical",
     "reason": "The replica's result does not depend on its thread count.",
     "port": "replica"
    },
    {
     "id": "fix-lx",
     "a": "larmorx-fix",
     "b": "larmorx",
     "kind": "check",
     "label": "replica, fix − reproduce",
     "role_label": "the replica against itself: fix and reproduce",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 14680064,
       "differ": 439971,
       "share": 0.029970645904541016,
       "max_abs": 1.414581298828125,
       "at": [
        110,
        106,
        93
       ],
       "a_at": 280.2581787109375,
       "b_at": 281.6727600097656,
       "rms": 0.07931576252614703,
       "range": 328.07144355773926,
       "max_rel_range": 0.004311808682547417,
       "one_minus_ncc": 1.3640018480608863e-06,
       "at_display": [
        110,
        106,
        93
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 14680064,
       "differ": 450361,
       "share": 0.030678408486502513,
       "max_abs": 1.414581298828125,
       "at": [
        110,
        106,
        93
       ],
       "a_at": -15.257720947265625,
       "b_at": -16.67230224609375,
       "rms": 0.07931576249883937,
       "range": 247.25466918945312,
       "max_rel_range": 0.005721151003802622,
       "one_minus_ncc": 7.404762873192169e-05,
       "at_display": [
        110,
        106,
        93
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 1.414581298828125,
       "at": [
        110,
        106,
        93
       ],
       "a": 280.2581787109375,
       "b": 281.6727600097656,
       "differ": 4960,
       "plane": "sagittal"
      },
      "noise": {
       "max_abs": 1.414581298828125,
       "at": [
        110,
        106,
        93
       ],
       "a": -15.257720947265625,
       "b": -16.67230224609375,
       "differ": 5066,
       "plane": "sagittal"
      }
     },
     "links": [],
     "verdict": "d13",
     "reason": "The replica's default, `fix`, corrects ANTS-43 ([register](repo:docs/findings/upstream-defects.md)); `reproduce` gives ANTs' result. Changed: denoised, noise.",
     "port": "replica"
    },
    {
     "id": "ants8-ants1",
     "a": "ants-8",
     "b": "ants-1",
     "kind": "variability",
     "label": "ANTs DenoiseImage 2.6.5, 8 threads − 1 thread",
     "role_label": "the original against itself: 1 and 8 threads",
     "metrics": {
      "denoised": {
       "identical": false,
       "voxels": 14680064,
       "differ": 9734714,
       "share": 0.6631247656685966,
       "max_abs": 33.73271179199219,
       "at": [
        144,
        138,
        97
       ],
       "a_at": 0.0,
       "b_at": 33.73271179199219,
       "rms": 0.29056984599646096,
       "range": 328.07144355773926,
       "max_rel_range": 0.10282123742981417,
       "one_minus_ncc": 2.0792451564237913e-05,
       "at_display": [
        144,
        138,
        97
       ]
      },
      "noise": {
       "identical": false,
       "voxels": 14680064,
       "differ": 9739457,
       "share": 0.6634478569030762,
       "max_abs": 33.73271179199219,
       "at": [
        144,
        138,
        97
       ],
       "a_at": 50.00160217285156,
       "b_at": 16.268890380859375,
       "rms": 0.29056984622544924,
       "range": 247.25466918945312,
       "max_rel_range": 0.13642901831773005,
       "one_minus_ncc": 0.0010219461880736115,
       "at_display": [
        144,
        138,
        97
       ]
      }
     },
     "display": {
      "denoised": {
       "max_abs": 17.903717041015625,
       "at": [
        110,
        110,
        230
       ],
       "a": 17.903717041015625,
       "b": 0.0,
       "differ": 130910,
       "plane": "sagittal"
      },
      "noise": {
       "max_abs": 17.903717041015625,
       "at": [
        110,
        110,
        230
       ],
       "a": 14.095827102661133,
       "b": 31.999544143676758,
       "differ": 130953,
       "plane": "sagittal"
      }
     },
     "links": [],
     "verdict": null,
     "reason": "ANTs' own result moves with its thread count (denoised, noise): the yardstick for any difference above.",
     "port": "original"
    }
   ],
   "default": {
    "output": "denoised",
    "plane": "axial",
    "voxel": [
     110,
     192,
     221
    ],
    "panels": [
     "input",
     "ants-1",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "lx-ants",
     "lx-cr",
     "fix-lx"
    ],
    "compare": {
     "a": "ants-1",
     "b": "larmorx"
    },
    "scale": "linear"
   },
   "poster": {
    "plane": "axial",
    "slice": 221,
    "aspect": 0.87414,
    "panels": {
     "input": "43572ca8ec7157486ac5cc6e.webp",
     "ants-1": "6031734f514885668b28913a.webp",
     "larmorx": "6031734f514885668b28913a.webp",
     "larmorx-fix": "6031734f514885668b28913a.webp"
    },
    "diffs": {
     "lx-ants": "c89bbdb20074354f9bab1b78.webp",
     "fix-lx": "b4571e791988edeef0d8ca0e.webp"
    },
    "ranges": {
     "lx-ants": 1.414581298828125,
     "fix-lx": 1.414581298828125
    },
    "caption": "Axial slice 222 of 256; the crosshair where the replica differs most from ANTs as built; the three slices through it are stored at full resolution."
   },
   "chain": null,
   "metrics_note": "Δ is A − B over all 14,680,064 values of each output.",
   "provenance": [
    "Data: OpenNeuro ds000256, sub-CTS203, PDDL-1.0",
    "Inputs: input 1 (sha256 ecc1c76bc4c2f1fd…)",
    "Runs: figures cache entry `ants-denoise/panel-rician-child-t2w`, computed 2026-10-27T00:57:52+00:00 with larmorx `042d70d5a17c`; ANTs v2.6.5 (fdce4d2f84) on ITK v5.4.5 (f51594ad88), x86_64-conda-linux-gnu-g++ (conda-forge gcc 14.3.0-20) 14.3.0; every command, its environment, threads and exit status are in its `RUN_INFO.json`"
   ],
   "order": {
    "panels": [
     "input",
     "ants-1",
     "ants-8",
     "ants-1-cr",
     "larmorx",
     "larmorx-fix"
    ],
    "diffs": [
     "ants8-ants1",
     "lx-ants",
     "lx-cr",
     "fix-lx",
     "lx1-lx"
    ],
    "groups": [
     [
      "The original against itself: the yardstick",
      [
       "ants8-ants1"
      ]
     ],
     [
      "The replica against the original",
      [
       "lx-ants",
       "lx-cr"
      ]
     ],
     [
      "The replica against itself: thread counts, fix and reproduce",
      [
       "fix-lx",
       "lx1-lx"
      ]
     ]
    ]
   },
   "shows": {
    "text": "In `reproduce`, on 1 and 8 threads, the replica gives ANTs' bytes with correctly rounded maths; ANTs as built differs only where glibc's maths is not correctly rounded (largest difference 7.2e-05). Its default, `fix`, corrects [ANTS-43](repo:docs/findings/upstream-defects.md#summary) here.",
    "verdicts": [
     {
      "diff": "lx-ants",
      "port": "replica",
      "verdict": "identical-cr"
     }
    ]
   },
   "credits": [
    "openneuro-ds000256"
   ]
  }
 ],
 "tables": [
  {
   "id": "panel-nodes",
   "title": "fMRIPrep's DenoiseImage nodes in the fourteen fMRIPrep runs, and what the panel record compares of them",
   "columns": [
    {
     "label": "Node (normalised path)"
    },
    {
     "label": "Nodes",
     "num": true
    },
    {
     "label": "Runs",
     "num": true
    },
    {
     "label": "Compared",
     "num": true
    },
    {
     "label": "Same call as a compared one",
     "num": true
    },
    {
     "label": "Statuses",
     "num": false
    },
    {
     "label": "Not compared: why",
     "num": false
    }
   ],
   "rows": [
    {
     "head": "anat_fit_wf/anat_template_wf/denoise",
     "cells": [
      {
       "v": 17,
       "fmt": "count"
      },
      {
       "v": 14,
       "fmt": "count"
      },
      {
       "v": 17,
       "fmt": "count"
      },
      {
       "v": 0,
       "fmt": "count"
      },
      {
       "text": "17 pass"
      },
      {
       "text": "–"
      }
     ]
    }
   ],
   "note": "From the panel record (docs/validation/ants-denoise-panel.md): every node of the finished fMRIPrep 25.2.6 runs that ran the program, grouped by its path with the subject, run, space and item removed; a call repeated word for word is compared once."
  }
 ],
 "random_testing": {
  "title": "Random testing, the replica against the original: ANTs `DenoiseImage` 2.6.5",
  "names": {
   "port": "replica"
  }
 },
 "category_labels": {
  "fmriprep": "fMRIPrep's calls",
  "options": "options",
  "inputs": "inputs",
  "errors": "errors",
  "panel-fmriprep": "data panel: fMRIPrep's calls",
  "panel-images": "data panel: other images"
 },
 "presentation": "writing-guide",
 "cases_credits": [
  "openneuro-ds000005",
  "openneuro-ds005454",
  "openneuro-ds004173",
  "openneuro-ds003592",
  "openneuro-ds000256",
  "openneuro-ds000210",
  "openneuro-ds003012",
  "openneuro-ds000228",
  "openneuro-ds001600",
  "openneuro-ds002422",
  "openneuro-ds002603",
  "openneuro-ds004884",
  "openneuro-ds004958",
  "openneuro-ds005003",
  "openneuro-ds005040",
  "openneuro-ds005752",
  "templateflow-MNI152NLin2009cAsym"
 ],
 "credits": {
  "openneuro-ds000005": {
   "id": "openneuro-ds000005",
   "title": "Mixed-gambles task",
   "source": "OpenNeuro ds000005",
   "version": "00001",
   "doi": "",
   "url": "https://openneuro.org/datasets/ds000005/versions/00001",
   "licence": "PDDL-1.0",
   "licence_name": "Open Data Commons Public Domain Dedication and Licence 1.0",
   "licence_url": "https://opendatacommons.org/licenses/pddl/1-0/",
   "citation": "Tom, S.M., Fox, C.R., Trepel, C., Poldrack, R.A. (2007). The neural basis of loss aversion in decision-making under risk. Science, 315(5811):515-8. Dataset: OpenNeuro ds000005 (OpenfMRI), snapshot 00001.",
   "attribution": false,
   "share_alike": false,
   "text": "Mixed-gambles task (OpenNeuro ds000005, version 00001), Open Data Commons Public Domain Dedication and Licence 1.0."
  },
  "openneuro-ds000210": {
   "id": "openneuro-ds000210",
   "title": "Multi-echo fMRI replication sample",
   "source": "OpenNeuro ds000210",
   "version": "00002",
   "doi": "",
   "url": "https://openneuro.org/datasets/ds000210/versions/00002",
   "licence": "PDDL-1.0",
   "licence_name": "Open Data Commons Public Domain Dedication and Licence 1.0",
   "licence_url": "https://opendatacommons.org/licenses/pddl/1-0/",
   "citation": "DuPre, E., Luh, W.-M., Spreng, R.N. (2016). Multi-echo fMRI replication sample of autobiographical memory, prospection and theory of mind reasoning tasks. Scientific Data 3, 160116. doi:10.1038/sdata.2016.116. Dataset: OpenNeuro ds000210, snapshot 00002.",
   "attribution": false,
   "share_alike": false,
   "text": "Multi-echo fMRI replication sample (OpenNeuro ds000210, version 00002), Open Data Commons Public Domain Dedication and Licence 1.0."
  },
  "openneuro-ds000228": {
   "id": "openneuro-ds000228",
   "title": "Children and adults watching a short film",
   "source": "OpenNeuro ds000228",
   "version": "1.1.1",
   "doi": "10.18112/openneuro.ds000228.v1.1.1",
   "url": "https://openneuro.org/datasets/ds000228/versions/1.1.1",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Richardson H, Lisandrelli G, Riobueno-Naylor A, Saxe R (2018). Development of the social brain from age three to twelve years. Nature Communications 9:1027. doi:10.1038/s41467-018-03399-2. Dataset: OpenNeuro ds000228 v1.1.1, doi:10.18112/openneuro.ds000228.v1.1.1",
   "attribution": false,
   "share_alike": false,
   "text": "Children and adults watching a short film (OpenNeuro ds000228, version 1.1.1, doi:10.18112/openneuro.ds000228.v1.1.1), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds000256": {
   "id": "openneuro-ds000256",
   "title": "Behavioral interventions for reducing head motion in children",
   "source": "OpenNeuro ds000256",
   "version": "00002",
   "doi": "",
   "url": "https://openneuro.org/datasets/ds000256/versions/00002",
   "licence": "PDDL-1.0",
   "licence_name": "Open Data Commons Public Domain Dedication and Licence 1.0",
   "licence_url": "https://opendatacommons.org/licenses/pddl/1-0/",
   "citation": "Greene DJ, Koller JM, Hampton JM, Wesevich V, Van AN, Nguyen AL, Hoyt CR, McIntyre L, Earl EA, Klein RL, Shimony JS, Petersen SE, Schlaggar BL, Fair DA, Dosenbach NUF (2018). Behavioral interventions for reducing head motion during MRI scans in children. NeuroImage 171:234-245, https://www.sciencedirect.com/science/article/pii/S1053811918300235. Dataset: OpenNeuro ds000256 v00002",
   "attribution": false,
   "share_alike": false,
   "text": "Behavioral interventions for reducing head motion in children (OpenNeuro ds000256, version 00002), Open Data Commons Public Domain Dedication and Licence 1.0."
  },
  "openneuro-ds001600": {
   "id": "openneuro-ds001600",
   "title": "Example fieldmaps",
   "source": "OpenNeuro ds001600",
   "version": "1.0.0",
   "doi": "",
   "url": "https://openneuro.org/datasets/ds001600/versions/1.0.0",
   "licence": "CC-BY-SA",
   "licence_name": "Creative Commons Attribution-ShareAlike (CC BY-SA; the dataset gives no version)",
   "licence_url": "https://creativecommons.org/licenses/by-sa/4.0/",
   "citation": "Cieslak M., Elliott M., Satterthwaite T. Example Fieldmaps. OpenNeuro ds001600, version 1.0.0 (Siemens Prisma, University of Pennsylvania).",
   "attribution": true,
   "share_alike": true,
   "text": "Example fieldmaps (OpenNeuro ds001600, version 1.0.0), Creative Commons Attribution-ShareAlike (CC BY-SA; the dataset gives no version). Attribution: Cieslak M., Elliott M., Satterthwaite T. Example Fieldmaps. OpenNeuro ds001600, version 1.0.0 (Siemens Prisma, University of Pennsylvania). The images shown here are adapted from it: reoriented to RAS, cropped to the region shown, masked outside it, and shown as the outputs of the programs compared. Under its share-alike condition the images adapted from this dataset are shared under the same licence, CC BY-SA."
  },
  "openneuro-ds002422": {
   "id": "openneuro-ds002422",
   "title": "fMRI: resting state and arithmetic task",
   "source": "OpenNeuro ds002422",
   "version": "1.1.0",
   "doi": "10.18112/openneuro.ds002422.v1.1.0",
   "url": "https://openneuro.org/datasets/ds002422/versions/1.1.0",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Panikratova Y, Tomyshev A, Pechenkova E, Vlasova R. fMRI: resting state and arithmetic task. OpenNeuro ds002422 v1.1.0, doi:10.18112/openneuro.ds002422.v1.1.0 (\"This dataset was provided by Ya. Panikratova, A. Tomyshev, E. Pechenkova, and R. Vlasova\")",
   "attribution": false,
   "share_alike": false,
   "text": "fMRI: resting state and arithmetic task (OpenNeuro ds002422, version 1.1.0, doi:10.18112/openneuro.ds002422.v1.1.0), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds002603": {
   "id": "openneuro-ds002603",
   "title": "MB-EPI-comparison",
   "source": "OpenNeuro ds002603",
   "version": "1.0.0",
   "doi": "10.18112/openneuro.ds002603.v1.0.0",
   "url": "https://openneuro.org/datasets/ds002603/versions/1.0.0",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Snoek L, Beemsterboer T, Scholte HS. MB-EPI-comparison. OpenNeuro ds002603 v1.0.0, doi:10.18112/openneuro.ds002603.v1.0.0",
   "attribution": false,
   "share_alike": false,
   "text": "MB-EPI-comparison (OpenNeuro ds002603, version 1.0.0, doi:10.18112/openneuro.ds002603.v1.0.0), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds003012": {
   "id": "openneuro-ds003012",
   "title": "Action in auctions",
   "source": "OpenNeuro ds003012",
   "version": "1.0.4",
   "doi": "",
   "url": "https://openneuro.org/datasets/ds003012/versions/1.0.4",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Martinez-Saito M, Konovalov R, Piradov MA, Shestakova A, Gutkin B, Klucharev V (2019). Action in auctions: neural and computational mechanisms of bidding behaviour. European Journal of Neuroscience 50(8):3327-3348. doi:10.1111/ejn.14492. Dataset: OpenNeuro ds003012 v1.0.4",
   "attribution": false,
   "share_alike": false,
   "text": "Action in auctions (OpenNeuro ds003012, version 1.0.4), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds003592": {
   "id": "openneuro-ds003592",
   "title": "Neurocognitive aging data release",
   "source": "OpenNeuro ds003592",
   "version": "1.0.13",
   "doi": "10.18112/openneuro.ds003592.v1.0.13",
   "url": "https://openneuro.org/datasets/ds003592/versions/1.0.13",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Spreng RN, Setton R, Alter U, Cassidy BN, Darboh B, DuPre E, Kantarovich K, Lockrow AW, Mwilambwe-Tshilobo L, Luh W-M, Kundu P, Turner GR. Neurocognitive aging data release with behavioral, structural, and multi-echo functional MRI measures. OpenNeuro ds003592 v1.0.13, doi:10.18112/openneuro.ds003592.v1.0.13",
   "attribution": false,
   "share_alike": false,
   "text": "Neurocognitive aging data release (OpenNeuro ds003592, version 1.0.13, doi:10.18112/openneuro.ds003592.v1.0.13), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds004173": {
   "id": "openneuro-ds004173",
   "title": "Movement-related artefacts (MR-ART)",
   "source": "OpenNeuro ds004173",
   "version": "1.0.2",
   "doi": "10.18112/openneuro.ds004173.v1.0.2",
   "url": "https://openneuro.org/datasets/ds004173/versions/1.0.2",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Nárai Á, Hermann P, Auer T, Kemenczky P, Szalma J, Homolya I, Somogyi E, Vakli P, Weiss B, Vidnyánszky Z (2022). Movement-related artefacts (MR-ART) dataset of matched motion-corrupted and clean structural MRI brain scans. Scientific Data 9:630, doi:10.1038/s41597-022-01694-8. Dataset: OpenNeuro ds004173 v1.0.2, doi:10.18112/openneuro.ds004173.v1.0.2",
   "attribution": false,
   "share_alike": false,
   "text": "Movement-related artefacts (MR-ART) (OpenNeuro ds004173, version 1.0.2, doi:10.18112/openneuro.ds004173.v1.0.2), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds004884": {
   "id": "openneuro-ds004884",
   "title": "Aphasia Recovery Cohort",
   "source": "OpenNeuro ds004884",
   "version": "1.0.2",
   "doi": "10.18112/openneuro.ds004884.v1.0.2",
   "url": "https://openneuro.org/datasets/ds004884/versions/1.0.2",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Gibson M, Newman-Norlund R, Bonilha L, Fridriksson J, Hickok G, Hillis AE, den Ouden DB, Rorden C (2024). The Aphasia Recovery Cohort, an open-source chronic stroke repository. Scientific Data 11:981. doi:10.1038/s41597-024-03819-7. Dataset: OpenNeuro ds004884 v1.0.2, doi:10.18112/openneuro.ds004884.v1.0.2",
   "attribution": false,
   "share_alike": false,
   "text": "Aphasia Recovery Cohort (OpenNeuro ds004884, version 1.0.2, doi:10.18112/openneuro.ds004884.v1.0.2), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds004958": {
   "id": "openneuro-ds004958",
   "title": "The FreeSurfer Maintenance Dataset",
   "source": "OpenNeuro ds004958",
   "version": "1.0.0",
   "doi": "10.18112/openneuro.ds004958.v1.0.0",
   "url": "https://openneuro.org/datasets/ds004958/versions/1.0.0",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Greve DN, Fischl B. The FreeSurfer Maintenance Dataset. OpenNeuro ds004958 v1.0.0, doi:10.18112/openneuro.ds004958.v1.0.0 (FreeSurfer Maintenance grant R01EB023281; https://surfer.nmr.mgh.harvard.edu/fswiki/FsmData)",
   "attribution": false,
   "share_alike": false,
   "text": "The FreeSurfer Maintenance Dataset (OpenNeuro ds004958, version 1.0.0, doi:10.18112/openneuro.ds004958.v1.0.0), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds005003": {
   "id": "openneuro-ds005003",
   "title": "Retrospective Task/Rest fMRI Data from Tumor Patients",
   "source": "OpenNeuro ds005003",
   "version": "2.0.0",
   "doi": "10.18112/openneuro.ds005003.v2.0.0",
   "url": "https://openneuro.org/datasets/ds005003/versions/2.0.0",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Leuthardt EC, Shimony JS, Snyder AZ, Dierker D, Park KY. Retrospective Task/Rest fMRI Data from Tumor Patients. OpenNeuro ds005003 v2.0.0, doi:10.18112/openneuro.ds005003.v2.0.0. The authors ask to cite doi:10.1016/j.nic.2017.06.011 and doi:10.1371/journal.pone.0236423 and to acknowledge accession ds005003.",
   "attribution": false,
   "share_alike": false,
   "text": "Retrospective Task/Rest fMRI Data from Tumor Patients (OpenNeuro ds005003, version 2.0.0, doi:10.18112/openneuro.ds005003.v2.0.0), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds005040": {
   "id": "openneuro-ds005040",
   "title": "Political Moralization",
   "source": "OpenNeuro ds005040",
   "version": "1.2.0",
   "doi": "10.18112/openneuro.ds005040.v1.2.0",
   "url": "https://openneuro.org/datasets/ds005040/versions/1.2.0",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Cohen MS, Cao Q, Decety J. Political Moralization (PMM). OpenNeuro ds005040 v1.2.0, doi:10.18112/openneuro.ds005040.v1.2.0",
   "attribution": false,
   "share_alike": false,
   "text": "Political Moralization (OpenNeuro ds005040, version 1.2.0, doi:10.18112/openneuro.ds005040.v1.2.0), CC0 1.0 public-domain dedication."
  },
  "openneuro-ds005454": {
   "id": "openneuro-ds005454",
   "title": "fMRIPrep boot camp 7T training dataset",
   "source": "OpenNeuro ds005454",
   "version": "1.0.0",
   "doi": "10.18112/openneuro.ds005454.v1.0.0",
   "url": "https://openneuro.org/datasets/ds005454/versions/1.0.0",
   "licence": "CC-BY-4.0",
   "licence_name": "Creative Commons Attribution 4.0 (CC BY 4.0)",
   "licence_url": "https://creativecommons.org/licenses/by/4.0/",
   "citation": "Sleight EC, Esteban O, Grouiller F. fMRIPrep boot camp -- 7T training dataset. OpenNeuro ds005454, version 1.0.0. doi:10.18112/openneuro.ds005454.v1.0.0",
   "attribution": true,
   "share_alike": false,
   "text": "fMRIPrep boot camp 7T training dataset (OpenNeuro ds005454, version 1.0.0, doi:10.18112/openneuro.ds005454.v1.0.0), Creative Commons Attribution 4.0 (CC BY 4.0). Attribution: Sleight EC, Esteban O, Grouiller F. fMRIPrep boot camp -- 7T training dataset. OpenNeuro ds005454, version 1.0.0. doi:10.18112/openneuro.ds005454.v1.0.0 The images shown here are adapted from it: reoriented to RAS, cropped to the region shown, masked outside it, and shown as the outputs of the programs compared."
  },
  "openneuro-ds005752": {
   "id": "openneuro-ds005752",
   "title": "NIMH Healthy Research Volunteer Dataset",
   "source": "OpenNeuro ds005752",
   "version": "2.1.0",
   "doi": "10.18112/openneuro.ds005752.v2.1.0",
   "url": "https://openneuro.org/datasets/ds005752/versions/2.1.0",
   "licence": "CC0-1.0",
   "licence_name": "CC0 1.0 public-domain dedication",
   "licence_url": "https://creativecommons.org/publicdomain/zero/1.0/",
   "citation": "Nugent AC, Thomas AG, Mahoney M, Gibbons A, Smith JT, Charles AJ, Shaw JS, Stout JD, Namyst AM, Basavaraj A, Earl E, Riddle T, Snow J, Japee S, Pavletic AJ, Sinclair S, Roopchansingh V, Bandettini PA, Chung J (2022). The NIMH intramural healthy volunteer dataset: A comprehensive MEG, MRI, and behavioral resource. Scientific Data 9:518. doi:10.1038/s41597-022-01623-9. Dataset: OpenNeuro ds005752 v2.1.0, doi:10.18112/openneuro.ds005752.v2.1.0",
   "attribution": false,
   "share_alike": false,
   "text": "NIMH Healthy Research Volunteer Dataset (OpenNeuro ds005752, version 2.1.0, doi:10.18112/openneuro.ds005752.v2.1.0), CC0 1.0 public-domain dedication."
  },
  "templateflow-MNI152NLin2009cAsym": {
   "id": "templateflow-MNI152NLin2009cAsym",
   "title": "MNI152NLin2009cAsym template",
   "source": "TemplateFlow",
   "version": "tpl-MNI152NLin2009cAsym git 15d7c02160f79f5218d2545b4febebeecc11531d",
   "doi": "",
   "url": "https://github.com/templateflow/tpl-MNI152NLin2009cAsym/tree/15d7c02160f79f5218d2545b4febebeecc11531d",
   "licence": "MNI-ICBM152",
   "licence_name": "the MNI ICBM 152 copyright notice",
   "licence_url": "/static/hero/LICENSE-MNI.txt",
   "citation": "Fonov V, Evans AC, Botteron K, Almli CR, McKinstry RC, Collins DL. ICBM 152 Nonlinear Asymmetrical template version 2009c. https://doi.org/10.1016/j.neuroimage.2010.07.033; https://doi.org/10.1016/S1053-8119(09)70884-5; http://nist.mni.mcgill.ca/?p=904; https://doi.org/10.1007/3-540-48714-X_16. Distributed by TemplateFlow: Ciric R, et al. TemplateFlow: FAIR-sharing of multi-scale, multi-species brain models. Nat Methods 19, 1568-1571 (2022). doi:10.1038/s41592-022-01681-2",
   "attribution": false,
   "share_alike": false,
   "text": "MNI152NLin2009cAsym template (TemplateFlow, version tpl-MNI152NLin2009cAsym git 15d7c02160f79f5218d2545b4febebeecc11531d), the MNI ICBM 152 copyright notice. Copyright (C) 1993–2004 Louis Collins, McConnell Brain Imaging Centre, Montreal Neurological Institute, McGill University."
  }
 }
}
