# Visualize 2-photon data as a video

**URL:** <https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548>\
**Category:** How To\
**Tags:** analysis\
**Created:** [August 21, 2023, 6:49am UTC](https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548 "2023-08-21T06:49:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cbw5007](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cbw5007](https://community.brain-map.org/u/cbw5007)\
**Post date:** [August 21, 2023, 6:49am UTC](https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548/1 "2023-08-21T06:49:33Z")

</div>

How can I watch the 2-photon recordings as a video? I ran the colab script but it shows" an average image from the movie recorded during an imaging session." This is not satisfying as I want to watch the entire 5-minute movie for different sessions. What is the easiest way to do that?

---

<div class="post-metadata">

**Author:** ![marinag](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/marinag/32/21_2.png) [@marinag](https://community.brain-map.org/u/marinag)\
**Post date:** [August 25, 2023, 7:53pm UTC](https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548/2 "2023-08-25T19:53:30Z")

</div>

Hi, Which dataset are you seeking to view the 2-photon videos for? Visual Coding 2P or Visual Behavior 2P?

There is not currently a way to view the movies via the AllenSDK, but we may be able to provide a link to an AWS location with the full movie files, depending on which dataset you are interested in.

---

<div class="post-metadata">

**Author:** ![cbw5007](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cbw5007](https://community.brain-map.org/u/cbw5007)\
**Post date:** [August 25, 2023, 8:07pm UTC](https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548/3 "2023-08-25T20:07:18Z")

</div>

Hi,

Either one would work! I am working to explore the capabilities of two-photon microscopy. If you could provide the instructions to view the videos, that would be great!

Thank you!

---

<div class="post-metadata">

**Author:** ![cbw5007](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@cbw5007](https://community.brain-map.org/u/cbw5007)\
**Post date:** [September 2, 2023, 12:46am UTC](https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548/4 "2023-09-02T00:46:33Z")

</div>

Is there anyone who can help me view the two photom microscopy videos? I still have been waiting for a response.

Thank you.

---

<div class="post-metadata">

**Author:** ![saskiad](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/saskiad/32/1695_2.png) [@saskiad](https://community.brain-map.org/u/saskiad)\
**Post date:** [September 7, 2023, 5:06pm UTC](https://community.brain-map.org/t/visualize-2-photon-data-as-a-video/2548/5 "2023-09-07T17:06:08Z")

</div>

There are instructions for accessing the raw movies in this tutorial. Specifically, look for the section called “3. (BONUS!) Accessing calcium movies.”

> <https://github.com/AllenInstitute/brain_observatory_examples/blob/master/Open%20for%20NeuroScience%202020/Open%20for%20(Neuro)Science%202021%20-%202P%20Visual%20Coding%20ANSWER%20KEY.ipynb>
