DATA_SEGMOD Name
DATA_SEGMOD Purpose
Segment data that has values modulo a constant (like angles).
Category
Calling Sequence
data_segmod, x, lo, hi Inputs
x = data to segment based on breakpoints. in
Keyword Parameters
Keywords
MAX=mx Modulo constant (def=360).
COUNT=c Returned number of segments between breakpoints.
Outputs
lo = array of segment start indices. out
hi = array of segment end indices. out
Common Blocks
Notes
Note: data with values that wrap, like angles, can be
segmented into subsections having no breaks. A break
a step between sample values that is more than 1/2 the
modulo constant. The i'th segment would be:
xi = x(lo(i):hi(i)) (for i=0,c-1).
Modification History
R. Sterner, 2003 Sep 05
R. Sterner, 2010 May 04 --- Converted arrays from () to [].
Copyright (C) 2003, Johns Hopkins University/Applied Physics Laboratory
This software may be used, copied, or redistributed as long as it is not
sold and this copyright notice is reproduced on each copy made. This
routine is provided as is without any express or implied warranties
whatsoever. Other limitations apply as described in the file disclaimer.txt.