-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENH] Update grid.plot for cortical transforms (#534)
* grid interface changes * changed valueerror to runtime error in percept save test * Fix unique time point bug * temp commit to store grid stuff * [MNT] Update requirements.txt (#507) * [DOC] Fix gallery thumbnail images (#510) * [FIX] Add check for empty stimulus (#522) * add check for empty stimulus in stim setter for implants * add check for empty np.ndarray * [FIX] Fix electrode numbering annotation in implant.plot() (#523) * fix implant annotation * used zorder * [ENH][REF] Modify Grid2D and VisualFieldMap to support multiple visual areas (#509) * grid interface changes * changed valueerror to runtime error in percept save test * Fix unique time point bug * temp commit to store grid stuff * update requirements * update base.py for new grid class * Grid class now supports multiple layers * refactor layer to be region * Add region_mappings, RetinalMap * Fixed overwriting static attributes * Base class for cortical models * [MNT] Update requirements.txt (#507) * Add tests, made inv transforms optional to overwrite * update with named tuple coordinate grids, and ret_to_dva etc " * refactor everything to ret_to_dva * Update static ret2dva references * removed backwards compatibility for ret2dva * update doc * [REF] Add topography, implants.cortex, and models.cortex submodules (#518) * [MNT] Update requirements.txt (#507) * [DOC] Fix gallery thumbnail images (#510) * add topography module * fix imports * refactor tests for topography module * doc * add epmty submodules for implants.cortex and models.cortex * add orion implant and test * update cortex __init__.py * add orion implant and test * add scoreboard cortex * Replace outdated references to utils.*Map * fix unrelated jax error: require older jax * add doc and skeleton tests * docstrings * req * add cortex model, changes to polimeni map * bug fixes * add some initial tests * add equality check * visual field maps inherit from basemodel * add offset to polimeni, allow polimeni to cross x axis * fix inverse transforms * finished tests * update topography tests for float32 * make test simpler * test w print for mx * test w print for mx * more tests for mac * more tests for mac * improve numerical stability * improve numerical stability test * remove debug, add comments * loop through transforms in grid2d plot * change grid plot to use retinotopy * add documentation for use_dva param in grid2d plot * fix style=hull plot bug, changed default colors * change default grid plot color to gray, fix hull style when using use_dva=True, make discontinuity check cleaner * update default plotting, tests --------- Co-authored-by: jgranley <jgranley@ucsb.edu> Co-authored-by: isaac hoffman <trsileneh@gmail.com>
- Loading branch information
1 parent
5cce8c5
commit 88eb591
Showing
6 changed files
with
147 additions
and
117 deletions.
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
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.