There is no effect of period on ema, it always returns output with same length as of input and begin index is always zero