Adding time and energy funcitons for fast and slow pulse analysis