Xu Cui

 

   



564 Stories by Xu Cui

Handy programs to visualize NIRS data (4): wt

In case you need to visualize your time series in both time and frequency domain (or just frequency domain), you can use the wt (wavelet transform) function in the Cross Wavelet and Wavelet Coherence toolbox by Grinsted et al. I often find the color
0 33 sec read

Handy programs to visualize NIRS data (3): plotFFT

Sometimes you wish to know the spectrum of a time series. plotFFT is a handy function for this purpose. You instantly know the power of the signal at each frequency. Here is an example on how to use this function: figure; plotFFT(randn(1,1000)); Sour
0 11 sec read

Handy programs to visualize NIRS data (2): plotTopoMap

Often you need to view the spatial pattern of activation as in the example below. plotTopoMap allows you to do that. It probably only works for Hitachi devices where the spatial relationship between channels are known. In the above example, the activ
0 37 sec read

Handy programs to visualize NIRS data (1): plotTraces

You often need to plot the time series of NIRS signal from all channels with event indicators (See the example below). plotTraces can do that easily. In the above example, time series of all 24 channels are plotted. The number on the y-axis indicates
1 26 sec read

MatLab set environment path

Quite often you need to call external or system commands inside MatLab. If those external commands are not in path, you need to add them. Here is how: setenv('PATH', );
0 7 sec read

Converting DICOM files to Analyze file in batch mode

I use SPM’s dicom import function to convert DICOM files to Analyze files. But it’s quite inconvenient if I have 20 subjects. Below is a script to do this conversion automatically. You can call this function inside a loop. function dicom2
8 23 sec read

PKU Bio-Net Reunion 2011

The 3rd PKU Bio-Net Annual Conference will be held on July 16th 2011, at Columbia University, New York City. This is a reunion for alumni of PKU School of Life Sciences (former Department of Biology) and other PKU alumni working in life science-relat
0 10 sec read

The undiscovered numbers

Arthur and Bert each writes down a positive integer on a piece of paper and then shows it to Charles. Charles then writes two numbers on a blackboard, visible to Arthur and Bert: one of them is the sum of Arthur’s and Bert’s numbers, and
0 24 sec read

咆哮体

突然间咆哮体火起来,网上还有个咆哮体生成器(http://lifeis.ws/paoxiao.htm)。我把推荐peaya的帖子生产了一下,果真给力。如下: 尼玛文献这件事其实挺烦人的啊啊啊!!! 但
2 7 sec read