Changed plotting in plot_coh_Bernat.m to be more beautiful; dunno what I did with run_coh_Bernat, some debugging and probably changed std to be for real and imaginary parts, not both.
Changed run and plot so both incorporate shuffle-normalized coherence, not just real and imaginary components of coherence.
Changed run_coh_Bernat so it runs both by-hour and by-state 4-hour lists.
Fixed problem with fids.
Now plots coherence as well as real and imaginary coherency (untested).
Added file which collects and plots coherence by state; corrected what is plotted for coherence.
Changed run_fft_Bernat to do 4hrs_by_state lists also.
Changed all files to deal with mistake regarding frequency vector; run_fft_Bernat.m should be re-run.
Changed | to || in wavelet_mouse...; changed order of subplots in cplot_collected_spec_by_3_categories, so that spectrograms appear vertically;,and added band name labells; chaged All_spec_plots to aaccount for changes in cplot_collected...
Attempted (unsuccessfully) to fix title bug in cplot_collected...
This file computes coherency between two matrices with rows containing time series.
Changed All_spec_plots to  plot spectra independent of state; changed order of outputs for make_period_labels; changed ...compute_power_only_Bernat_11_13 back to using pmtm from fft; changed cplot_collected_MI... to save nice pdfs.
Created scripts to do plots for collected MI.
Added files to look at whether MI vars are normal, using Kolmogorov-Smirnov test.
The file that does the plotting of spectra by drug, independent of state.
Added six minute periods to wavelet...compute_power, All_P_collect..., All_spec_plots..., and obvious list scripts; changed All_spec_plots to do figures for each drug, and six minute periods; wrote code to plot coherence (All_coh_plot); changed figure_replotter_labels to work with
plot_spec_horiz.m; plot_spec_horiz replots 6-min. spectra so they're in rows, not columns.
Rewrote plot_spec_horiz to do subplots.
Fixed a problem with clearing period labels for All_MI_plots; fixed a problem with saving inplot_spec_horiz; messed with params in figure_replotter & ...labels;
commented and uncommented things in All_spec_plots_Bernat.
These files will plot comodulograms across channels by drug, and across drugs by channel, for each hoour; also, they do subplots of specified ranges.
Commented & uncommented parts of All_MI_plots; added 6min periods to run_fft_Bernat; fixed bug in cplot_collected_spec... that kept line plots from being saved.