Time Frequency Analysis: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "===== Time Frequency Analysis Tools =====") |
m (Nugenta moved page TimeFreq to Time Frequency Analysis) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===== Time Frequency Analysis Tools ===== |
===== Time Frequency Analysis Tools ===== |
||
Time Frequency analysis are a useful way of determining where interesting things are happening in your data in time-frequency space. Typically, spatial information is discarded. One way of doing time-frequency analysis is through Stockwell analyses, although other methods are available. |
|||
* ctf2st is a Matlab GUI for performing Stockwell time-frequency analysis. This can be performed on all sensors, a section of sensors, or on virtual sensors after source localization - download [[local:/Meg/ctf2st.tgz|ctf2st.tgz]]. Unzip, and add both ctf2st and ctf2st/st to your Matlab path. You may need to recompile the mex files by typing make clean and make in the st subdirectory. A version recompobiled to work on the NIH Biowulf system is here: [[local:/megt/ctf2stBW.tgz|ctf2stBW.tgz]]. |
|||
* StockwellDs.py performs Stockwell time-frequency analysis in Python. This is included in the pyctf distribution. The default is to average all trials and compute the Stockwell on the average, giving an AFNI .BRIK and .HEAD dataset as output, Matlab output can also be requested (execute the command with no arguments to see a detailed usage message). |
|||
: {| width=400 style="border: 1px solid lightgrey;" |
|||
| Usage: StockwellDs.py [options] dataset.ds |
|||
|} |
|||
: Note that Stockwell plots from two conditions can be compared using the AFNI routine 3dWilcoxon |
|||
: {| width=700 style="border: 1px solid lightgrey;" |
|||
| Usage: 3dWilcoxon -out Condition1vsCondition2 StockwellCond1+orig.HEAD StockwellCond2+orig.HEAD |
|||
|} |
Latest revision as of 15:57, 20 February 2018
Time Frequency Analysis Tools
Time Frequency analysis are a useful way of determining where interesting things are happening in your data in time-frequency space. Typically, spatial information is discarded. One way of doing time-frequency analysis is through Stockwell analyses, although other methods are available.
- ctf2st is a Matlab GUI for performing Stockwell time-frequency analysis. This can be performed on all sensors, a section of sensors, or on virtual sensors after source localization - download ctf2st.tgz. Unzip, and add both ctf2st and ctf2st/st to your Matlab path. You may need to recompile the mex files by typing make clean and make in the st subdirectory. A version recompobiled to work on the NIH Biowulf system is here: ctf2stBW.tgz.
- StockwellDs.py performs Stockwell time-frequency analysis in Python. This is included in the pyctf distribution. The default is to average all trials and compute the Stockwell on the average, giving an AFNI .BRIK and .HEAD dataset as output, Matlab output can also be requested (execute the command with no arguments to see a detailed usage message).
Usage: StockwellDs.py [options] dataset.ds
- Note that Stockwell plots from two conditions can be compared using the AFNI routine 3dWilcoxon
Usage: 3dWilcoxon -out Condition1vsCondition2 StockwellCond1+orig.HEAD StockwellCond2+orig.HEAD