Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge
swh:1:cnt:a5d021f3dca8ec3fef2054eeac3ffbb18fdaa5cf

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
# pynacollada 🍍 🥥 🍹
Collaborative platform for high-level analysis with pynapple. 


- [pynacollada](#pynacollada)
  * [Getting Started](#getting-started)
    + [Requirements](#requirements)
    + [Installation](#installation)
  * [Libraries](#libraries)
    + [Neural Ensembles](#neural-ensembles)
    + [Manifolds](#manifolds)
    + [EEG processing](#eeg-processing)
    + [PETH](#peth)
    + [Brain state scoring](#brain-state-scoring)
    + [Graphics](#graphics)
    + [Position tracking](#position-tracking)

> **Note**
> See the analysis of the pynapple paper [here](https://github.com/PeyracheLab/pynacollada/tree/main/pynacollada/Pynapple%20Paper%20Figures)


## Getting Started


### Requirements

-   Python 3.6+
-   [pynapple](https://github.com/PeyracheLab/pynapple)
-   scikit-learn
-   seaborn

### Installation

<!-- pynacco can be installed with pip:

``` {.sourceCode .shell}
$ pip install pynapple==0.2.0a1
```
 -->
Directly from the source code:

``` {.sourceCode .shell}
$ # clone the repository
$ git clone https://github.com/PeyracheLab/pynacollada.git
$ cd pynacollada
$ # Install in editable mode with `-e` or, equivalently, `--editable`
$ pip install -e .
```

## Libraries

|                         | **Jupyter notebook / scripts**                                                                                                                                                                                             | **Description**                                                                                          | **Contributors** |
|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|------------------|
| **_Neural Ensembles_**  | [Neuralensemble_tutorial_replay1.ipynb](pynacollada/neural_ensemble/Neuralensemble_tutorial_replay1.ipynb)  <br/> [pynacollada_tutorial_replay_short.py](pynacollada/neural_ensemble/pynacollada_tutorial_replay_short.py) | How to use pynapple to compute sleep reactivation, step by step.                                         | Adrien Peyrache  |
| **_Manifolds_**         | [Tutorial_manifold_ring.ipynb](pynacollada/neural_manifold/Tutorial_manifold_ring.ipynb)                                                                                                                                   | How to project a ring manifold with head-direction neurons.                                              | Guillaume Viejo  |
| **_EEG processing_**    | [Tutorial_ripple_detection.ipynb](pynacollada/eeg_processing/Tutorial_ripple_detection.ipynb) <br/> [Tutorial_ripple_detection.py](pynacollada/eeg_processing/Tutorial_ripple_detection.ipynb)                             | How to detect ripples in CA1 step by steps.                                                              | Guillaume Viejo  |
| **_PETH_**              | [Tutorial_PETH_Ripples.ipynb](pynacollada/PETH/Tutorial_PETH_Ripples.ipynb)                                                                                                                                                | How to make a peri-event time histogramm and raster plots around ripples.                                | Guillaume Viejo  |
| **_Position tracking_** | [Tutorial_DeepLabCut_Path_Segmentation.ipynb](pynacollada/position_tracking/DLC_process_position.ipynb)                                                                                                                    | How to segment the path of a mouse running in a radial-arm maze with position extracted with DeepLabCut. | Dhruv Mehrotra   |
| **_Waveform processing_** | [load_mean_waveforms.ipynb](pynacollada/waveform_processing/load_mean_waveforms.ipynb)                                                                                                                    | How to extract the mean waveforms from a binary file. | Sofia Skromne Carrasco   |


back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API