There are many variables used by the vsnmr program. A typical list was analyzed after running a cosytp experiment. The result, presented below, is not likely to ever be complete in the sense that these variables are used by so many functions and scripts that it would not make sense to trace this use exhaustively in all cases. Rather, this table should be considered a statement of the "obvious", and used as a guide for understanding and revising the code.
notes: cl=could be cleared/hidden. G=global. st=structure. ce=cell. ch=char.
Variable Purpose Declared in Modified in notes
CTPflag track ctp vs salami simulation during evolution vs_mainsim vs_mainsim cl
Dip Dipolar coupling vs_spsetup vs_spsetup for future use
FIG handle to main window vs_gui
FIGPMS handle to program parameters window vs_gui
FIGSPS handle to spin setup window vs_gui
Jsc Scalar coupling vs_gui vs_spsetup
Jx x component of scalar coupling vs_gui vs_spsetup
Jy y component of scalar coupling vs_gui vs_spsetup
Jz z component of scalar coupling vs_gui vs_spsetup
Kex Chemical exchange rate vs_gui vs_spsetup
Lmin Minimal sample length for simulation vs_expsetup vs_salami
NL Number of layers for 'salami' simulation vs_expsetup
PHCspe Phase-corrected spectrum vs_edp vs_phasecorrect
a param.repres.Figure position ?sloppy code? many: vs_expsetup,vs_gui,vs_spsetup cl?
ans ?sloppy code or just previous answer? ?
aq total acquisition time (=dw*td2) used in vs_spectr vs_init,vs_params
aq_ ?temporary variable?
bf1 channel(1-4) for f1 dimension vs_gui vs_expsetup
bf2 channel(1-4) for f2 dimension vs_gui vs_expsetup
chansign ?obsolete? vs_edp vs_edp G
chemshift list of chemical shift(ppm) for each nucleus vs_gui vs_spsetup
conc list of the relative concentration of each nucleus vs_gui vs_spsetup for future use
crss cross relaxation rate vs_gui vs_spsetup
d0 incrementation delay vs_init vs_params
d0_ temporary variable vs_init vs_params
d1 a delay vs_init vs_params
d1_ temporary variable vs_init vs_params
data temporary buffer for 1 row of acquisition data vs_mainsim vs_mainsim cl
defpulsewdth pulse width for each channel vs_expsetup vs_expsetup
dirname list of neighboring directories vs_gui vs_gui ce
done set(gcbf,'pointer','arrow'); vs_gui - ch,cl
dw ?
dw_ temporary variable
dx ?
ex experimental parameters vs_gui vs_expsetup G,st
fp0 index to acquired data vs_mainsim vs_mainsim cl
freq spectrometer frequency vs_gui vs_expsetup
gC13 (gamma_C13)/(gamma_H1) vs_gui - cl-should be static
gH1 (gamma_H1)/(gamma_H1) vs_gui - cl-should be static
gN15 (gamma_N15)/(gamma_H1) vs_gui - cl-should be static
gyro gyro = freq*[gH1 gN15 gC13]; vs_gui vs_expsetup ?cl?
in0 incrementation time vs_init
kflag indicates operators which have evolved during CTP calculation vs_spsetup G,?obsolete?
label label for graphs, ?projections? many cl
loop0 looping counter vs_mainsim vs_mainsim cl
loop0_ vs_mainsim vs_mainsim cl
msim_err error flag for simulation vs_gui vs_mainsim
msim_paramsok flag indicates all program parameters have been entered vs_mainsim vs_guihandles
nd0 number of experiments before increment ?vs_initnan,vs_init vs_params,vs_guihandles
newSnum flag to indicate number of spins has changed vs_gui vs_inits4ctp
nops number of basis operators for ctp calculation vs_followpath vs_followpath
ns number of scans vs_expsetup vs_expsetup
ns_ temporary variable
one ? index? vs_spsetup - cl
p0 pulse 0 duration vs_init vs_params, vs_guihandles
p1 pulse 1 duration vs_init vs_params
p3 pulse 3 duration vs_init vs_params
p_nhandle vs_guihandles vs_mainsim
ph1 list of phases vs_mainsim - cl
ph1_ temporary variable
ph2 list of phases vs_mainsim - cl
ph2_ temporary variable
ph31 list of phases vs_mainsim - cl
ph31_ temporary variable
pj all projections-related info vs_mainsim G,st
pl1 power level 1 vs_init vs_params, vs_guihandles
pl2 power level 2 vs_init vs_params, vs_guihandles
pop_simflag ? vs_gui vs_gui G,st
pr struct of processing parameters vs_gui ?
pwy G,st
r1
r2
s st
ser0 acquired (experimental) data
sourcedir directory where xlator is located ch
sparams st
spe calculated spectrum
spf2 interferogram: FT in t2 only
spsetup_ok flag indicating that sp_setup has been initialized
startdir starting directory: where the output from xlator is written ch
sw1 spectral width (in Hz) in t1 dimension
sw2 spectral width (in Hz) in t1
swp1 spectral width (in ppm) in t1
swp2 spectral width (in ppm) in t1
td1 number of increments (size of time-domain) in t1
td2 number of increments (size of time-domain) in t2
tph G,st
two
w1
w2
wait set(gcbf,'pointer','watch'); vs_gui - ch,cl