POLYSMOOTH_PRESORT is the jMap module of jLab.

 POLYSMOOTH_PRESORT  Sort arguments to POLYSMOOTH in case of missing data.
 
    POLYSMOOTH_PRESORT is a low-level function called by POLYSMOOTH. 
 
    [DS,XS,YS,TS,ZS,WS]=POLYSMOOTH_PRESORT(DS,XS,YS,TS,ZS,WS,P,TAU,STR),
    where all the input fields are in the form output by TWODSORT or 
    SPHERESORT, performs several prelimary processing steps. 
 
    First, if the temporal bandwidth TAU is nonempty, any datapoints
    outside of temporal window ABS(TS./TAU)>1 are set to NaNs.
 
    After this, the data field, ZS, is checked to see if it contains any 
    NaNs. If it does, then all fields are sorted by distance DS along 
    third dimension, thus moving any interior NaN value to the bottom.
 
    In the case that STR='pop', indicating a fixed population algorithm,
    then finally all input fields are additionally truncated to length P 
    along their third dimension.
 
    See also POLYSMOOTH.
 
    Usage: [ds,xs,ys,zs,ws]=polysmooth_presort(ds,xs,ys,zs,ws,P,tau,str);
    __________________________________________________________________
    This is part of JLAB --- type 'help jlab' for more information
    (C) 2018 J.M. Lilly --- type 'help jlab_license' for details

contents | allhelp | index