# Alignment of Neuropixel action potentials prior to averaging

**URL:** <https://community.brain-map.org/t/alignment-of-neuropixel-action-potentials-prior-to-averaging/666>\
**Category:** Technical\
**Tags:** brain-observatory-visual-coding\
**Created:** [August 13, 2020, 12:43pm UTC](https://community.brain-map.org/t/alignment-of-neuropixel-action-potentials-prior-to-averaging/666 "2020-08-13T12:43:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eskuebler](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@Eskuebler](https://community.brain-map.org/u/Eskuebler)\
**Post date:** [August 13, 2020, 12:43pm UTC](https://community.brain-map.org/t/alignment-of-neuropixel-action-potentials-prior-to-averaging/666/1 "2020-08-13T12:43:19Z")

</div>

Hello,  
Many thanks for the awesome datasets!  
I am curious, in the neuropixel dataset how the action potential waveforms of putative individual cells were aligned prior to averaging? Some align to max slope, others threshold, still others trough of AP; but we don’t have access to individual waveforms (correct?) so this may be important.  
thank you!!  
Eric

---

<div class="post-metadata">

**Author:** ![joshs](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.brain-map.org/joshs/32/8_2.png) [@joshs](https://community.brain-map.org/u/joshs)\
**Post date:** [August 13, 2020, 5:34pm UTC](https://community.brain-map.org/t/alignment-of-neuropixel-action-potentials-prior-to-averaging/666/2 "2020-08-13T17:34:51Z")

</div>

Hi Eric,

The waveforms are aligned to the AP trough.

You’re correct that the NWB files only contain the mean waveforms. However, the raw data files are available on AWS ([https://registry.opendata.aws/allen-brain-observatory/](https://registry.opendata.aws/allen-brain-observatory/)), from which you could pull out the individual waveforms if necessary.

Josh

---

<div class="post-metadata">

**Author:** ![Eskuebler](https://avatars.discourse-cdn.com/v4/letter/e/eb8c5e/32.png) [@Eskuebler](https://community.brain-map.org/u/Eskuebler)\
**Post date:** [August 15, 2020, 12:53pm UTC](https://community.brain-map.org/t/alignment-of-neuropixel-action-potentials-prior-to-averaging/666/3 "2020-08-15T12:53:46Z")

</div>

Hi Josh,  
Thank you!  
Eric
