Coverage for src / tracekit / math / __init__.py: 100%

3 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 23:04 +0000

1"""Math and arithmetic operations module for TraceKit. 

2 

3This module provides waveform math operations including arithmetic, 

4interpolation, and mathematical transformations. 

5""" 

6 

7from tracekit.math.arithmetic import ( 

8 absolute, 

9 add, 

10 differentiate, 

11 divide, 

12 integrate, 

13 invert, 

14 math_expression, 

15 multiply, 

16 offset, 

17 scale, 

18 subtract, 

19) 

20from tracekit.math.interpolation import ( 

21 align_traces, 

22 downsample, 

23 interpolate, 

24 resample, 

25) 

26 

27__all__ = [ 

28 "absolute", 

29 # Arithmetic operations 

30 "add", 

31 "align_traces", 

32 "differentiate", 

33 "divide", 

34 "downsample", 

35 "integrate", 

36 # Interpolation 

37 "interpolate", 

38 "invert", 

39 "math_expression", 

40 "multiply", 

41 "offset", 

42 "resample", 

43 "scale", 

44 "subtract", 

45]