allen dataset: Create colab example with Allen demo dataset.#139
allen dataset: Create colab example with Allen demo dataset.#139abdelrahman725 wants to merge 1 commit into
Conversation
|
Found 1 changed notebook. Review the changes at https://app.gitnotebooks.com/sensorium-competition/experanto/pull/139 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
19b829d to
241f53f
Compare
There was a problem hiding this comment.
Pull request overview
Adds a new Colab-oriented example notebook demonstrating how to export an Allen dataset via allen-exporter and then use Experanto to load and interpolate multiple modalities.
Changes:
- Added
examples/allen_example.ipynbwith Micromamba-based setup forallensdkcompatibility in Colab. - Added walkthrough code to export an Allen experiment, load it with
experanto.Experiment, and run interpolation for all devices or a single device.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
241f53f to
a19b38b
Compare
UpdatesAddressed only the relevant Copilot comments |
schewskone
left a comment
There was a problem hiding this comment.
Thanks a lot for the PR, the colab setup and environment instantiation look good.
Please address the comments to make the example even more intuitive
|
@abdelrahman725 please merge current main in your branch :) |
a19b38b to
e1d31b2
Compare
UpdatesAddressed review comments. I decided to leave |
e1d31b2 to
42e7c07
Compare
|
@abdelrahman725 please take a look on why the tests are failing. It's a bit suspicious cause adding a notebook should not change the tests but they were fine before. Maybe merging current main in there would be enough to solve. Also please re-request review from me and Tom, when the PR is ready for another review |
|
@abdelrahman725 we found the issue with the tests - its now fixed |
42e7c07 to
418c801
Compare
|
@abdelrahman725 At the end of the notebook in sections |
|
@pollytur
|
Yes, as I mentioned above, I'm not sure what "please print shapes only and use plots for the rest" means and for which devices ? |
It means that Its nice to have plots of Eye tracker / Treadmill channels activity over time same as you have it above for neurons |
|
@abdelrahman725 like also here |
|
for printing both neurons activity and behaviour activities please use |
|
@schewskone you downloaded the Visual Coding 2P Allen dataset right? https://allenswdb.github.io/physiology/ophys/visual-coding/vc2p-background.html There was no water licking or behaviour in there or was it? @abdelrahman725 wait for @schewskone reply but I think the explanation you give at the top is for the wrong dataset (e.g. |
There was a problem hiding this comment.
in the first markdown there is
Cheat sheet
See this helpful [cheat sheet](https://github.com/trendinafrica/TReND-CaMinA/blob/main/notebooks/Zambia25/07-to-10-Mon-toThu-AllenTutorial/Visual%20Coding%202P%20Cheat%20Sheet%20October2018.pdf) from CAMINA school
Cheat sheet for what? Give 1 sentence context what would they found there
Also add brief explanations in most of the markdown sections
- for example
Download and export Allen dataset- what is the difference between download and export? Load experiment- what happens there (e.g. data was downloaded in this folder and we are now loading it with the help of experanto) - yes, I know its trivial from a coding perspective but the goal of example notebooks is to extremely clear and self-explanatory- would be nice to have a comment on tiers split and what do these id mean here
@pollytur I agree, I can print the shapes in "Interplate from all devices" cell and maybe other minimal states , but I prefer to include other details like nans into each correpsonding modality cell below and before plotting. |
Sure, you are welcome to plot some details as suggested above. But this should be minimal meaningful prints instead of plain display of array parts |
|
Visual Behavior is the correct dataset not Visual Coding I'm not entirely sure about the difference but I followed the tutorials from here, which is for the Visual Behavior dataset. |
3206407 to
0e72fc5
Compare
Updates
Thoughts
|
0e72fc5 to
d46401d
Compare

Description
Create a google colab notebook to show case the whole pipline of downloading, exporting, and interpolating allen dataset.
Follow up
Are there any visualizations you want in the notebook ? If yes, please explain why they are needed, this helps me learn really quickly while building !
Closes #102