Utils

DataFrames.groupbyMethod
groupby(f, list::Array)

returns a dictionary that group list elements by value of function f

source
EvoId.arithsmoothMethod
arithsmooth(x,y,smooth)

Returning a tuple

Arguments

-x is the shifted x-axis vector, due to smoothing -y is the smoothed value

source
EvoId.arithsmooth2DMethod
arithsmooth2D(xa,ya,itp,smooth)

Returns xas, yas, A where A is an interpolated matrix with arithmetic smooth, whose axis are xas, yas

Arguments

xa xaxis values, ya yaxis values, itp interpolation function, smooth smoothing function

source
EvoId.gaussianMethod
gaussian(x::Number,mu::Number,sigma::Number) = generalised_gaussian(x,mu,sigma,2)
source
EvoId.generalised_gaussianMethod
    generalised_gaussian(x::Number,mu::Number,sigma::Number,epsilon::Number)

Returns exp( -.5 * ((x-mu) / sigma)^epsilon)

source
EvoId.geomsmoothMethod
geomsmooth(x,y,smooth)

Returning a tuple

Arguments

-x is the shifted x-axis vector, due to smoothing -y is the smoothed value

source
EvoId.geomsmoothMethod
geomsmooth(x,smooth)

Geometric smoothing, cf https://en.wikipedia.org/wiki/Exponential_smoothing

source
EvoId.geomsmooth2DMethod
geomsmooth2D(xa,ya,itp,smooth)

Returns xas, yas, A where A is an interpolated matrix with geometric smooth, whose axis are xas, yas.

Arguments

xa xaxis values, ya yaxis values, itp interpolation function, smooth smoothing function

source
EvoId.interpolate_dfMethod
interpolate_df(df,xlab,ylab,zlab)

returns an interpolated function itp(x,y) -> z, as well as its axis xa and ya

source
EvoId.maMethod
ma(x::Array{T},f) where T <: Number

Moving average over array x, using f as the filter, i.e. the number of points to average on. Better choosing an odd number

source