Michael Beyeler
Michael Beyeler
Similar to `ThresholdPredictor`, add a `PhospheneShapePredictor` that acts like an sklearn estimator - with `fit` and `predict` methods so they can integrate with the optimizers from the model selection subpackage....
Inspiration: - [pytest-benchmark](https://pytest-benchmark.readthedocs.io/en/latest/usage.html#markers) - [Dipy](https://github.com/dipy/dipy/blob/553d92ebdeda866d635ec414e767f22d9e252046/dipy/core/benchmarks/bench_sphere.py)
The code used to create an electrode grid can be reused in `GridXY` (or the other way around). Maybe rename to `Grid2D`, provide square and hex grids (plus triangle if...
Electrical stimuli should have a `pad` method that pads the stimulus with zeros up to a specific stimulus duration. This is useful when building your own stimuli from elementary parts....
Add [POLYRETINA](https://www.nature.com/articles/s41467-018-03386-7), a wide-field epiretinal implant (46.3 degrees) consisting of 2215 stimulating electrodes. There are different prototypes though: - beta: 10,498 pixels, 80um diameter, 120um pitch - gamma: 18,693, 60um...
The default value for aperture size should be `[width/2 height/2]`, and the aperture should be centered correctly (rounding pixels).
Add a method to shuffle all frames of a certain stimulus. If `frames` is `nrX x nrY x nrFrames`: ``` frames = frames(:,:,randperm(length)); ```
Add a C++ public interface that parses the binaries created with the Matlab utility.