SERIES.MAC

ADJUSTED NUMERICAL FUNCTIONS

 

EXTRACTEND extracts to the end of series

EXTRACTX extract by x values

HALF selects first half of series

INTERPR interpolates series to delta x

KEEP keeps points for which condition is true

LOOKUPX lookup by x values

REPLACE pointwise replace operation

TAKEOUT deletes single block of points

 

AVERAGING

 

MEANW weighted average of series

MOVAVG2 adjusted moving average

MOVAVG2W weighted moving average

MOVAVGWRAP moving average of periodic series

MOVSTD moving standard deviation

MOVVAR moving variance

 

BINNING

 

BINAVG averages a group of neighboring points

BINRAVEL ravels series into rows of neighboring points

BINSUM sums group of neighboring points

CHBINVAL replaces the value of a given bin

 

CONVERT BETWEEN INDEXES AND X VALUES

 

GETX computes x value from index

GETXS computes x value from index and series

IND computes index from x value

INDS computes index from x value and series

SAMEX transfer x values between series

XLAST last x value in series

XLENGTH length of series in x units

 

EMBEDDING OF SERIES AND INTO SERIES

 

FILL inserts constant into series for N points

FILLX inserts constant into series for x units

PLACE overwrites series into constant series from indexes

PLACEX overwrites series into constant series from x units

PULL duplicates series interval based on indexes

PULLX duplicates series interval based on x values

SPLICE inserts series into constant series based on indexes

SPLICEX inserts series into constant series based on x units

SUBST substitutes constant into series for N points

SUBSTX substitutes constant into series between x values 

 

EXPONENTIAL LEAST SQUARE CURVE FITTING

 

EXPFIT fits exponential of the form y=Ae^(bx)

EXPGRAPH graphs an exponential curve fit

POWFIT fits a power curve of the form y=Ax^b

POWGRAPH graphs a power curve fit

 

GENERATE INDEXES

 

INDEXEN makes series of N point numbers

INDEXES makes series of point numbers for another series

 

GENERATE STRAIGHT LINES

 

NAVALS makes series of NAVALUE's

ONES makes series of ones

XD generates line x = y with delta x

XN generates line x = y with N points

ZEROS makes series of zeroes

 

GET Y VALUES

 

DELTAY gets delta y values

GETY gets y value for x value

GETYS gets y value for x value in series

INTERPY gets interpolated y value for x value

INTERPYS gets interpolated y value for x value in series

 

GLOBAL AND PARTIAL NUMERICAL OPERATIONS

 

PARTDIFF partial differences of series

PARTQUOT partial quotients of series

PROD product of values of series

 

LOGICAL SERIES FOR INTERVALS

 

INTERVAL logical series for interval of point numbers

INTERVALX logical series for interval of x values

 

OUTLIER REPLACEMENT

 

TWOPTAVG averages left and right points

OUTLIER linear interpolation of left and right non-outlier values

 

QUANTIZATION

 

QUANT quantizes smooth data

QUANTS  quantizes smooth data and rescales

QUANTX quantizes based on reduction of sampling rate

 

SHIFT SERIES LEFT AND RIGHT

 

MOVELEFT moves series left by N points

MOVELEFTX moves series left by X units

MOVERIGHT moves series right by N points

MOVERIGHTX moves series right by X units

WRAPLEFT wraps series left by N points

WRAPLEFTX wraps series left by X units

WRAPRIGHT wraps series right by N points

WRAPRIGHTX wraps series right by X units

 

X OFFSET ADJUSTMENT

 

INTERPLUS adds series with different delta x's

OFFPLUS adds series with different x offsets