PD_decimate: made detrend window an argument; PD_pmtm: calculate multitaper spectrum for entire data span; PD_powerfreq, PD_spectrogram, basic_HT_improved_x11: added comments.
Script to do wavelets on optogenetics data (i.e., without baseline normalization).
Script to plot data and putative spikes (to be used to narrow down prominence threshold).
Inner loop function for PD_all_data_wav_opto.
Script to find outlier epochs in Thompson multitaper analysis.