sub-001_ses-020_task-qct_dir-RL_bold.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="generator" content="NiReports: https://www.nipreps.org/" />
  7. <title>sub-001_ses-020_task-qct_dir-RL_bold :: MRIQC's BOLD fMRI report</title>
  8. <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  9. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
  10. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
  11. <script>
  12. var timestamp = Date.now()
  13. function read_form() {
  14. var ds = "<unset>";
  15. var sub = "sub-001_ses-020_task-qct_dir-RL_echo-1_part-mag_bold.nii.gz";
  16. var artifacts = [];
  17. $('#qcartifacts-group input:checked').each(function() {
  18. artifacts.push($(this).attr('name'));
  19. });
  20. var rating = $('#qcslider').val();
  21. var payload = {
  22. 'dataset': ds,
  23. 'subject': sub,
  24. 'rating': rating,
  25. 'artifacts': artifacts,
  26. 'time_sec': (Date.now() - timestamp) / 1000,
  27. 'confidence': $('#qcextra-confidence').val(),
  28. 'comments': $('#qcextra-comments').val()
  29. };
  30. var file = new Blob([JSON.stringify(payload)], {type: 'text/json'});
  31. $('#btn-download').attr('href', URL.createObjectURL(file));
  32. $('#btn-download').attr('download', payload['dataset'] + "_" + payload['subject'] + ".json");
  33. return payload
  34. };
  35. function toggle_rating() {
  36. if ($('#qcrating-menu').hasClass('d-none')) {
  37. $('#qcrating-menu').removeClass('d-none');
  38. $('#qcrating-toggler').prop('checked', true);
  39. } else {
  40. $('#qcrating-menu').addClass('d-none');
  41. $('#qcrating-toggler').prop('checked', false);
  42. }
  43. };
  44. $(window).on('load',function(){
  45. var authorization = $('#btn-post').val()
  46. if (authorization.includes("secret_token")) {
  47. $('#btn-post').addClass('d-none');
  48. };
  49. timestamp = Date.now();
  50. });
  51. </script>
  52. <style type="text/css">
  53. /* The slider itself */
  54. .slider {
  55. -webkit-appearance: none; /* Override default CSS styles */
  56. appearance: none;
  57. margin-bottom: 8px;
  58. margin-left: 10%;
  59. width: 80%;
  60. height: 5px; /* Specified height */
  61. background: #d3d3d3; /* Grey background */
  62. outline: none; /* Remove outline */
  63. opacity: 0.7; /* Set transparency (for mouse-over effects on hover) */
  64. -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  65. transition: opacity .2s;
  66. }
  67. /* Mouse-over effects */
  68. .slider:hover {
  69. opacity: 1; /* Fully shown on mouse-over */
  70. }
  71. .slider::-webkit-slider-thumb {
  72. -webkit-appearance: none;
  73. appearance: none;
  74. width: 25px;
  75. height: 25px;
  76. border: 0;
  77. background: url('https://raw.githubusercontent.com/nipreps/nireports/main/assets/slider-handle.png');
  78. cursor: pointer;
  79. z-index: 2000 !important;
  80. }
  81. .slider::-moz-range-thumb {
  82. width: 25px;
  83. height: 25px;
  84. border: 0;
  85. background: url('https://raw.githubusercontent.com/nipreps/nireports/main/assets/slider-handle.png');
  86. cursor: pointer;
  87. z-index: 2000 !important;
  88. }
  89. </style>
  90. </head>
  91. <body style="font-family: helvetica;">
  92. <nav class="navbar fixed-top navbar-expand-lg bg-light">
  93. <div class="container-fluid">
  94. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  95. <ul class="navbar-nav me-auto mb-2 mb-lg-0">
  96. <li class="nav-item dropdown">
  97. <a class="nav-link dropdown-toggle" id="navbarBasic echo-wise reports" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#Basic echo-wise reports">
  98. Basic echo-wise reports
  99. </a>
  100. <ul class="dropdown-menu">
  101. <li><a class="dropdown-item" href="#datatype-figures_desc-stdev_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">1</span>.</a></li>
  102. <li><a class="dropdown-item" href="#datatype-figures_desc-stdev_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">2</span>.</a></li>
  103. <li><a class="dropdown-item" href="#datatype-figures_desc-stdev_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">3</span>.</a></li>
  104. <li><a class="dropdown-item" href="#datatype-figures_desc-stdev_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">4</span>.</a></li>
  105. </ul>
  106. </li>
  107. <li class="nav-item dropdown">
  108. <a class="nav-link dropdown-toggle" id="navbarExtended echo-wise reports" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#Extended echo-wise reports">
  109. Extended echo-wise reports
  110. </a>
  111. <ul class="dropdown-menu">
  112. <li><a class="dropdown-item" href="#datatype-figures_desc-mean_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">1</span>.</a></li>
  113. <li><a class="dropdown-item" href="#datatype-figures_desc-mean_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">2</span>.</a></li>
  114. <li><a class="dropdown-item" href="#datatype-figures_desc-mean_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">3</span>.</a></li>
  115. <li><a class="dropdown-item" href="#datatype-figures_desc-mean_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct">Reports for: echo <span class="bids-entity">4</span>.</a></li>
  116. </ul>
  117. </li>
  118. <li class="nav-item"><a class="nav-link" href="#Extended reports shared across echos">Extended reports shared across echos</a></li>
  119. <li class="nav-item dropdown">
  120. <a class="nav-link dropdown-toggle" id="navbarAbout" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#About">
  121. About
  122. </a>
  123. <ul class="dropdown-menu">
  124. <li><a class="dropdown-item" href="#errors">Errors</a></li>
  125. <li><a class="dropdown-item" href="#meta-about-metadata">Reproducibility and provenance information</a></li>
  126. </ul>
  127. </li>
  128. </ul>
  129. </div>
  130. </div>
  131. <div class="d-flex flex-row-reverse">
  132. <div class="form-check form-switch align-self-center flex-fill me-4">
  133. <input class="form-check-input" type="checkbox" id="qcrating-toggler"></input>
  134. <label class="form-check-label" style="width: 100pt;" for="qcrating-toggler">Rating widget</label>
  135. </div>
  136. </div>
  137. </nav>
  138. <noscript>
  139. <h1 class="text-danger"> The navigation menu uses Javascript. Without it this report might not work as expected </h1>
  140. </noscript>
  141. <div id="Basic echo-wise reports" class="mt-5">
  142. <h1 class="sub-report-title pt-5 ps-4">Basic echo-wise reports</h1>
  143. <div id="datatype-figures_desc-stdev_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  144. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">1</span>.</h2><h3 class="run-title mt-3">Standard deviation of signal through time</h3><p class="elem-caption">The voxel-wise standard deviation of the signal (variability along time).</p> <div class="reportlet">
  145. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-stdev_bold.svg" style="width: 100%" />
  146. </div>
  147. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-stdev_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-stdev_bold.svg</a></small>
  148. </div>
  149. <div id="datatype-figures_desc-background_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  150. <h3 class="run-title mt-3">View of the background of the voxel-wise average of the BOLD timeseries</h3><p class="elem-caption">This panel shows a mosaic enhancing the background around the head. Artifacts usually unveil themselves in the air surrounding the head, where no signal sources are present.</p> <div class="reportlet">
  151. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-background_bold.svg" style="width: 100%" />
  152. </div>
  153. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-background_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-background_bold.svg</a></small>
  154. </div>
  155. <div id="datatype-figures_desc-zoomed_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  156. <h3 class="run-title mt-3">Voxel-wise average of BOLD time-series, zoomed-in covering just the brain</h3><p class="elem-caption">This panel shows a mosaic of the brain. This mosaic is the most suitable to screen head-motion intensity inhomogeneities, global/local noise, signal leakage (for example, from the eyeballs and across the phase-encoding axis), etc.</p> <div class="reportlet">
  157. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-zoomed_bold.svg" style="width: 100%" />
  158. </div>
  159. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-zoomed_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-zoomed_bold.svg</a></small>
  160. </div>
  161. <div id="datatype-figures_desc-carpet_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  162. <h3 class="run-title mt-3">Carpetplot and nuisance signals</h3><p class="elem-caption">The so-called &laquo;carpetplot&raquo; may assist in assessing head-motion derived artifacts and respiation effects.</p> <div class="reportlet">
  163. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-carpet_bold.svg" style="width: 100%" />
  164. </div>
  165. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-carpet_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-carpet_bold.svg</a></small>
  166. </div>
  167. <div id="datatype-figures_desc-stdev_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  168. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">2</span>.</h2><h3 class="run-title mt-3">Standard deviation of signal through time</h3><p class="elem-caption">The voxel-wise standard deviation of the signal (variability along time).</p> <div class="reportlet">
  169. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-stdev_bold.svg" style="width: 100%" />
  170. </div>
  171. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-stdev_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-stdev_bold.svg</a></small>
  172. </div>
  173. <div id="datatype-figures_desc-background_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  174. <h3 class="run-title mt-3">View of the background of the voxel-wise average of the BOLD timeseries</h3><p class="elem-caption">This panel shows a mosaic enhancing the background around the head. Artifacts usually unveil themselves in the air surrounding the head, where no signal sources are present.</p> <div class="reportlet">
  175. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-background_bold.svg" style="width: 100%" />
  176. </div>
  177. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-background_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-background_bold.svg</a></small>
  178. </div>
  179. <div id="datatype-figures_desc-zoomed_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  180. <h3 class="run-title mt-3">Voxel-wise average of BOLD time-series, zoomed-in covering just the brain</h3><p class="elem-caption">This panel shows a mosaic of the brain. This mosaic is the most suitable to screen head-motion intensity inhomogeneities, global/local noise, signal leakage (for example, from the eyeballs and across the phase-encoding axis), etc.</p> <div class="reportlet">
  181. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-zoomed_bold.svg" style="width: 100%" />
  182. </div>
  183. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-zoomed_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-zoomed_bold.svg</a></small>
  184. </div>
  185. <div id="datatype-figures_desc-carpet_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  186. <h3 class="run-title mt-3">Carpetplot and nuisance signals</h3><p class="elem-caption">The so-called &laquo;carpetplot&raquo; may assist in assessing head-motion derived artifacts and respiation effects.</p> <div class="reportlet">
  187. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-carpet_bold.svg" style="width: 100%" />
  188. </div>
  189. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-carpet_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-carpet_bold.svg</a></small>
  190. </div>
  191. <div id="datatype-figures_desc-stdev_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  192. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">3</span>.</h2><h3 class="run-title mt-3">Standard deviation of signal through time</h3><p class="elem-caption">The voxel-wise standard deviation of the signal (variability along time).</p> <div class="reportlet">
  193. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-stdev_bold.svg" style="width: 100%" />
  194. </div>
  195. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-stdev_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-stdev_bold.svg</a></small>
  196. </div>
  197. <div id="datatype-figures_desc-background_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  198. <h3 class="run-title mt-3">View of the background of the voxel-wise average of the BOLD timeseries</h3><p class="elem-caption">This panel shows a mosaic enhancing the background around the head. Artifacts usually unveil themselves in the air surrounding the head, where no signal sources are present.</p> <div class="reportlet">
  199. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-background_bold.svg" style="width: 100%" />
  200. </div>
  201. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-background_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-background_bold.svg</a></small>
  202. </div>
  203. <div id="datatype-figures_desc-zoomed_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  204. <h3 class="run-title mt-3">Voxel-wise average of BOLD time-series, zoomed-in covering just the brain</h3><p class="elem-caption">This panel shows a mosaic of the brain. This mosaic is the most suitable to screen head-motion intensity inhomogeneities, global/local noise, signal leakage (for example, from the eyeballs and across the phase-encoding axis), etc.</p> <div class="reportlet">
  205. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-zoomed_bold.svg" style="width: 100%" />
  206. </div>
  207. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-zoomed_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-zoomed_bold.svg</a></small>
  208. </div>
  209. <div id="datatype-figures_desc-carpet_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  210. <h3 class="run-title mt-3">Carpetplot and nuisance signals</h3><p class="elem-caption">The so-called &laquo;carpetplot&raquo; may assist in assessing head-motion derived artifacts and respiation effects.</p> <div class="reportlet">
  211. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-carpet_bold.svg" style="width: 100%" />
  212. </div>
  213. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-carpet_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-carpet_bold.svg</a></small>
  214. </div>
  215. <div id="datatype-figures_desc-stdev_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  216. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">4</span>.</h2><h3 class="run-title mt-3">Standard deviation of signal through time</h3><p class="elem-caption">The voxel-wise standard deviation of the signal (variability along time).</p> <div class="reportlet">
  217. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-stdev_bold.svg" style="width: 100%" />
  218. </div>
  219. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-stdev_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-stdev_bold.svg</a></small>
  220. </div>
  221. <div id="datatype-figures_desc-background_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  222. <h3 class="run-title mt-3">View of the background of the voxel-wise average of the BOLD timeseries</h3><p class="elem-caption">This panel shows a mosaic enhancing the background around the head. Artifacts usually unveil themselves in the air surrounding the head, where no signal sources are present.</p> <div class="reportlet">
  223. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-background_bold.svg" style="width: 100%" />
  224. </div>
  225. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-background_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-background_bold.svg</a></small>
  226. </div>
  227. <div id="datatype-figures_desc-zoomed_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  228. <h3 class="run-title mt-3">Voxel-wise average of BOLD time-series, zoomed-in covering just the brain</h3><p class="elem-caption">This panel shows a mosaic of the brain. This mosaic is the most suitable to screen head-motion intensity inhomogeneities, global/local noise, signal leakage (for example, from the eyeballs and across the phase-encoding axis), etc.</p> <div class="reportlet">
  229. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-zoomed_bold.svg" style="width: 100%" />
  230. </div>
  231. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-zoomed_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-zoomed_bold.svg</a></small>
  232. </div>
  233. <div id="datatype-figures_desc-carpet_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  234. <h3 class="run-title mt-3">Carpetplot and nuisance signals</h3><p class="elem-caption">The so-called &laquo;carpetplot&raquo; may assist in assessing head-motion derived artifacts and respiation effects.</p> <div class="reportlet">
  235. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-carpet_bold.svg" style="width: 100%" />
  236. </div>
  237. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-carpet_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-carpet_bold.svg</a></small>
  238. </div>
  239. </div>
  240. <div id="Extended echo-wise reports" class="mt-5">
  241. <h1 class="sub-report-title pt-5 ps-4">Extended echo-wise reports</h1>
  242. <div id="datatype-figures_desc-mean_direction-RL_echo-1_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  243. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">1</span>.</h2><h3 class="run-title mt-3">Voxel-wise average of BOLD time-series</h3><p class="elem-caption">The average signal calculated across the last axis (time).</p> <div class="reportlet">
  244. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-mean_bold.svg" style="width: 100%" />
  245. </div>
  246. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-mean_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-1_desc-mean_bold.svg</a></small>
  247. </div>
  248. <div id="datatype-figures_desc-mean_direction-RL_echo-2_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  249. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">2</span>.</h2><h3 class="run-title mt-3">Voxel-wise average of BOLD time-series</h3><p class="elem-caption">The average signal calculated across the last axis (time).</p> <div class="reportlet">
  250. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-mean_bold.svg" style="width: 100%" />
  251. </div>
  252. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-mean_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-2_desc-mean_bold.svg</a></small>
  253. </div>
  254. <div id="datatype-figures_desc-mean_direction-RL_echo-3_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  255. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">3</span>.</h2><h3 class="run-title mt-3">Voxel-wise average of BOLD time-series</h3><p class="elem-caption">The average signal calculated across the last axis (time).</p> <div class="reportlet">
  256. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-mean_bold.svg" style="width: 100%" />
  257. </div>
  258. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-mean_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-3_desc-mean_bold.svg</a></small>
  259. </div>
  260. <div id="datatype-figures_desc-mean_direction-RL_echo-4_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  261. <h2 class="sub-report-group mt-4">Reports for: echo <span class="bids-entity">4</span>.</h2><h3 class="run-title mt-3">Voxel-wise average of BOLD time-series</h3><p class="elem-caption">The average signal calculated across the last axis (time).</p> <div class="reportlet">
  262. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-mean_bold.svg" style="width: 100%" />
  263. </div>
  264. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-mean_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_echo-4_desc-mean_bold.svg</a></small>
  265. </div>
  266. </div>
  267. <div id="Extended reports shared across echos" class="mt-5">
  268. <h1 class="sub-report-title pt-5 ps-4">Extended reports shared across echos</h1>
  269. <div id="datatype-figures_desc-brainmask_direction-RL_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  270. <h3 class="run-title mt-3">Brain extraction performance</h3><p class="elem-caption">Brain mask as internally extracted by MRIQC. Defects on the brainmask could indicate problematic aspects of the image quality-wise.</p> <div class="reportlet">
  271. <img class="svg-reportlet" src="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-brainmask_bold.svg" style="width: 100%" />
  272. </div>
  273. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-brainmask_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-brainmask_bold.svg</a></small>
  274. </div>
  275. <div id="datatype-figures_desc-norm_direction-RL_session-020_subject-001_suffix-bold_task-qct" class="ps-4 pe-4 mb-2">
  276. <h3 class="run-title mt-3">Spatial normalization of the anatomical image</h3><p class="elem-caption">This panel shows a <em>quick-and-dirty</em> nonlinear registration into the <code>MNI152NLin2009cAsym</code> template accessed with <a href="https://templateflow.org/browse" target="_blank"><em>TemplateFlow</em></a>.</p> <div class="reportlet">
  277. <object class="svg-reportlet" type="image/svg+xml" data="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-norm_bold.svg" style="">
  278. Problem loading figure sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-norm_bold.svg. If the link below works, please try reloading the report in your browser.</object>
  279. </div>
  280. <small>Get figure file: <a href="./sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-norm_bold.svg" target="_blank">sub-001/figures/sub-001_ses-020_task-qct_dir-RL_desc-norm_bold.svg</a></small>
  281. </div>
  282. </div>
  283. <div id="About" class="mt-5">
  284. <h1 class="sub-report-title pt-5 ps-4">About</h1>
  285. <div id="errors" class="ps-4 pe-4 mb-2">
  286. <h2 class="sub-report-group mt-4">Errors</h2> <p class="alert alert-success" role="alert">No errors to report!</p>
  287. </div>
  288. <div id="meta-about-metadata" class="ps-4 pe-4 mb-2">
  289. <h2 class="sub-report-group mt-4">Reproducibility and provenance information</h2><p class="elem-caption">Thanks for using <em>MRIQC</em>. The following information may assist in
  290. reconstructing the provenance of the corresponding derivatives.
  291. </p> <div class="accordion accordion-flush" id="about-metadata">
  292. <div class="accordion-item">
  293. <h2 class="accordion-header" id="about-metadata-0">
  294. <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#about-metadata-0-collapse" aria-controls="about-metadata-0-collapse">
  295. Provenance Information
  296. </button>
  297. </h2>
  298. <div id="about-metadata-0-collapse" class="accordion-collapse collapse" aria-labelledby="about-metadata-0-heading" data-bs-parent="#about-metadata-0">
  299. <div class="accordion-body metadata-table">
  300. <table id="about-metadata-table-0" class="table table-sm table-striped">
  301. <tr><td colspan=2>Execution environment</td><td>singularity</td></tr>
  302. <tr><td colspan=2>Input filename</td><td><BIDS root>/sub-001/ses-020/func/sub-001_ses-020_task-qct_dir-RL_echo-1_part-mag_bold.nii.gz</td></tr>
  303. <tr><td>Versions</td><td>MRIQC</td><td>24.1.0.dev0+g3fe90466.d20240417</td></tr>
  304. <tr><td>Versions</td><td>NiPype</td><td>1.8.6</td></tr>
  305. <tr><td>Versions</td><td>TemplateFlow</td><td>24.2.0</td></tr>
  306. <tr><td colspan=2>md5sum</td><td>e5825f301f1b9733d46e479cf31076b0</td></tr>
  307. </table>
  308. </div>
  309. </div>
  310. </div>
  311. <div class="accordion-item">
  312. <h2 class="accordion-header" id="about-metadata-1">
  313. <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#about-metadata-1-collapse" aria-controls="about-metadata-1-collapse">
  314. Dataset Information
  315. </button>
  316. </h2>
  317. <div id="about-metadata-1-collapse" class="accordion-collapse collapse" aria-labelledby="about-metadata-1-heading" data-bs-parent="#about-metadata-1">
  318. <div class="accordion-body metadata-table">
  319. <table id="about-metadata-table-1" class="table table-sm table-striped">
  320. <tr><td>AcquisitionDuration</td><td>188.475</td></tr>
  321. <tr><td>AcquisitionMatrixPE</td><td>76</td></tr>
  322. <tr><td>AcquisitionTime</td><td>20:00:46.027500</td></tr>
  323. <tr><td>B0FieldSource</td><td>['020pepolarbold', '020phasediff']</td></tr>
  324. <tr><td>BandwidthPerPixelPhaseEncode</td><td>40.486</td></tr>
  325. <tr><td>BaseResolution</td><td>102</td></tr>
  326. <tr><td>DerivedVendorReportedEchoSpacing</td><td>0.000649997</td></tr>
  327. <tr><td>DwellTime</td><td>2.5e-06</td></tr>
  328. <tr><td>EchoNumber</td><td>1</td></tr>
  329. <tr><td>EchoTime</td><td>0.0126</td></tr>
  330. <tr><td>EchoTrainLength</td><td>28</td></tr>
  331. <tr><td>EffectiveEchoSpacing</td><td>0.000324999</td></tr>
  332. <tr><td>FlipAngle</td><td>64</td></tr>
  333. <tr><td>ImageOrientationPatientDICOM</td><td>[0.998212, 0.00105708, 0.0597608, 0.0212582, 0.928188, -0.371503]</td></tr>
  334. <tr><td>ImageType</td><td>['ORIGINAL', 'PRIMARY', 'FMRI', 'NONE']</td></tr>
  335. <tr><td>ImageTypeText</td><td>['ORIGINAL', 'PRIMARY', 'M', 'MB', 'TE1', 'DIS2D']</td></tr>
  336. <tr><td>InPlanePhaseEncodingDirectionDICOM</td><td>ROW</td></tr>
  337. <tr><td>PercentPhaseFOV</td><td>74.5098</td></tr>
  338. <tr><td>PhaseEchoTime1</td><td>0.0126</td></tr>
  339. <tr><td>PhaseEchoTime2</td><td>0.0322</td></tr>
  340. <tr><td>PhaseEncodingDirection</td><td>i</td></tr>
  341. <tr><td>PixelBandwidth</td><td>1961</td></tr>
  342. <tr><td>ProtocolName</td><td>func-bold_task-qct_dir-RL__cmrr_me4_sms4</td></tr>
  343. <tr><td>PulseSequenceName</td><td>epfid2d4_76</td></tr>
  344. <tr><td>ReceiveCoilActiveElements</td><td>HC1-7</td></tr>
  345. <tr><td>ReconMatrixPE</td><td>76</td></tr>
  346. <tr><td>RefLinesPE</td><td>18</td></tr>
  347. <tr><td>RepetitionTime</td><td>1.6</td></tr>
  348. <tr><td>SequenceVariant</td><td>SK\SS\OSP</td></tr>
  349. <tr><td>SeriesDescription</td><td>func-bold_task-qct_dir-RL__cmrr_me4_sms4</td></tr>
  350. <tr><td>SeriesNumber</td><td>13</td></tr>
  351. <tr><td>ShimSetting</td><td>[8247, -5615, -6003, 663, -88, -199, 17, 16]</td></tr>
  352. <tr><td>SliceThickness</td><td>2.2</td></tr>
  353. <tr><td>SliceTiming</td><td>[0, 0.8425, 0.105, 0.9475, 0.21, 1.055, 0.3175, 1.16, 0.4225, 1.265, 0.5275, 1.37, 0.6325, 1.475, 0.7375, 0, 0.8425, 0.105, 0.9475, 0.21, 1.055, 0.3175, 1.16, 0.4225, 1.265, 0.5275, 1.37, 0.6325, 1.475, 0.7375, 0, 0.8425, 0.105, 0.9475, 0.21, 1.055, 0.3175, 1.16, 0.4225, 1.265, 0.5275, 1.37, 0.6325, 1.475, 0.7375, 0, 0.8425, 0.105, 0.9475, 0.21, 1.055, 0.3175, 1.16, 0.4225, 1.265, 0.5275, 1.37, 0.6325, 1.475, 0.7375]</td></tr>
  354. <tr><td>SpacingBetweenSlices</td><td>2.2</td></tr>
  355. <tr><td>TotalReadoutTime</td><td>0.0243749</td></tr>
  356. <tr><td>TxRefAmp</td><td>249.067</td></tr>
  357. <tr><td>WipMemBlock</td><td>a998417e-09ec-4bac-bd2b-66deb79ecc51||Sequence: R017 nxva30a/master r/d34922cc2+; Jun 27 2022 13:20:16 by eja</td></tr>
  358. </table>
  359. </div>
  360. </div>
  361. </div>
  362. <div class="accordion-item">
  363. <h2 class="accordion-header" id="about-metadata-2">
  364. <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#about-metadata-2-collapse" aria-controls="about-metadata-2-collapse">
  365. Extracted Image quality metrics (IQMs)
  366. </button>
  367. </h2>
  368. <div id="about-metadata-2-collapse" class="accordion-collapse collapse" aria-labelledby="about-metadata-2-heading" data-bs-parent="#about-metadata-2">
  369. <div class="accordion-body metadata-table">
  370. <table id="about-metadata-table-2" class="table table-sm table-striped">
  371. <tr><td colspan=3>aor</td><td>[0.0009839795918367346, 0.0009978571428571428, 0.0010731632653061226, 0.001271734693877551]</td></tr>
  372. <tr><td colspan=3>aqi</td><td>[0.004149518775510203, 0.005888685510204082, 0.009368835918367346, 0.015444555102040819]</td></tr>
  373. <tr><td colspan=3>dummy_trs</td><td>1</td></tr>
  374. <tr><td>dvars</td><td colspan=2>nstd</td><td>37.97278646123712</td></tr>
  375. <tr><td>dvars</td><td colspan=2>std</td><td>1.0501742473195876</td></tr>
  376. <tr><td>dvars</td><td colspan=2>vstd</td><td>1.0354552478350516</td></tr>
  377. <tr><td colspan=3>efc</td><td>0.6565</td></tr>
  378. <tr><td colspan=3>fber</td><td>126.3962</td></tr>
  379. <tr><td>fd</td><td colspan=2>mean</td><td>0.05935421341731189</td></tr>
  380. <tr><td>fd</td><td colspan=2>num</td><td>0</td></tr>
  381. <tr><td>fd</td><td colspan=2>perc</td><td>0.0</td></tr>
  382. <tr><td>fwhm</td><td colspan=2>avg</td><td>3.8410052029873714</td></tr>
  383. <tr><td>fwhm</td><td colspan=2>x</td><td>3.65682493892592</td></tr>
  384. <tr><td>fwhm</td><td colspan=2>y</td><td>3.8085589398011748</td></tr>
  385. <tr><td>fwhm</td><td colspan=2>z</td><td>4.057631730235019</td></tr>
  386. <tr><td colspan=3>gcor</td><td>[0.00378321, 0.00463755, 0.00403586, 0.00322388]</td></tr>
  387. <tr><td>gsr</td><td colspan=2>x</td><td>0.14993785321712494</td></tr>
  388. <tr><td>gsr</td><td colspan=2>y</td><td>0.014902867376804352</td></tr>
  389. <tr><td>size</td><td colspan=2>t</td><td>98</td></tr>
  390. <tr><td>size</td><td colspan=2>x</td><td>76</td></tr>
  391. <tr><td>size</td><td colspan=2>y</td><td>102</td></tr>
  392. <tr><td>size</td><td colspan=2>z</td><td>60</td></tr>
  393. <tr><td colspan=3>snr</td><td>2.6061813036464256</td></tr>
  394. <tr><td>spacing</td><td colspan=2>tr</td><td>1.600000023841858</td></tr>
  395. <tr><td>spacing</td><td colspan=2>x</td><td>2.196079969406128</td></tr>
  396. <tr><td>spacing</td><td colspan=2>y</td><td>2.196079969406128</td></tr>
  397. <tr><td>spacing</td><td colspan=2>z</td><td>2.200000047683716</td></tr>
  398. <tr><td>summary</td><td>bg</td><td>k</td><td>5.5192</td></tr>
  399. <tr><td>summary</td><td>bg</td><td>mad</td><td>68.0333</td></tr>
  400. <tr><td>summary</td><td>bg</td><td>mean</td><td>180.0707</td></tr>
  401. <tr><td>summary</td><td>bg</td><td>median</td><td>72.0</td></tr>
  402. <tr><td>summary</td><td>bg</td><td>n</td><td>331245.0</td></tr>
  403. <tr><td>summary</td><td>bg</td><td>p05</td><td>0.0</td></tr>
  404. <tr><td>summary</td><td>bg</td><td>p95</td><td>769.0</td></tr>
  405. <tr><td>summary</td><td>bg</td><td>stdv</td><td>253.6718</td></tr>
  406. <tr><td>summary</td><td>fg</td><td>k</td><td>0.7229</td></tr>
  407. <tr><td>summary</td><td>fg</td><td>mad</td><td>304.0242</td></tr>
  408. <tr><td>summary</td><td>fg</td><td>mean</td><td>840.2543</td></tr>
  409. <tr><td>summary</td><td>fg</td><td>median</td><td>811.0</td></tr>
  410. <tr><td>summary</td><td>fg</td><td>n</td><td>133875.0</td></tr>
  411. <tr><td>summary</td><td>fg</td><td>p05</td><td>399.0</td></tr>
  412. <tr><td>summary</td><td>fg</td><td>p95</td><td>1380.0</td></tr>
  413. <tr><td>summary</td><td>fg</td><td>stdv</td><td>311.1821</td></tr>
  414. <tr><td colspan=3>tsnr</td><td>38.78601159155369</td></tr>
  415. </table>
  416. </div>
  417. </div>
  418. </div>
  419. </div>
  420. </div>
  421. </div>
  422. <div id="qcrating-menu" class="card position-fixed d-none" style="width: 30%; top: 100px; left: 65%;">
  423. <div class="card-header m-0">
  424. Rating widget
  425. <button type="button" class="btn-close position-absolute top-0 end-0" aria-label="Close" id="close-qcrating-menu" onclick="toggle_rating()" style="margin: 10px 10px 0 0"></button>
  426. </div>
  427. <div class="card-body">
  428. <div class="accordion">
  429. <div class="accordion-item">
  430. <h2 class="accordion-header" id="qcslider-head">
  431. <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#qcslider-collapse" aria-expanded="true" aria-controls="qcslider-collapse">Overall Quality Rating</button>
  432. </h2>
  433. <div id="qcslider-collapse" class="accordion-collapse collapse show" aria-labelledby="qcslider-head">
  434. <div class="accordion-body">
  435. <input type="range" min="1.0" max="4.0" step="0.05" value="2.5" id="qcslider" class="slider">
  436. <ul class="list-group list-group-horizontal slider-labels" style="width: 100%">
  437. <li class="list-group-item list-group-item-danger small" style="font-size: 0.7em; width: 25%; text-align:center">Exclude</li>
  438. <li class="list-group-item list-group-item-warning small" style="font-size: 0.7em; width: 25%; text-align:center">Poor</li>
  439. <li class="list-group-item list-group-item-primary small" style="font-size: 0.7em; width: 25%; text-align:center">Acceptable</li>
  440. <li class="list-group-item list-group-item-success small" style="font-size: 0.7em; width: 25%; text-align:center">Excellent</li>
  441. </ul>
  442. </div>
  443. </div>
  444. </div>
  445. <div class="accordion-item">
  446. <h2 class="accordion-header" id="qcartifacts-head">
  447. <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#qcartifacts-collapse" aria-expanded="false" aria-controls="qcartifacts-collapse">
  448. Record specific artifacts
  449. </button>
  450. </h2>
  451. <div id="qcartifacts-collapse" class="accordion-collapse collapse" aria-labelledby="qcartifacts-head">
  452. <div class="accordion-body">
  453. <fieldset id="qcartifacts-group" class="form-group">
  454. <div class="form-check form-switch small">
  455. <input class="form-check-input" type="checkbox" name="head-motion" id="qcartifacts-item-0" />
  456. <label class="form-check-label" for="qcartifacts-item-0">Head motion artifacts</label>
  457. </div>
  458. <div class="form-check form-switch small">
  459. <input class="form-check-input" type="checkbox" name="eye-spillover" id="qcartifacts-item-1" />
  460. <label class="form-check-label" for="qcartifacts-item-1">Eye spillover through <abbr title="phase-encoding">PE</abbr> axis</label>
  461. </div>
  462. <div class="form-check form-switch small">
  463. <input class="form-check-input" type="checkbox" name="noneye-spillover" id="qcartifacts-item-2" />
  464. <label class="form-check-label" for="qcartifacts-item-2">Non-eye spillover through <abbr title="phase-encoding">PE</abbr> axis</label>
  465. </div>
  466. <div class="form-check form-switch small">
  467. <input class="form-check-input" type="checkbox" name="coil-failure" id="qcartifacts-item-3" />
  468. <label class="form-check-label" for="qcartifacts-item-3">Coil failure</label>
  469. </div>
  470. <div class="form-check form-switch small">
  471. <input class="form-check-input" type="checkbox" name="noise-global" id="qcartifacts-item-4" />
  472. <label class="form-check-label" for="qcartifacts-item-4">Global noise</label>
  473. </div>
  474. <div class="form-check form-switch small">
  475. <input class="form-check-input" type="checkbox" name="noise-local" id="qcartifacts-item-5" />
  476. <label class="form-check-label" for="qcartifacts-item-5">Local noise</label>
  477. </div>
  478. <div class="form-check form-switch small">
  479. <input class="form-check-input" type="checkbox" name="em-perturbation" id="qcartifacts-item-6" />
  480. <label class="form-check-label" for="qcartifacts-item-6"><abbr title="electromagnetic">EM</abbr> interference/perturbation</label>
  481. </div>
  482. <div class="form-check form-switch small">
  483. <input class="form-check-input" type="checkbox" name="wrap-around" id="qcartifacts-item-7" />
  484. <label class="form-check-label" for="qcartifacts-item-7">Problematic <abbr title="field-of-view">FoV</abbr> prescription / wrap-around</label>
  485. </div>
  486. <div class="form-check form-switch small">
  487. <input class="form-check-input" type="checkbox" name="ghost-aliasing" id="qcartifacts-item-8" />
  488. <label class="form-check-label" for="qcartifacts-item-8">Aliasing ghosts</label>
  489. </div>
  490. <div class="form-check form-switch small">
  491. <input class="form-check-input" type="checkbox" name="ghost-other" id="qcartifacts-item-9" />
  492. <label class="form-check-label" for="qcartifacts-item-9">Other ghosts (for example, <abbr title="radiofrequency">RF</abbr> spoiling)</label>
  493. </div>
  494. <div class="form-check form-switch small">
  495. <input class="form-check-input" type="checkbox" name="inu" id="qcartifacts-item-10" />
  496. <label class="form-check-label" for="qcartifacts-item-10">Intensity non-uniformity (B<sub>1</sub> bias)</label>
  497. </div>
  498. <div class="form-check form-switch small">
  499. <input class="form-check-input" type="checkbox" name="field-variation" id="qcartifacts-item-11" />
  500. <label class="form-check-label" for="qcartifacts-item-11">Temporal B<sub>1</sub> field non-uniformity variation</label>
  501. </div>
  502. <div class="form-check form-switch small">
  503. <input class="form-check-input" type="checkbox" name="processing" id="qcartifacts-item-12" />
  504. <label class="form-check-label" for="qcartifacts-item-12">Processing such as denoising, defacing or resamplings happened</label>
  505. </div>
  506. <div class="form-check form-switch small">
  507. <input class="form-check-input" type="checkbox" name="uncategorized" id="qcartifacts-item-13" />
  508. <label class="form-check-label" for="qcartifacts-item-13">Other uncategorized artifact(s)</label>
  509. </div>
  510. </fieldset>
  511. </div> <!-- accordion-body -->
  512. </div> <!-- accordion-collapse -->
  513. </div> <!-- accordion-item -->
  514. <div class="accordion-item">
  515. <h2 class="accordion-header" id="qcextra-head">
  516. <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#qcextra-collapse" aria-expanded="false" aria-controls="qcextra-collapse">
  517. Extra details
  518. </button>
  519. </h2>
  520. <div id="qcextra-collapse" class="accordion-collapse collapse" aria-labelledby="qcextra-head">
  521. <div class="accordion-body">
  522. <div class="input-group">
  523. <span class="input-group-text">Comments</span>
  524. <textarea class="form-control" aria-label="Comments" id="qcextra-comments"></textarea>
  525. </div>
  526. <p style="margin-top: 20px; font-weight: bold">Rater confidence</p>
  527. <input type="range" min="0.0" max="4.0" step="0.05" value="3.5" id="qcextra-confidence" class="slider" style="margin-left: 22%;width: 56%;">
  528. <ul class="list-group list-group-horizontal slider-labels" style="width: 100%">
  529. <li class="list-group-item list-group-item-warning small" style="width: 50%; text-align:center">Doubtful</li>
  530. <li class="list-group-item list-group-item-success bg-success text-white small" style="width: 50%; text-align:center">Confident</li>
  531. </ul>
  532. </div> <!-- accordion-body -->
  533. </div> <!-- accordion-collapse -->
  534. </div> <!-- accordion-item -->
  535. </div>
  536. <div style="margin-top: 10px">
  537. <a class="btn btn-primary disabled" id="btn-download" href="">Download</a>
  538. </div>
  539. <script type="text/javascript">
  540. var MINIMUM_RATING_TIME = 10
  541. $('#qcslider').on('input', function() {
  542. if ( (Date.now() - timestamp) / 1000 > MINIMUM_RATING_TIME) {
  543. $('#btn-download').removeClass('disabled');
  544. $('#btn-download').removeAttr('aria-disabled');
  545. $('#btn-post').removeAttr('disabled');
  546. };
  547. $('#qcslider-collapse .list-group-item').removeClass(function(index, classname) {
  548. return (classname.match(/(^|\s)bg-\S+/g) || []).join(' ');
  549. });
  550. $('#qcslider-collapse .list-group-item').removeClass(function(index, classname) {
  551. return (classname.match(/(^|\s)text-\S+/g) || []).join(' ');
  552. });
  553. if ( $(this).val() < 1.5 ) {
  554. $('#qcslider-collapse .list-group-item-danger').addClass('bg-danger text-white');
  555. } else if ( $(this).val() > 3.5 ) {
  556. $('#qcslider-collapse .list-group-item-success').addClass('bg-success text-white');
  557. } else if ( $(this).val() < 2.5 ) {
  558. $('#qcslider-collapse .list-group-item-warning').addClass('bg-warning text-dark');
  559. } else {
  560. $('#qcslider-collapse .list-group-item-primary').addClass('bg-primary text-white');
  561. };
  562. var payload = read_form();
  563. });
  564. $('#qcextra-confidence').on('input', function() {
  565. if ( (Date.now() - timestamp) / 1000 > MINIMUM_RATING_TIME) {
  566. $('#btn-download').removeClass('disabled');
  567. $('#btn-download').removeAttr('aria-disabled');
  568. $('#btn-post').removeAttr('disabled');
  569. };
  570. $('#qcextra-collapse .list-group-item').removeClass(function(index, classname) {
  571. return (classname.match(/(^|\s)bg-\S+/g) || []).join(' ');
  572. });
  573. $('#qcextra-collapse .list-group-item').removeClass(function(index, classname) {
  574. return (classname.match(/(^|\s)text-\S+/g) || []).join(' ');
  575. });
  576. if ( $(this).val() < 2.0 ) {
  577. $('#qcextra-collapse .list-group-item-warning').addClass('bg-warning text-dark');
  578. } else {
  579. $('#qcextra-collapse .list-group-item-success').addClass('bg-success text-white');
  580. };
  581. var payload = read_form();
  582. });
  583. $('#qcextra-comments').bind('input propertychange', function() {
  584. if ( (Date.now() - timestamp) / 1000 > MINIMUM_RATING_TIME) {
  585. $('#btn-download').removeClass('disabled');
  586. $('#btn-download').removeAttr('aria-disabled');
  587. $('#btn-post').removeAttr('disabled');
  588. };
  589. });
  590. $( '#btn-post' ).click( function() {
  591. var payload = read_form();
  592. var md5sum = "unspecified";
  593. var params = {
  594. 'rating': payload['rating'],
  595. 'md5sum': md5sum,
  596. 'name': "",
  597. 'comment': JSON.stringify(payload['artifacts'])
  598. };
  599. // disable development releases
  600. var authorization = $(this).val();
  601. var ratingReq = new XMLHttpRequest();
  602. ratingReq.open("POST", "https://mriqc.nimh.nih.gov:443/api/v1/rating");
  603. ratingReq.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
  604. ratingReq.setRequestHeader("Authorization", authorization);
  605. ratingReq.onload = function () {
  606. status = ratingReq.status;
  607. $('#btn-post').removeClass('btn-primary');
  608. $('#btn-post').attr('disabled', true);
  609. $('#btn-post').attr('aria-disabled', true);
  610. $('#btn-post').prop('disabled');
  611. $('#btn-post').addClass('disabled');
  612. $('#btn-post').removeClass('active');
  613. if (status === "201") {
  614. $('#btn-post').addClass('btn-success');
  615. $('#btn-post').html('Posted!');
  616. } else {
  617. $('#btn-post').addClass('btn-danger');
  618. $('#btn-post').html('Failed');
  619. };
  620. };
  621. ratingReq.send(JSON.stringify(params));
  622. });
  623. $( 'body' ).on( 'click', '#qcartifacts-group input', function(e) {
  624. if ( (Date.now() - timestamp) / 1000 > MINIMUM_RATING_TIME) {
  625. $('#btn-download').removeClass('disabled');
  626. $('#btn-download').removeAttr('aria-disabled');
  627. $('#btn-post').removeAttr('disabled');
  628. };
  629. var payload = read_form();
  630. });
  631. $( 'body' ).on( 'click', '#qcrating-toggler', function(e) {
  632. toggle_rating();
  633. });
  634. </script>
  635. </div>
  636. <script type="text/javascript">
  637. function toggle(id) {
  638. var element = document.getElementById(id);
  639. if(element.style.display == 'block')
  640. element.style.display = 'none';
  641. else
  642. element.style.display = 'block';
  643. }
  644. </script>
  645. </body>
  646. </html>