Dear Hadi,
Fig 3B and C show the analysis performed to calculate the phase-lock of the action potential (AP) firing of pyramidal neurons to gamma oscillations. To that we simultaneously recorded LFP and patch-clamp recordings as shown in Fig. 3A. Regarding the analysis you asked, LFP recordings were filtered using clampfit and then, using a matlab routine, the instantaneous phase of gamma oscillations was calculating using the Hilbert transformation. The LFP signal displayed on top the AP phase-angle distribution was taken from the filtered recording.
The detail explanation and steps to perform this analysis can be found in “Materials and Methods” section of the paper in the paragraph explaining the spike phase-coupling analysis.
The matlab routine can be downloaded by clicking the link provided in the “Additional files” section at the end of the paper (“Source code 1. Spike phase-coupling code”.) We uploaded a copy of this routine as well. Information regarding the analysis can be found also in the file.
Please, contact us for any further question you may have.