User Tools

Site Tools


jvs:fscan:manual:chapter4

This is an old revision of the document!


fScan Reference Manual, Chapter 4 (Variables): Contents

fScan internal variables

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. Other variables are workspace or data set specific – their values will change depending on which window is currently active.

Accessing data variables

In general, data variable values can be accessed by specifying the name of the variable, preceded by the'$' character. For example:

  1. echo Window: $thiswin WorkSpace $wsnum ; display name of current active window
thiswin The name of the current window
prevwin The name of the previous window
thispdigm The name of the current pdigm file
thisevents The name of the current events
subjectname The name of the current subject
subjectdir The name of the current subject directory
curdir The current working directory
thiswinprevwinthispdigmthiseventslistitemlistflagwspacewspacedir
lastrefimagereftaskbarcolorthismaplastmapsamplesubjectnamesubjectdir
fscandircurdirportquerystatusplotwinimagewinalignrefexists
filepathrelpathcomputerhostnameuser
acquiretagebyteordercenterxcenterycenterzcolormapcolortype
commentcompressiondatafiledatanamedataorderdatastemdatatypedescr
diffusiontypediffweightingdimgaptdimgapxdimgapydimgapzdiscarddisdaqs
displayscaleendofhdrexamidexamnumfile0index2firstslicefirstslicerasflipangle
flipxflipyflipzfmtflagfmtversionfovxfovyfreqdir
glossarynamehdr2filehdr2offsethdr2sizehdr2typeheadersizehighthreshhistory
imageignoreinputfileinstitutioninvestigatorionumlastslicelastsliceraslowthresh
magneticfieldmaptypemaskbitsmatxmatynamenamefmtnechos
nexnormalxnormalynormalznrecsnshotsnumimgfilesnvalues
nzerosoperatororientationorigdimtorigdimzorigtorigxorigy
origzoutputfileparamfilepixtypeprotocolpulseseqradiologistrasflag
recoffsetrecsizerelofftreloffzrunnumscandatescannerscantime
seriesnumsexshowcolorslicetimingsourcestudyidsubtypesurfscale
taskdescrtasknametasktimingtdimtetgapthreshflagti
tiltxtiltytiltztotaltimetrtresunitstunitsx
unitsyunitszunknownhdrvaluescalevmaxvmaxnegvmeanvmin
vminposvstdevwarpmapweightwinhgtwinnumwinwidwinx
winyxdimxresydimyreszdimzgapzres

See Also:
Set command

fScan Home, fScan Manual, Manual Help

jvs/fscan/manual/chapter4.1319905212.txt.gz · Last modified: 2014/08/04 16:03 (external edit)