Home > m > sigproc > frequency_domain > ltpda_linedetect.m

ltpda_linedetect

PURPOSE ^

LTPDA_LINEDETECT find spectral lines in the ao/fsdata objects.

SYNOPSIS ^

function varargout = ltpda_linedetect(varargin)

DESCRIPTION ^

 LTPDA_LINEDETECT find spectral lines in the ao/fsdata objects.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: LTPDA_LINEDETECT find spectral lines in the ao/fsdata objects.

 CALL:        b = ltpda_linedetect(a, pl)

 PARAMETERS:  N        - max number of lines to return  [default: 10]
              fsearch  - freqeuncy search interval  [default: all]
              thresh   - a threshold to test normalised amplitude spectrum against
                         [default: 2]
              bw       - bandwidth over which to compute median [default: 20 samples]
              hc       - percent of outliers to exclude from median estimation (0-1)
                         [default: 0.8]

 VERSION:    $Id: ltpda_linedetect.m,v 1.10 2008/08/10 20:16:49 hewitson Exp $

 HISTORY:    14-05-2007 M Hewitson
                Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % LTPDA_LINEDETECT find spectral lines in the ao/fsdata objects.
0002 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0003 %
0004 % DESCRIPTION: LTPDA_LINEDETECT find spectral lines in the ao/fsdata objects.
0005 %
0006 % CALL:        b = ltpda_linedetect(a, pl)
0007 %
0008 % PARAMETERS:  N        - max number of lines to return  [default: 10]
0009 %              fsearch  - freqeuncy search interval  [default: all]
0010 %              thresh   - a threshold to test normalised amplitude spectrum against
0011 %                         [default: 2]
0012 %              bw       - bandwidth over which to compute median [default: 20 samples]
0013 %              hc       - percent of outliers to exclude from median estimation (0-1)
0014 %                         [default: 0.8]
0015 %
0016 % VERSION:    $Id: ltpda_linedetect.m,v 1.10 2008/08/10 20:16:49 hewitson Exp $
0017 %
0018 % HISTORY:    14-05-2007 M Hewitson
0019 %                Creation
0020 %
0021 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0022 
0023 function varargout = ltpda_linedetect(varargin)
0024 
0025 warning('!!! This function is deprecated and will be removed from future versions of LTPDA. Use ao/linedetect now.');
0026 
0027 % Call ao/cohere
0028 bs =  linedetect(varargin{:});
0029 
0030 % set output
0031 varargout{1} = bs;
0032 
0033 
0034 end

Generated on Mon 08-Sep-2008 13:18:47 by m2html © 2003