OpenScientificCodeRegistry/Database
Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.
05.6k
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/zhengguotan/deepdwi",4 "url": "https://github.com/ZhengguoTan/DeepDWI",5 "host": "github.com",6 "commit": "f61d2222f0749ca93e704f159f2a394b0f14fd4f",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11 {12 "path": "LICENSE",13 "sha256": "49b0d1a9d0e905872f5381332b830bfd98e38aef3a0f3a876f9fb6fbf251f46c",14 "language": "License",15 "lines": 21,16 "truncated": false,17 "block": 11,18 "row": 1404719 },20 {21 "path": "README.md",22 "sha256": "ee3f2fb385d57b612baed572572e82b3b6363207d75ea50cef4319c6d030e8cd",23 "language": "Text",24 "lines": 138,25 "truncated": false,26 "block": 13,27 "row": 670928 },29 {30 "path": "data/load.py",31 "sha256": "fec51fb1063b2cbe3dfc22c1156d0022b51e3e1c8baedac75a9c37c7a6c7e8e0",32 "language": "Python",33 "lines": 46,34 "truncated": false,35 "block": 12,36 "row": 703837 },38 {39 "path": "examples/comb_slice.py",40 "sha256": "faf9ce6444cde23b840e6a75e8a6d7116d185a7309d2fb43014b334c626e8006",41 "language": "Python",42 "lines": 129,43 "truncated": false,44 "block": 12,45 "row": 1216646 },47 {48 "path": "examples/run_llr.py",49 "sha256": "0856d3b2b16e5897466def784219fd7da0c10fb9d34050247ac82eebeedc1340",50 "language": "Python",51 "lines": 355,52 "truncated": false,53 "block": 12,54 "row": 1843455 },56 {57 "path": "examples/run_muse_2shot.ipynb",58 "sha256": "c650f3e553b015fb118c136a9fa16b128e7132cbef0036e875126e04e148f265",59 "language": "Jupyter",60 "lines": 403,61 "truncated": false,62 "block": 11,63 "row": 1319864 },65 {66 "path": "examples/run_muse_5shot_navi.ipynb",67 "sha256": "1d7becf03477eb930c415803ed3560a2ce033bdcb7ed076b2fb7e6a6b60e3198",68 "language": "Jupyter",69 "lines": 171,70 "truncated": false,71 "block": 11,72 "row": 1257473 },74 {75 "path": "examples/run_pi.ipynb",76 "sha256": "7d443dd7e77706b2f4fd74687d8a53beb3e6c54ebbf4bc45512db404c2f9683c",77 "language": "Jupyter",78 "lines": 169,79 "truncated": false,80 "block": 11,81 "row": 1252082 },83 {84 "path": "examples/run_zsssl.py",85 "sha256": "dc89dac1188ac81d57d1f426519e27f58d788b17e56938ad3799e6b11ff8c45b",86 "language": "Python",87 "lines": 473,88 "truncated": false,89 "block": 12,90 "row": 2050191 },92 {93 "path": "examples/vae_decoder_recon.py",94 "sha256": "98fd7b4edc7bb5c32d151506691d6c14ac3379bed52a17b941e4de5d92d0eafe",95 "language": "Python",96 "lines": 133,97 "truncated": false,98 "block": 12,99 "row": 12435100 },101 {102 "path": "examples/vae_training.py",103 "sha256": "93568106815dcd7add18116622c741034f31354e46c726e7226d4cd3d6ac02fc",104 "language": "Python",105 "lines": 473,106 "truncated": false,107 "block": 12,108 "row": 20248109 },110 {111 "path": "figures/convergence/plot.py",112 "sha256": "c7c1fecefe8c367c5013e120d4780df18c6cb6ca43736fe2fa206b16eeb8a1c8",113 "language": "Python",114 "lines": 351,115 "truncated": false,116 "block": 12,117 "row": 14331118 },119 {120 "path": "figures/convert_svg.sh",121 "sha256": "3143c32118a0414e4df6a23e83d5003a5ceb2cd4d93cfa8c360aaf2534c10377",122 "language": "Shell",123 "lines": 58,124 "truncated": false,125 "block": 13,126 "row": 5257127 },128 {129 "path": "figures/dti/fit_fa.py",130 "sha256": "662a7bae6fef19a0d51212eb4c0ce919f4e12acfe9ad3d29401f8d0d44b86ab2",131 "language": "Python",132 "lines": 77,133 "truncated": false,134 "block": 12,135 "row": 8277136 },137 {138 "path": "figures/dti/plot.py",139 "sha256": "d770903a50a812abec8fae13de53316d85573dabc5d69f83868d638cad435c82",140 "language": "Python",141 "lines": 82,142 "truncated": false,143 "block": 12,144 "row": 9226145 },146 {147 "path": "figures/generalization/plot.py",148 "sha256": "315c295178960d0ea7d43bfbe3b606720ae0d8ac2a2ceed97c1797dd28adff2a",149 "language": "Python",150 "lines": 141,151 "truncated": false,152 "block": 12,153 "row": 13063154 },155 {156 "path": "figures/gt/plot.py",157 "sha256": "9ce32a6575e7c89d2bb740f8bf5ebe9bf11fb0b9f479976c8d9442d9318f7ee1",158 "language": "Python",159 "lines": 176,160 "truncated": false,161 "block": 12,162 "row": 15544163 },164 {165 "path": "figures/models/pdf2png.sh",166 "sha256": "2df7c20e57e60ba52b3282f593c27582ffd809fd8ea55e766b7a3099620559cf",167 "language": "Shell",168 "lines": 5,169 "truncated": false,170 "block": 13,171 "row": 4249172 },173 {174 "path": "figures/models/plot_sample_pattern.py",175 "sha256": "4f77b238f4231366cc39455aea3c5a8fef6205dfa247eea9ecb0ea01fcdebe77",176 "language": "Python",177 "lines": 192,178 "truncated": false,179 "block": 12,180 "row": 13991181 },182 {183 "path": "figures/motion/gif_diff/convert.sh",184 "sha256": "069ac140428f149336f31501be10807800ffc2b95c87f936dba3538b9fbb13fb",185 "language": "Shell",186 "lines": 4,187 "truncated": false,188 "block": 13,189 "row": 4211190 },191 {192 "path": "figures/motion/plot.ipynb",193 "sha256": "1e1233ade1f50768cac1e12ea55601042ed1324d2dd7e946a013ee77986f9b1d",194 "language": "Jupyter",195 "lines": 319,196 "truncated": false,197 "block": 11,198 "row": 13212199 },200 {201 "path": "figures/motion/plot_0.5mm_ss.py",202 "sha256": "62e530f2415e7bc7cec3306ef6e8c4582b5a81ccc404db27f43d91d681ff6751",203 "language": "Python",204 "lines": 71,205 "truncated": false,206 "block": 12,207 "row": 8453208 },209 {210 "path": "figures/motion/plot_0.7mm_cor.py",211 "sha256": "9c46ff55b4a38ca08c0c0dffaffba65bb07664651fd05141e7d868ba0aa87da8",212 "language": "Python",213 "lines": 70,214 "truncated": false,215 "block": 12,216 "row": 8267217 },218 {219 "path": "figures/motion/plot_0.7mm_cor_sag.py",220 "sha256": "4790345e54678c3d7589c2b8878c7c5e9f84ca1f59aa79f57f4441dd14fb6930",221 "language": "Python",222 "lines": 105,223 "truncated": false,224 "block": 12,225 "row": 10963226 },227 {228 "path": "figures/motion/plot_0.7mm_dwi.py",229 "sha256": "66e5ae8b6f1b95ba5f3a805406eb57fabba39fc75ea9b44bbb788a97c4a59477",230 "language": "Python",231 "lines": 134,232 "truncated": false,233 "block": 12,234 "row": 12826235 },236 {237 "path": "figures/motion/plot_0.7mm_gif_diff.py",238 "sha256": "5120b40316f10db7e25bb730c36decad0c96f69f311f774697ba1cfea28259b1",239 "language": "Python",240 "lines": 112,241 "truncated": false,242 "block": 12,243 "row": 11711244 },245 {246 "path": "figures/motion/plot_0.7mm_gif_slice.py",247 "sha256": "5027efc1d3490893354f657d3726387fc8c43ed31d5e992711cdf42a2e49ebd8",248 "language": "Python",249 "lines": 106,250 "truncated": false,251 "block": 12,252 "row": 11264253 },254 {255 "path": "figures/motion/plot_0.7mm_sag.py",256 "sha256": "84e3e6f620a59b17cf740c13302bd2887a3ac32a5c78cbb95e3bd8879d924103",257 "language": "Python",258 "lines": 70,259 "truncated": false,260 "block": 12,261 "row": 8270262 },263 {264 "path": "figures/motion/plot_0.7mm_shot.py",265 "sha256": "ec3f61d0aef32d88e5a8b877d8f19556a4472297da0677f6a354579f4ab08fa0",266 "language": "Python",267 "lines": 109,268 "truncated": false,269 "block": 12,270 "row": 10901271 },272 {273 "path": "figures/motion/plot_0.7mm_tra_4.py",274 "sha256": "846a9e25a3422d0586cb8cd206d82badc6a104a99ba03842822993fac739d329",275 "language": "Python",276 "lines": 131,277 "truncated": false,278 "block": 12,279 "row": 12573280 },281 {282 "path": "figures/motion/sbatch_llr.sh",283 "sha256": "98d8f013c678b6e15d7682ff2c941b4321533bf329540b3e196b3f54c7812bb4",284 "language": "Shell",285 "lines": 22,286 "truncated": false,287 "block": 13,288 "row": 4641289 },290 {291 "path": "figures/motion/sbatch_zsssl.sh",292 "sha256": "eacdb814deb8774f7e680483a56853d7f9b95d079bc2a4ba0a227cc35cb43ca2",293 "language": "Shell",294 "lines": 26,295 "truncated": false,296 "block": 13,297 "row": 4565298 },299 {300 "path": "figures/motion/test.sh",301 "sha256": "efa916e597f1c4c097676947a759fe6f9a5490e30c6c7e051627bda86a7655fc",302 "language": "Shell",303 "lines": 11,304 "truncated": false,305 "block": 13,306 "row": 4788307 },308 {309 "path": "figures/motion/train.sh",310 "sha256": "de191b47fa6c34ed7bca35252fe68ec299eff1e762c4468610aab756fdd07931",311 "language": "Shell",312 "lines": 7,313 "truncated": false,314 "block": 13,315 "row": 4379316 },317 {318 "path": "figures/motion_self/gif_diff/convert.sh",319 "sha256": "e3cadf4459aeb61827413c8005d79dabc6f7ae8463b2e712cdf2c020f7310897",320 "language": "Shell",321 "lines": 4,322 "truncated": false,323 "block": 13,324 "row": 4212325 },326 {327 "path": "figures/motion_self/plot.py",328 "sha256": "f8c3b4f0ec3c0fbec4e0fdadad5309f5fb5f8a6e6bc27fb7b131038bcaf8722a",329 "language": "Python",330 "lines": 164,331 "truncated": false,332 "block": 12,333 "row": 14476334 },335 {336 "path": "figures/motion_self/plot_0.7mm_gif_diff.py",337 "sha256": "8b7400311368ee538170d7431b620e2edc2db6317f39a99f7468d5c23087ad4a",338 "language": "Python",339 "lines": 112,340 "truncated": false,341 "block": 12,342 "row": 11715343 },344 {345 "path": "figures/motion_self/plot_vol3.py",346 "sha256": "1dcab7337697b7e27954e6f38c16c95e0c9089547b18d20912fd753360428c9f",347 "language": "Python",348 "lines": 75,349 "truncated": false,350 "block": 12,351 "row": 8619352 },353 {354 "path": "figures/motion_self/sbatch_zsssl.sh",355 "sha256": "b28e34fb895e34cb7ef6318a2db1663132c72893e687c314b60851047181d402",356 "language": "Shell",357 "lines": 25,358 "truncated": false,359 "block": 13,360 "row": 4549361 },362 {363 "path": "figures/motion_self/test.sh",364 "sha256": "e1c669403e55f3b7b35025dce97eb7c4de3a03ed5bf77072e0e8a25a76a1872c",365 "language": "Shell",366 "lines": 6,367 "truncated": false,368 "block": 13,369 "row": 4263370 },371 {372 "path": "figures/motion_self/train.sh",373 "sha256": "cb04a8fa56328a4121ba7d94ad17882d6afd7fbaa5d915a981c7b2c61b7ae4bd",374 "language": "Shell",375 "lines": 4,376 "truncated": false,377 "block": 13,378 "row": 4251379 },380 {381 "path": "figures/regularizations/plot.py",382 "sha256": "8b692d62fedf7639dd307bc48b523b4a1dcac8c5e2f39210ddb8016f995893bf",383 "language": "Python",384 "lines": 98,385 "truncated": false,386 "block": 12,387 "row": 10032388 },389 {390 "path": "figures/regularizations/plot_shot-retro-2.py",391 "sha256": "3e7a65803ed75354c9290c1eaa5a187a67270f39f80b53ea310d18ec38c4ee5a",392 "language": "Python",393 "lines": 98,394 "truncated": false,395 "block": 12,396 "row": 10236397 },398 {399 "path": "figures/regularizations/run_llr_regularization.py",400 "sha256": "7ce54d3c3078e02a6b970d86f82069a963f33cb6d88f04a325920a5f8e805a7f",401 "language": "Python",402 "lines": 109,403 "truncated": false,404 "block": 12,405 "row": 11416406 },407 {408 "path": "figures/regularizations/run_vae_regularization.py",409 "sha256": "c06244421ab1a5c03b041853b03f1e6df7cfde91872ed0548f045d25790cce06",410 "language": "Python",411 "lines": 148,412 "truncated": false,413 "block": 12,414 "row": 12727415 },416 {417 "path": "figures/regularizations/sbatch_llr.sh",418 "sha256": "e058ea5c7088ff05f3926d35000e62e11411ad7dd0f2e2242c57ccc64a0ec939",419 "language": "Shell",420 "lines": 24,421 "truncated": false,422 "block": 13,423 "row": 4586424 },425 {426 "path": "figures/regularizations/sbatch_vae.sh",427 "sha256": "21048f89375c7ac7d776f1444210d910ca72e3c434946e6f970ff65d5bfbe8ad",428 "language": "Shell",429 "lines": 23,430 "truncated": false,431 "block": 13,432 "row": 4556433 },434 {435 "path": "figures/regularizations/sbatch_zsssl.sh",436 "sha256": "b61c317d3acf4551867c52925ce0ce7eed6d5c45ecb8aa4d79928109ecaa2be5",437 "language": "Shell",438 "lines": 24,439 "truncated": false,440 "block": 13,441 "row": 4670442 },443 {444 "path": "figures/vae_vs_linsub/plot_brain.py",445 "sha256": "7d11f1dc821afce94ae269c0f396609d3711e9eec37ba3b26a2fbafd86e2ce4d",446 "language": "Python",447 "lines": 90,448 "truncated": false,449 "block": 12,450 "row": 9326451 },452 {453 "path": "figures/vae_vs_linsub/plot_latent.py",454 "sha256": "83aaf034201dad8201c28c3364d35cc855b95649e4b07fb8e74e6434b42806d3",455 "language": "Python",456 "lines": 75,457 "truncated": false,458 "block": 12,459 "row": 7865460 },461 {462 "path": "figures/vae_vs_linsub/plot_mse.py",463 "sha256": "8bf6e262ac5af4a59f8e56755cab68ac6cce33d5ef6ef58905fbc05a6539fbc1",464 "language": "Python",465 "lines": 62,466 "truncated": false,467 "block": 12,468 "row": 9027469 },470 {471 "path": "figures/vae_vs_linsub/run_brain.py",472 "sha256": "f802cdd811ed777079874d33c7977376f0903a147e85bda807646a4206d4ae5a",473 "language": "Python",474 "lines": 99,475 "truncated": false,476 "block": 12,477 "row": 10663478 },479 {480 "path": "figures/vae_vs_linsub/run_mse.py",481 "sha256": "ee3fbeb53a974dab371c87ce1b0a0953e00850fceb850ba6e9c985953e4f61f8",482 "language": "Python",483 "lines": 229,484 "truncated": false,485 "block": 12,486 "row": 16338487 },488 {489 "path": "src/deepdwi/create_dvs_3scan.py",490 "sha256": "d3586fa67837535f1a6e9c102aff95e8e05b53bb497488d47405311432eb7afd",491 "language": "Python",492 "lines": 78,493 "truncated": false,494 "block": 12,495 "row": 8282496 },497 {498 "path": "src/deepdwi/dims.py",499 "sha256": "f1d8fc7ad12da19a4cdb5a09e0932dbef7a7d69b1979cf194d677ac60dfb0d4c",500 "language": "Python",501 "lines": 11,502 "truncated": false,503 "block": 12,504 "row": 4101505 },506 {507 "path": "src/deepdwi/fourier.py",508 "sha256": "bb3e391936b00b9cfb052417d7bc2000617fcb6de1e934026a3f771633f932f3",509 "language": "Python",510 "lines": 76,511 "truncated": false,512 "block": 12,513 "row": 7184514 },515 {516 "path": "src/deepdwi/lsqr.py",517 "sha256": "731b56a568313c4ed4ef262e9cd32dd4f2292682749e4be4541261ef6aac59bf",518 "language": "Python",519 "lines": 146,520 "truncated": false,521 "block": 12,522 "row": 12827523 },524 {525 "path": "src/deepdwi/models/autoencoder.py",526 "sha256": "07a955776bc684dab2ec1ed5e68124a40d8aae0dcb40eb13bc9ca9afe58291cf",527 "language": "Python",528 "lines": 178,529 "truncated": false,530 "block": 12,531 "row": 13010532 },533 {534 "path": "src/deepdwi/models/bloch.py",535 "sha256": "edc0859a29118472de6be7a888b70e5edd1da925554837abcfb3acac58420536",536 "language": "Python",537 "lines": 166,538 "truncated": false,539 "block": 12,540 "row": 12427541 },542 {543 "path": "src/deepdwi/models/mri.py",544 "sha256": "3242e7b4d70b0dc1b4b7e5fb1417652f0f0552254b1d55c06463eb42c291776d",545 "language": "Python",546 "lines": 350,547 "truncated": false,548 "block": 12,549 "row": 18139550 },551 {552 "path": "src/deepdwi/models/prox.py",553 "sha256": "c2e7187808189d53885aa9512f71a5dec6093aa42bb0f09b0468c68bc08d19f4",554 "language": "Python",555 "lines": 52,556 "truncated": false,557 "block": 12,558 "row": 6930559 },560 {561 "path": "src/deepdwi/models/resnet.py",562 "sha256": "1f1ad5872f942f90902ee2fd5c20c06d248a29d218e91d0822674ac7c00b1cec",563 "language": "Python",564 "lines": 278,565 "truncated": false,566 "block": 12,567 "row": 17936568 },569 {570 "path": "src/deepdwi/models/unet.py",571 "sha256": "4fd4d2966b46bc2eb39b2b12949f9c6923dfa7076b19cef9436c81b35b863469",572 "language": "Python",573 "lines": 375,574 "truncated": false,575 "block": 12,576 "row": 19509577 },578 {579 "path": "src/deepdwi/prep.py",580 "sha256": "00c1685c6f40ebb781cedfe871ae14b0287dd074ca55a320adee51fdca9522a4",581 "language": "Python",582 "lines": 247,583 "truncated": false,584 "block": 12,585 "row": 15875586 },587 {588 "path": "src/deepdwi/recons/linsub.py",589 "sha256": "cb402b20a8a2c04462b2e06e91dfa509064258c2ad122f056db32723873c3d3b",590 "language": "Python",591 "lines": 77,592 "truncated": false,593 "block": 12,594 "row": 9152595 },596 {597 "path": "src/deepdwi/recons/zsssl.py",598 "sha256": "04e727f8fc3122fc6436ffef22e644faac1b5be58074d7ad8623c78b4d6e0821",599 "language": "Python",600 "lines": 470,601 "truncated": false,602 "block": 12,603 "row": 20223604 },605 {606 "path": "src/deepdwi/util.py",607 "sha256": "983b4ded9e887093ae14faf7331890a9b3fee090686560db8e73943894d6a41d",608 "language": "Python",609 "lines": 299,610 "truncated": false,611 "block": 12,612 "row": 15932613 },614 {615 "path": "tests/models/test_mri.py",616 "sha256": "80491603fab912bc62336d19811d4f7b52c9d4cc97d3ac3da195596c01ed4673",617 "language": "Python",618 "lines": 237,619 "truncated": false,620 "block": 12,621 "row": 16420622 },623 {624 "path": "tests/models/test_resnet.py",625 "sha256": "7f1339edb963ad3301abef02c3a9352b9220f2509f312087792b24989098a10b",626 "language": "Python",627 "lines": 81,628 "truncated": false,629 "block": 12,630 "row": 9016631 },632 {633 "path": "tests/recons/test_linsub.py",634 "sha256": "e13c9fec356c397b4917baa4f84f4299341022d06ea788771f894186834658e3",635 "language": "Python",636 "lines": 37,637 "truncated": false,638 "block": 12,639 "row": 5511640 },641 {642 "path": "tests/recons/test_loader.py",643 "sha256": "53e707d25233c79ba54c92b7515e2106a82f6af707b824c05e4ea242f473a03c",644 "language": "Python",645 "lines": 43,646 "truncated": false,647 "block": 12,648 "row": 5622649 },650 {651 "path": "tests/recons/test_zsssl.py",652 "sha256": "a04378300082131ef815c49b7e12685614c13ce97fa3eaef471e28901ea04fe7",653 "language": "Python",654 "lines": 157,655 "truncated": false,656 "block": 12,657 "row": 14409658 },659 {660 "path": "tests/test_fourier.py",661 "sha256": "df468829c115270c866a394c820002f727933ba18fcb239a511237f5cf6383c7",662 "language": "Python",663 "lines": 71,664 "truncated": false,665 "block": 12,666 "row": 8716667 },668 {669 "path": "tests/test_lsqr.py",670 "sha256": "19dc1d335166ede674f6939ca57c3c891ffb7f734dd7387c2121659628d10ded",671 "language": "Python",672 "lines": 45,673 "truncated": false,674 "block": 12,675 "row": 6578676 },677 {678 "path": "tests/test_util.py",679 "sha256": "d852cdf993ca90b10e8a7b0bc6f56c46f7dc607a9e92136a6a57368f363185de",680 "language": "Python",681 "lines": 74,682 "truncated": false,683 "block": 12,684 "row": 8146685 }686 ]687}