Examples# This page contains fully worked examples of data analysis using pynapple with neurophysiological datasets. Analysing head-direction cells Downloading the data Parsing the data Head-Direction Tuning Curves Decoding Streaming data from Dandi Prelude DANDI Pynapple Computing calcium imaging tuning curves Downloading the data Parsing the data Plotting the activity of one neuron Calcium tuning curves Example perievent Stream the data from DANDI Parsing the data Peri-Event Time Histogram (PETH) PETH of firing rate for NB and HB cells Example wavelet decomposition Downloading the data Selecting example Plotting the LFP and Behavioural Activity Getting the LFP Spectrogram Getting the Wavelet Decomposition Visualizing Theta Band Power Visualizing High Frequency Oscillation References Example filtering Downloading the data Loading the data Selecting slices Plotting the LFP Activity Getting the Wavelet Decomposition Filtering Theta Computing phase Finding Phase of Spikes