Method ao/spsd


  SPSD implements the smoothed (binned) PSD algorithm for analysis objects.
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: SPSD implements the smoothed PSD algorithm for analysis objects.
 
  CALL:        bs = spsd(a1,a2,a3,...,pl)
               bs = spsd(as,pl)
               bs = as.spsd(pl)
 
  INPUTS:      aN   - input analysis objects
               as   - input analysis objects array
               pl   - input parameter list
 
  OUTPUTS:     bs   - array of analysis objects, one for each input
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class ao
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
spsd
WIN 'BH92'
  • 'Rectangular'
  • 'Welch'
  • 'Bartlett'
  • 'Hanning'
  • 'Hamming'
  • 'Nuttall3'
  • 'Nuttall4'
  • 'Nuttall3a'
  • 'Nuttall3b'
  • 'Nuttall4a'
  • 'Nuttall4b'
  • 'Nuttall4c'
  • 'BH92'
  • 'SFT3F'
  • 'SFT3M'
  • 'FTNI'
  • 'SFT4F'
  • 'SFT5F'
  • 'SFT4M'
  • 'FTHP'
  • 'HFT70'
  • 'FTSRS'
  • 'SFT5M'
  • 'HFT90D'
  • 'HFT95'
  • 'HFT116D'
  • 'HFT144D'
  • 'HFT169D'
  • 'HFT196D'
  • 'HFT223D'
  • 'HFT248D'
  • 'Kaiser'
  • 'levelledHanning'
the window to be applied to the data to remove the discontinuities at edges of segments. [default: taken from user prefs]
Only the design parameters of the window object are used. Enter either:
  • a specwin window object OR
  • a string value containing the window name
e.g., plist('Win', 'Kaiser', 'psll', 200)
PSLL 200 none the peak sidelobe level for Kaiser windows.
Note: it is ignored for all other windows
LEVELORDER 2 none the contracting order for levelledHanning window
ORDER 0
  • -1
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
order of segment detrending:
  • -1 - no detrending
  • 0 - subtract mean
  • 1 - subtract linear fit
  • N - subtract fit of polynomial, order N
TIMES [] none time range. If not empty, sets the restricted interval to analyze
SCALE 'PSD'
  • 'PSD'
  • 'ASD'
  • 'PS'
  • 'AS'
scaling of output. Choose from:
  • PSD - Power Spectral Density
  • ASD - Amplitude (linear) Spectral Density
LINCOEF 1 none Linear scale smoothing coefficent (freq. bins)
LOGCOEF 0.66666666666666663 none Logarithmic scale smoothing coefficent
Best compromise for both axes is 2/3

Example

plist('WIN', 'BH92', 'PSLL', [200], 'LEVELORDER', [2], 'ORDER', [0], 'TIMES', [[]], 'SCALE', 'PSD', 'LINCOEF', [1], 'LOGCOEF', [0.66666666666666663])

back to top back to top

Some information of the method ao/spsd are listed below:
Class name ao
Method name spsd
Category Signal Processing
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team