Coverage for src / tracekit / analyzers / jitter / __init__.py: 100%

5 statements  

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

1"""Jitter analysis module for advanced timing characterization. 

2 

3This module provides IEEE 2414-2020 compliant jitter analysis including 

4decomposition into random and deterministic components, bathtub curves, 

5and jitter spectrum analysis. 

6 

7 

8Example: 

9 >>> from tracekit.analyzers.jitter import extract_rj, tj_at_ber, bathtub_curve 

10 >>> rj = extract_rj(tie_data) 

11 >>> tj = tj_at_ber(rj_rms=rj.rj_rms, dj_pp=dj.dj_pp, ber=1e-12) 

12 >>> positions, ber_values = bathtub_curve(tie_data, unit_interval=1e-9) 

13 

14References: 

15 IEEE 2414-2020: Standard for Jitter and Phase Noise 

16 JEDEC JESD65C: Definition of Skew Specifications for Standard Logic Devices 

17""" 

18 

19from tracekit.analyzers.jitter.ber import ( 

20 BathtubCurveResult, 

21 bathtub_curve, 

22 ber_from_q_factor, 

23 eye_opening_at_ber, 

24 q_factor_from_ber, 

25 tj_at_ber, 

26) 

27from tracekit.analyzers.jitter.decomposition import ( 

28 DataDependentJitterResult, 

29 DeterministicJitterResult, 

30 JitterDecomposition, 

31 PeriodicJitterResult, 

32 RandomJitterResult, 

33 decompose_jitter, 

34 extract_ddj, 

35 extract_dj, 

36 extract_pj, 

37 extract_rj, 

38) 

39from tracekit.analyzers.jitter.measurements import ( 

40 CycleJitterResult, 

41 DutyCycleDistortionResult, 

42 cycle_to_cycle_jitter, 

43 measure_dcd, 

44 period_jitter, 

45 tie_from_edges, 

46) 

47from tracekit.analyzers.jitter.spectrum import ( 

48 JitterSpectrumResult, 

49 identify_periodic_components, 

50 jitter_spectrum, 

51) 

52 

53__all__ = [ 

54 # BER 

55 "BathtubCurveResult", 

56 # Measurements 

57 "CycleJitterResult", 

58 "DataDependentJitterResult", 

59 "DeterministicJitterResult", 

60 "DutyCycleDistortionResult", 

61 # Decomposition 

62 "JitterDecomposition", 

63 # Spectrum 

64 "JitterSpectrumResult", 

65 "PeriodicJitterResult", 

66 "RandomJitterResult", 

67 "bathtub_curve", 

68 "ber_from_q_factor", 

69 "cycle_to_cycle_jitter", 

70 "decompose_jitter", 

71 "extract_ddj", 

72 "extract_dj", 

73 "extract_pj", 

74 "extract_rj", 

75 "eye_opening_at_ber", 

76 "identify_periodic_components", 

77 "jitter_spectrum", 

78 "measure_dcd", 

79 "period_jitter", 

80 "q_factor_from_ber", 

81 "tie_from_edges", 

82 "tj_at_ber", 

83]