Coverage for C: \ Users \ peaco \ OneDrive \ Documents \ GitHub \ mt_metadata \ mt_metadata \ processing \ aurora \ __init__.py: 94%

18 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-10 00:11 -0800

1from mt_metadata.common.band import Band 

2from .channel import Channel 

3from .channel_nomenclature import ChannelNomenclature 

4from .decimation_level import DecimationLevel 

5from .estimator import Estimator 

6from .frequency_bands import FrequencyBands 

7from .processing import Processing 

8from .regression import Regression 

9from .run import Run 

10from .station import Station 

11 

12# Rebuild model to resolve forward references 

13try: 

14 from mt_metadata.features.weights import ChannelWeightSpecs 

15 

16 DecimationLevel.model_rebuild() 

17except ImportError: 

18 # If ChannelWeightSpecs is not available, just continue 

19 pass 

20from .stations import Stations 

21 

22__all__ = [ 

23 "Band", 

24 "Channel", 

25 "ChannelNomenclature", 

26 "DecimationLevel", 

27 "Estimator", 

28 "FrequencyBands", 

29 "Processing", 

30 "Regression", 

31 "Run", 

32 "Station", 

33 "Stations", 

34] 

35 

36CHANNEL_NOMENCLATURES = { 

37 "default": {"hx": "hx", "hy": "hy", "hz": "hz", "ex": "ex", "ey": "ey"}, 

38 "lemi12": {"hx": "bx", "hy": "by", "hz": "bz", "ex": "e1", "ey": "e2"}, 

39 "lemi34": {"hx": "bx", "hy": "by", "hz": "bz", "ex": "e3", "ey": "e4"}, 

40 "phoenix123": {"hx": "h1", "hy": "h2", "hz": "h3", "ex": "e1", "ey": "e2"}, 

41 "musgraves": {"hx": "bx", "hy": "by", "hz": "bz", "ex": "ex", "ey": "ey"}, 

42}