浅谈近红外脑成像英文期刊文章撰写

本文作者是刘宁博士 作者简介:刘宁,塔夫斯大学生物医学工程博士(Tufts University),斯坦福大学脑科学方向科研人员。 Frontiers 杂志客座编辑(Guest Associate Editor for Fronti
Xu Cui
11 sec read

nirs2img, create an image file from NIRS data

Update 2021/2/27: If you find griddata3 not working, try to change griddata3 to griddata. I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to create an image file from the input data. Then theimage file can be viewed by a
Xu Cui
51 sec read

All Articles

Learning Employee Directory 3.3 Component

Return to table of contents 1. CustomAutoComplete This component can be very useful. It pops up a list of suggestions based on characters entered by the user. This is a very simple example on how to use it: <controls:CustomAutoComplete id="se
Xu Cui
30 sec read

Learning Employee Directory 4. Flow

Return to table of contents After the application is initialized, Event “applicationComplete” is dispatched and the following function is called: // in employeedirectory.mxml ui.init(); Go to ApplicationUI.mxml, we find ui.init() issues t
Xu Cui
10 sec read

Learning Employee Directory 5.1 Event bubble

Return to table of contents In ApplicationUI.mxml (init()), you will find the following two lines: // in ApplicationUI.mxml, in init() titleControls.addEventListener( "showHelp", showHelpScreen ); addEventListener( "close", closeP
Xu Cui
24 sec read

Learning Employee Directory 3.2 Size

Return to table of contents Which line(s) in the code determines the size of the application? This seemingly simple question did take me some time. The answer lines in the following two lines: // in ApplicationUI.mxml <mx:vbox id="contentBox&
Xu Cui
18 sec read

Learning Employee Directory 2.1 Singleton pattern

Return to table of contents While reading ED code, I frequently encounter singleton pattern. A singleton class is a class you can only instantiate once and it is useful to store application-wide data (say window position). ApplicationModel and all ma
Xu Cui
41 sec read

Learning Employee Directory 3.1 Style

Return to table of contents CSS is very convenient to control the appearance of the user interface. Let’s see the following code snippet inside employeedirectory.css too see how to use styling. .appHelpButton { up-skin: Embed("/embed_asset
Xu Cui
25 sec read

Learning Employee Directory 3. UI

Return to table of contents When I downloaded and launched ED, I was impressed by its elegant user interface. So how is implemented? The relevant files are: And the hierarchy of UI is shown below. I expand each custom component (except EmployeeView a
Xu Cui
2 min read

Learning Employee Directory 2. Structure

Return to table of contents While most other Adobe AIR sample applications have only a single mxml file, ED has many folders and files. Here is the structure of the source code: We can see that the codes are grouped in different folders. The hierarch
Xu Cui
3 min read

Learning Employee Directory 1. Introduction

Return to table of contents When I ran Employee Directory (ED) for the first time I was instantly impressed by its elegance. But when I started to read the code I found myself totally lost. While most other sample or tutorial applications provided by
Xu Cui
54 sec read