3 %>@brief Point-by-point multiplications of the rows of X by a sigmoid
7 %> @param X matrix with curves
as rows
8 %> @param idxcentre index where sigmoid will be 0.5
9 %> @param scale length
for sigmoid to go from 0.5 to .995 or .005
13 % 1/(1+exp(-k*scale)) = .995 ==> % k*scale = -log(.005)
16 sigvalues = (1./(1+exp(-k*((1:size(X, 2))-idxcentre))));
17 X = X.*repmat(sigvalues, size(X, 1), 1);
function sigwindowuni(in X, in idxcentre, in scale)
Applies sigmoid window to curves.
Analysis Session (AS) base class.