|
431 | 431 | "outputs": [],
|
432 | 432 | "source": [
|
433 | 433 | "from nilearn.plotting import plot_stat_map\n",
|
434 |
| - "anatimg = '/data/ds000114/sub-02/ses-test/anat/sub-02_ses-test_T1w.nii.gz'\n", |
| 434 | + "anatimg = '/data/ds000114/sub-02/ses-test/anat/sub-02_ses-test_T1w.nii.gz'" |
| 435 | + ] |
| 436 | + }, |
| 437 | + { |
| 438 | + "cell_type": "code", |
| 439 | + "execution_count": null, |
| 440 | + "metadata": {}, |
| 441 | + "outputs": [], |
| 442 | + "source": [ |
435 | 443 | "plot_stat_map(\n",
|
436 | 444 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0001.nii', title='average - fwhm=4',\n",
|
437 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)\n", |
| 445 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
| 446 | + ] |
| 447 | + }, |
| 448 | + { |
| 449 | + "cell_type": "code", |
| 450 | + "execution_count": null, |
| 451 | + "metadata": {}, |
| 452 | + "outputs": [], |
| 453 | + "source": [ |
438 | 454 | "plot_stat_map(\n",
|
439 | 455 | " '/output/datasink/1stLevel/sub-02/fwhm-8/spmT_0001.nii', title='average - fwhm=8',\n",
|
440 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)" |
| 456 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
441 | 457 | ]
|
442 | 458 | },
|
443 | 459 | {
|
|
455 | 471 | "source": [
|
456 | 472 | "plot_stat_map(\n",
|
457 | 473 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0002.nii', title='finger - fwhm=4',\n",
|
458 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)\n", |
| 474 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
| 475 | + ] |
| 476 | + }, |
| 477 | + { |
| 478 | + "cell_type": "code", |
| 479 | + "execution_count": null, |
| 480 | + "metadata": {}, |
| 481 | + "outputs": [], |
| 482 | + "source": [ |
459 | 483 | "plot_stat_map(\n",
|
460 | 484 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0003.nii', title='foot - fwhm=4',\n",
|
461 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)\n", |
| 485 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
| 486 | + ] |
| 487 | + }, |
| 488 | + { |
| 489 | + "cell_type": "code", |
| 490 | + "execution_count": null, |
| 491 | + "metadata": {}, |
| 492 | + "outputs": [], |
| 493 | + "source": [ |
462 | 494 | "plot_stat_map(\n",
|
463 | 495 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0004.nii', title='lips - fwhm=4',\n",
|
464 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)" |
| 496 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
465 | 497 | ]
|
466 | 498 | },
|
467 | 499 | {
|
|
479 | 511 | "source": [
|
480 | 512 | "plot_stat_map(\n",
|
481 | 513 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0005.nii', title='finger - fwhm=4',\n",
|
482 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)\n", |
| 514 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
| 515 | + ] |
| 516 | + }, |
| 517 | + { |
| 518 | + "cell_type": "code", |
| 519 | + "execution_count": null, |
| 520 | + "metadata": {}, |
| 521 | + "outputs": [], |
| 522 | + "source": [ |
483 | 523 | "plot_stat_map(\n",
|
484 | 524 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0006.nii', title='foot - fwhm=4',\n",
|
485 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)\n", |
| 525 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
| 526 | + ] |
| 527 | + }, |
| 528 | + { |
| 529 | + "cell_type": "code", |
| 530 | + "execution_count": null, |
| 531 | + "metadata": {}, |
| 532 | + "outputs": [], |
| 533 | + "source": [ |
486 | 534 | "plot_stat_map(\n",
|
487 | 535 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0007.nii', title='lips - fwhm=4',\n",
|
488 |
| - " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1)" |
| 536 | + " bg_img=anatimg, threshold=3, display_mode='y', cut_coords=(-5, 0, 5, 10, 15), dim=-1);" |
489 | 537 | ]
|
490 | 538 | },
|
491 | 539 | {
|
|
506 | 554 | "plot_stat_map(\n",
|
507 | 555 | " '/output/datasink/1stLevel/sub-01/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-01',\n",
|
508 | 556 | " bg_img='/data/ds000114/sub-01/ses-test/anat/sub-01_ses-test_T1w.nii.gz',\n",
|
509 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 557 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 558 | + ] |
| 559 | + }, |
| 560 | + { |
| 561 | + "cell_type": "code", |
| 562 | + "execution_count": null, |
| 563 | + "metadata": {}, |
| 564 | + "outputs": [], |
| 565 | + "source": [ |
510 | 566 | "plot_stat_map(\n",
|
511 | 567 | " '/output/datasink/1stLevel/sub-02/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-02',\n",
|
512 | 568 | " bg_img='/data/ds000114/sub-02/ses-test/anat/sub-02_ses-test_T1w.nii.gz',\n",
|
513 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 569 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 570 | + ] |
| 571 | + }, |
| 572 | + { |
| 573 | + "cell_type": "code", |
| 574 | + "execution_count": null, |
| 575 | + "metadata": {}, |
| 576 | + "outputs": [], |
| 577 | + "source": [ |
514 | 578 | "plot_stat_map(\n",
|
515 | 579 | " '/output/datasink/1stLevel/sub-03/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-03',\n",
|
516 | 580 | " bg_img='/data/ds000114/sub-03/ses-test/anat/sub-03_ses-test_T1w.nii.gz',\n",
|
517 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 581 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 582 | + ] |
| 583 | + }, |
| 584 | + { |
| 585 | + "cell_type": "code", |
| 586 | + "execution_count": null, |
| 587 | + "metadata": {}, |
| 588 | + "outputs": [], |
| 589 | + "source": [ |
518 | 590 | "plot_stat_map(\n",
|
519 | 591 | " '/output/datasink/1stLevel/sub-04/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-04',\n",
|
520 | 592 | " bg_img='/data/ds000114/sub-04/ses-test/anat/sub-04_ses-test_T1w.nii.gz',\n",
|
521 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 593 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 594 | + ] |
| 595 | + }, |
| 596 | + { |
| 597 | + "cell_type": "code", |
| 598 | + "execution_count": null, |
| 599 | + "metadata": {}, |
| 600 | + "outputs": [], |
| 601 | + "source": [ |
522 | 602 | "plot_stat_map(\n",
|
523 | 603 | " '/output/datasink/1stLevel/sub-05/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-05',\n",
|
524 | 604 | " bg_img='/data/ds000114/sub-05/ses-test/anat/sub-05_ses-test_T1w.nii.gz',\n",
|
525 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 605 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 606 | + ] |
| 607 | + }, |
| 608 | + { |
| 609 | + "cell_type": "code", |
| 610 | + "execution_count": null, |
| 611 | + "metadata": {}, |
| 612 | + "outputs": [], |
| 613 | + "source": [ |
526 | 614 | "plot_stat_map(\n",
|
527 | 615 | " '/output/datasink/1stLevel/sub-06/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-06',\n",
|
528 | 616 | " bg_img='/data/ds000114/sub-06/ses-test/anat/sub-06_ses-test_T1w.nii.gz',\n",
|
529 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 617 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 618 | + ] |
| 619 | + }, |
| 620 | + { |
| 621 | + "cell_type": "code", |
| 622 | + "execution_count": null, |
| 623 | + "metadata": {}, |
| 624 | + "outputs": [], |
| 625 | + "source": [ |
530 | 626 | "plot_stat_map(\n",
|
531 | 627 | " '/output/datasink/1stLevel/sub-07/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-07',\n",
|
532 | 628 | " bg_img='/data/ds000114/sub-07/ses-test/anat/sub-07_ses-test_T1w.nii.gz',\n",
|
533 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 629 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 630 | + ] |
| 631 | + }, |
| 632 | + { |
| 633 | + "cell_type": "code", |
| 634 | + "execution_count": null, |
| 635 | + "metadata": {}, |
| 636 | + "outputs": [], |
| 637 | + "source": [ |
534 | 638 | "plot_stat_map(\n",
|
535 | 639 | " '/output/datasink/1stLevel/sub-08/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-08',\n",
|
536 | 640 | " bg_img='/data/ds000114/sub-08/ses-test/anat/sub-08_ses-test_T1w.nii.gz',\n",
|
537 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 641 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 642 | + ] |
| 643 | + }, |
| 644 | + { |
| 645 | + "cell_type": "code", |
| 646 | + "execution_count": null, |
| 647 | + "metadata": {}, |
| 648 | + "outputs": [], |
| 649 | + "source": [ |
538 | 650 | "plot_stat_map(\n",
|
539 | 651 | " '/output/datasink/1stLevel/sub-09/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-09',\n",
|
540 | 652 | " bg_img='/data/ds000114/sub-09/ses-test/anat/sub-09_ses-test_T1w.nii.gz',\n",
|
541 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)\n", |
| 653 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
| 654 | + ] |
| 655 | + }, |
| 656 | + { |
| 657 | + "cell_type": "code", |
| 658 | + "execution_count": null, |
| 659 | + "metadata": {}, |
| 660 | + "outputs": [], |
| 661 | + "source": [ |
542 | 662 | "plot_stat_map(\n",
|
543 | 663 | " '/output/datasink/1stLevel/sub-10/fwhm-4/spmT_0002.nii', title='finger - fwhm=4 - sub-10',\n",
|
544 | 664 | " bg_img='/data/ds000114/sub-10/ses-test/anat/sub-10_ses-test_T1w.nii.gz',\n",
|
545 |
| - " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1)" |
| 665 | + " threshold=3, display_mode='y', cut_coords=(5, 10, 15, 20), dim=-1);" |
546 | 666 | ]
|
547 | 667 | },
|
548 | 668 | {
|
|
0 commit comments