Xu Cui

 

   



543 Stories by Xu Cui

Learning Employee Directory: How to add a field to employee data?

Return to table of contents Let’s say you want to modify Employee Directory for your own company and you want to add another filed (fax) to the employee data. How to do this? In EmployeePanelDetail.mxml, add the following block. <!-- fax --&
17 55 sec read

My brain in many flavors

Below are some pictures of my own brain. 001 rawavg orig nu T1 brainmask norm nu_noneck aseg brain brain.finalsurfs wm.seg wm filled lh.orig.nofix lh.smoothwm.nofix lh.inflated.nofix lh.qsphere.nofix lh.orig lh.white lh.pial lh.smoothwm lh.inflated l
0 11 sec read

Kolmogorov-Smirnov test

KS test is like T test; but it tests not only the mean but also the distribution. The null hypothesis for this test is that the two data sets are drawn from the same continuous distribution. In matlab, you can use function kstest2 to perform two-samp
0 27 sec read

Adobe AIR error #3132

You may get this error: could not convert text value to numeric value. Error #3132: Data type mismatch. People have discussed this error related to date column. Here is another case where this error could happen: when a column in sqlite is BIGINT and
0 17 sec read

fMRI: how to do ROI analysis

ROI stands for region of interest. The region is predefined usually from glm contrast. For example, you find visual cortex is activated when a flash is presented through glm analysis, you may then do more analysis on this particular region. ROI analy
8 42 sec read

recon-all images

Check out recon-all procedures here rawavg orig nu T1 brainmask norm nu_noneck aseg.auto aseg.auto_noCCseg aseg brain wm.seg filled lh.orig lh.smoothwm lh.inflated.nofix lh.qsphere.nofix lh.white lh.pial lh.inflated lh.sphere
1 8 sec read

Visualization with freesurfer

Assume CON14 is our subject ID and it is inside directory $SUBJECTS_DIR. After the display window and the control panel pops up, try playing with the menus and buttons. tkmedit for volume tkmedit CON14 rawavg.mgz tkmedit CON14 rawavg.mgz lh.pial -aux
0 21 sec read

Videos I watch

Whitney Houston – I’ll Always Love You 说句心里话(囧版,英文版) The Lion King- Can You Feel The Lov
0 3 sec read

Limits in Adobe AIR and sqlite

int in Adobe AIR takes value -2,147,483,648 (-2^31) to 2,147,483,647 (2^31-1). integer (primary key) in sqlite takes value -9,223,372,036,854,775,808 (-2^63) to 9,223,372,036,854,775,807 (2^63-1). (source)
0 4 sec read