Fixed PD_eeta_epochs to extract first epoch; aadded median frequency to PD_beta_epochs_PbyF and PbyF_epoch; removed normalization from rose_plot & added tests for significant nonuniformity of phase & minimum number of observations.
Script for doing rose plots for each beta epoch, and all beta epochs together.
Script for plotting GC by beta esegment, and its correlation with amplitude & frequency of beta over all beta segments.
Script for plotting phase locking between two channels for each beta segment, and rose plots relating it to epoch-wise beta frequency over all beta segments.
Script fof collecting frequency-wise phase relationships between channels for each epoch of each beta segment, and plotting them in rose plots.
Script for plotting phase relationship between two channels as a function of GC, for all epochs within all beta segments.
Debugged Park_pop..., run_AQ..., get_beta; changed PD_beta_epochs_roseplot_by.. and PD_beta_phase_by_freq to use subjects.mat instead of hard-coded filenames.
Script for collecting beta segments pre and post infusion, relative to mean beta power pre & post.
Script for plotting hphase vs. freq. for high beta epochs, dividing into pre and post injection.
Debugged PD_beta_epochs_rel_infusion.m to handle case when injection interrupts a high beta epoch; changed run_PD_pre.m to do concatenate and decimate channels, and to do epochs optionally if an outlier argument is given.
Script to plot phase by freq. roseplots for beta segments, selected separately pre and post infusion.
Scripts changed to run froseplots on final three rats w/ recordings in M1 & CPu.
Debugged scripts for computing phase by frequency roseplots on new data; changed ...roseplot_by_datapoint scripts to do overall mean roseplots.
Scripts used in run_PD_PbyF now take subject mat-file as an argument.
Changed scripts to do smoothing over 1/3 second, outlier check, do thresholding by baseline, look at ffirst 1500 seconds after infusion.
Changed scripts to look at beta segments based on striatal beta, motor beta, and *both*.