-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] Glass brain visualisation #245
Merged
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
5856e7c
First commit of glass brain related scripts
lesteve e17cf36
Added a README.md + simple bash script to generate the json files
lesteve 15c7236
Removed svg folder
lesteve 6c66244
Tiny markdown improvement
lesteve ef0687c
First stab at implementing high-level function in img_plotting for gl…
lesteve 2fbcdfe
Remove stale comment
lesteve 724a4c4
Add demo for glass brain visualisation
lesteve 16d0f80
Rename align_svg.py to get the Travis tests to run
lesteve 90b7322
Additional hack to get the Travis tests to run
lesteve e578705
Move glass_brain_scripts inside plotting
lesteve 185404b
glass_brain_scripts has been moved inside plotting. Also use generic …
lesteve f493f27
MAINT: remove unneeded svg_bak folder
lesteve e5df5b6
Brain schematics inverts its colors with a black background
lesteve 0dbdfc8
Add svg bounds into the json document and update brain_plotter accord…
lesteve 8b8b22d
Revert addition of object bounds margin and only use it when plotting…
lesteve ffaa660
Rename glass_brain_scripts to glass_brain and brain_plotter to brain_…
lesteve 29af2c3
Move a few files to nilearn/plotting/glass_brain/scripts
lesteve b69ef47
First stab at tidying up slicers.py and img_plotting.py
lesteve 24a5838
Add optional alpha argument to plot_glass_brain.
lesteve 1c25b85
Reuse _plot_img_with_bg in plot_glass_brain
lesteve 2d57957
Fix wrong class variable name
lesteve d409809
Move slice finding code to BaseStackedSlicer.find_cut_coords
lesteve 24e7bea
Flatten the glass brain related folders
lesteve 4b4c4c7
Refactor nilearn.plotting.glass_brain to use functions
lesteve 00cd6ad
Move the brain schematic plotting to the Axes rather than the display
lesteve ad2dc03
Update plot_align_svg.py now that add_brain_schematics has been remov…
lesteve f5ec85b
Fix bug for display_mode != 'ortho'
lesteve aca9483
Minor renaming/tidy-up
lesteve 4ed433f
Rename slicers.py -> displays.py
lesteve 610ef8a
PEP8 fix since since I touched this line
lesteve 4a90f46
Add tests for plot_glass_brain.
lesteve 583784d
Remove colorbar from plot_glass_brain
lesteve 1720900
Add plot_glass_brain to nilearn.plotting
lesteve a355f5a
Add glass brain plot to plot_demo_plotting.py
lesteve 5ad6ff4
Add plot_glass_brain to documentation.
lesteve a5f4fb5
Fix typo tran*s*form_2d
lesteve 92c5f8c
Use max rather than sum along an axis
lesteve 5e3cd5a
vmin and vmax are determined by the 2d data min and max
lesteve 5aa0a6a
Add transparent color maps using the full alpha range
lesteve 31ce2c9
Removal of redundant if statement
lesteve 6cada3a
The color should stay constant for transparent colormap
lesteve 7d17f98
Use t-maps rather than contrasts in plot_glass_brain.py
lesteve d4d51e4
Use max(abs(data)) for 2d projection rather than max(data)
lesteve f5ef98c
Change default plot_glass_brain colormap
lesteve 66dfaa4
Simplified glass brain SVGs
lesteve 9f011d7
Remove invisible path
lesteve 4e1a37b
Thiner lines in the glass brain SVGs
lesteve 927fa06
Use auto threshold for glass brain
lesteve c2a6bf9
Tweak glass brain example in plot_demo_plotting.py
lesteve 7bcf1a2
Add inferior temporal sulcus
lesteve 8a42985
Rename some lingering slicer to display
lesteve 9c8f0b6
Fix max instead of min typo in auto vmin logic
lesteve f37072b
Cosmits
lesteve 3e25fe6
Add module docstrings
lesteve d971917
Document more parameters in _plot_img_with_bg
lesteve 71c8111
Added OrthoProjector smoke test
lesteve 4db0995
Add anatomy in plot_align_svg.py
lesteve bc75c30
Explicitly say that input data needs to be in MNI space
lesteve a58cc15
Use alpha=0.7 by default for the brain schematics
lesteve 88f7036
Remove plot_glass_brain.py
lesteve File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for renaming slicer to display in the docs!