aem.time function

AEM for time series