This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvs:fscan:manual:chapter4 [2011/10/29 16:22] voyvodic |
jvs:fscan:manual:chapter4 [2023/02/23 18:43] (current) |
||
---|---|---|---|
Line 5: | Line 5: | ||
fScan supports several different types of internal variables. Values of some variables are global -- they do not change when you move from one active window to another. | fScan supports several different types of internal variables. Values of some variables are global -- they do not change when you move from one active window to another. | ||
- | * [[jvs: | + | * [[jvs: |
- | * [[jvs: | + | |
* [[jvs: | * [[jvs: | ||
* [[jvs: | * [[jvs: | ||
+ | * [[jvs: | ||
+ | * [[jvs: | ||
==== Accessing data variables ==== | ==== Accessing data variables ==== | ||
- | In general, data variable values can be accessed by specifying the name of the variable, preceded by the' | + | In general, data variable values can be accessed by specifying the name of the variable, preceded by the ' |
- | -echo Window: | + | |
- | + | ||
- | |thiswin|prevwin|thispdigm|thisevents|listitem|listflag|wspace|wspacedir| | + | Variable operators: |
- | |lastref|imageref|taskbarcolor|thismap|lastmap|sample|subjectname|subjectdir| | + | * $varbname - the value of the named variable (_varbname works the same) |
- | |fscandir|curdir|port|querystatus|plotwin|imagewin|alignref|exists| | + | * ?varbname - the status of the named variable (0=undefined, |
- | |filepath|relpath|computer|hostname|user| | | | | + | |
- | |acquiret|age|byteorder|centerx|centery|centerz|colormap|colortype| | + | For example:\\ |
- | |comment|compression|datafile|dataname|dataorder|datastem|datatype|descr| | + | * -echo Window: $thiswin WorkSpace $wsnum |
- | |diffusiontype|diffweighting|dimgapt|dimgapx|dimgapy|dimgapz|discard|disdaqs| | + | * -echo Varb: ?curdir ?thiswin ? |
- | |displayscale|endofhdr|examid|examnum|file0index2|firstslice|firstsliceras|flipangle| | + | |
- | |flipx|flipy|flipz|fmtflag|fmtversion|fovx|fovy|freqdir| | + | |
- | |glossaryname|hdr2file|hdr2offset|hdr2size|hdr2type|headersize|highthresh|history| | + | |
- | |imageignore|inputfile|institution|investigator|ionum|lastslice|lastsliceras|lowthresh| | + | |
- | |magneticfield|maptype|maskbits|matx|maty|name|namefmt|nechos| | + | |
- | |nex|normalx|normaly|normalz|nrecs|nshots|numimgfiles|nvalues| | + | |
- | |nzeros|operator|orientation|origdimt|origdimz|origt|origx|origy| | + | |
- | |origz|outputfile|paramfile|pixtype|protocol|pulseseq|radiologist|rasflag| | + | |
- | |recoffset|recsize|relofft|reloffz|runnum|scandate|scanner|scantime| | + | |
- | |seriesnum|sex|showcolor|slicetiming|source|studyid|subtype|surfscale| | + | |
- | |taskdescr|[[jvs:fscan: | + | |
- | |tiltx|tilty|tiltz|totaltime|tr|tres|unitst|unitsx| | + | |
- | |unitsy|unitsz|unknownhdr|valuescale|vmax|vmaxneg|vmean|vmin| | + | |
- | |vminpos|vstdev|warpmap|weight|winhgt|winnum|winwid|winx| | + | |
- | |winy|xdim|xres|ydim|yres|zdim|zgap|zres| | + | |
- | **See Also:**\\ | + | The ' |
- | [[jvs: | + | |
+ | | ||
+ | | ||
+ | | ||
+ | * $age(filename) - return the age of the named file in seconds | ||
+ | * tables | ||
+ | * listitem | ||
+ | * listflag | ||
+ | |||
+ | |||
+ | |||
+ | **See Also:**\\ | ||
+ | [[jvs: | ||
[[jvs: | [[jvs: | ||
[[jvs: | [[jvs: | ||
[[jvs: | [[jvs: | ||