-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.m
24 lines (24 loc) · 1.28 KB
/
README.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
% README gives instructions on preparing data to run WDM.
%
% Wave staff data must be in an array called "data(nsamples,nstaffs)"
% nsamples may be any length > 4095.
% nstaffs = np, must be 3 or larger.
% The data array is called from a file named "s870nn", where nn is the run number,
% which is set in the overall loop of the main program: WDM.m.
% Change the file names in WDM to suit yourself.
%
% The array (of wave staffs) polar coordinates (R,A) must be set in WDM and
% the maximum wavenumber set at the top of WAVENUMS.m. Usually this is set
% to the Nyquist wavenumber; i.e. 2*pi/(2*diameter of the array of staffs).
% If you want logarithmic spacing of wavenumbers, run WAVELOGNUMS instead
% of WAVENUMS and set low and high wavenumbers and number of bins in lines
% 9 & 10 of WAVELOGNUMS.
%
% Open 2 folders "fspect" and "kspect" to accept the spectra from
% "WAVEPLOTS" and ("WAVENUMS" or "WAVELOGNUMS") respectively. They are called from WDM.m
% run by run.
%
% Finally set the frequency limits in WDM: lf and hf and the sampling frequency of the
% data, ns. Usually you want to set ns to twice the frequency corresponding
% to the Nyquist wavenumber or a little higher. You can also select the
% number of voices, nv, into which each octave is broken. Usually nv = 4.