|
@@ -11,6 +11,9 @@ The Python codes that were used to analyze the data and generate the figures, ca
|
|
|
2) Script 2: contains functions for (1) extracting data snippets before and after light pulses and (2) calculating line length for these snippets. Additionally, examples are provided of how we used the functions (3) to extract LFP snippets and save them as matrices and (4) to calculate and save the line lengths of these snippets.
|
|
|
|
|
|
3) Script 3: contains functions for spectral analysis, including calculation and plotting of power spectral density (PSD) and plotting of spectrograms. The script contains three examples of how the functions were used to analyze and present data.
|
|
|
+4)
|
|
|
Example 1. Plotting individual PSDs and creating a matrix with all PSDs
|
|
|
+
|
|
|
Example 2. Extracting the power areas of the delta, theta, beta, and gamma oscillations by calculating the area under the curve of PSD plots in respective ranges
|
|
|
+
|
|
|
Example 3. Plotting spectrograms
|