energy¶ vallenae.features.energy(data, samplerate)[source]¶ Compute the energy of a hit. Energy is the integral of the squared AE-signal over time (EN 1330-9). The unit of energy is eu. 1 eu corresponds to 1e-14 V²s. Parameters: data (ndarray) – Input array (hit) samplerate (int) – Sample rate of input array in Hz Return type: float Returns: Energy of input array (hit)