programming

How much money did I make from an app?

Undoubtedly some people are very successful in making money by developing a smartphone app. Back in 2012 I developed an app called “Handbook of Brain” which is a collected resources of brain anatomy, function and diseases. I put the app i
Xu Cui
27 sec read

Raspberry Pi for research labs (1)

Raspberry Pi for research labs (3) Raspberry Pi for research labs (2) Raspberry Pi is a mini and incredibly cheap PC. The size is like a credit card, and the price is $35. See how small it is compared to my hand. If you connect Pi with a TV (or monit
Xu Cui
1 min read

Download “Cross Wavelet and Wavelet Coherence Toolbox”

The “Cross Wavelet and Wavelet Coherence Toolbox” download link by Grinsted et al (http://www.pol.ac.uk/home/research/waveletcoherence/) is dead. We will send you an active download link upon your request (an email with the download
Xu Cui
14 sec read

推荐一款文献管理软件PaperBox

文献这件事其实挺烦人的。但是做研究少不了读文献,写文章少不了引用文献。我给大家推荐个软件可以非常有效地完成这些事情。 PaperBox有些类似EndNote,但有下面的特点: 基于云(Cloud-ba
Xu Cui
9 sec read

Recommending a free reference manager, PaperBox

Reference managing is pretty annoying. But you can’t do research without reading papers, and can’t write manuscript without citing papers. Here I recommend a program which will effectively solve this problem. PaperBox (http://www.paper-box.co/) is li
Xu Cui
1 min read

Handy programs to visualize NIRS data (5): plot2

Let’s say you have two correlated variables, x and y. You may have more then one data points with x=10 and y=5. But if you do a scatter plot all these data points of the same value will become a single dot. You may want to use circles with size
Xu Cui
31 sec read

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
Xu Cui
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
Xu Cui
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
Xu Cui
37 sec read