mt-metadata 0.3.8__py2.py3-none-any.whl → 0.4.0__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mt-metadata might be problematic. Click here for more details.
- mt_metadata/__init__.py +1 -1
- mt_metadata/base/helpers.py +84 -9
- mt_metadata/base/metadata.py +137 -65
- mt_metadata/data/transfer_functions/test.edi +28 -28
- mt_metadata/features/__init__.py +14 -0
- mt_metadata/features/coherence.py +303 -0
- mt_metadata/features/cross_powers.py +29 -0
- mt_metadata/features/fc_coherence.py +81 -0
- mt_metadata/features/feature.py +72 -0
- mt_metadata/features/feature_decimation_channel.py +26 -0
- mt_metadata/features/feature_fc.py +24 -0
- mt_metadata/{transfer_functions/processing/aurora/decimation.py → features/feature_fc_run.py} +9 -4
- mt_metadata/features/feature_ts.py +24 -0
- mt_metadata/{transfer_functions/processing/aurora/window.py → features/feature_ts_run.py} +11 -18
- mt_metadata/features/standards/__init__.py +6 -0
- mt_metadata/features/standards/base_feature.json +46 -0
- mt_metadata/features/standards/coherence.json +57 -0
- mt_metadata/features/standards/fc_coherence.json +57 -0
- mt_metadata/features/standards/feature_decimation_channel.json +68 -0
- mt_metadata/features/standards/feature_fc_run.json +35 -0
- mt_metadata/features/standards/feature_ts_run.json +35 -0
- mt_metadata/features/standards/feature_weighting_window.json +46 -0
- mt_metadata/features/standards/weight_kernel.json +46 -0
- mt_metadata/features/standards/weights.json +101 -0
- mt_metadata/features/test_helpers/channel_weight_specs_example.json +156 -0
- mt_metadata/features/weights/__init__.py +0 -0
- mt_metadata/features/weights/base.py +44 -0
- mt_metadata/features/weights/channel_weight_spec.py +209 -0
- mt_metadata/features/weights/feature_weight_spec.py +194 -0
- mt_metadata/features/weights/monotonic_weight_kernel.py +275 -0
- mt_metadata/features/weights/standards/__init__.py +6 -0
- mt_metadata/features/weights/standards/activation_monotonic_weight_kernel.json +38 -0
- mt_metadata/features/weights/standards/base.json +36 -0
- mt_metadata/features/weights/standards/channel_weight_spec.json +35 -0
- mt_metadata/features/weights/standards/composite.json +36 -0
- mt_metadata/features/weights/standards/feature_weight_spec.json +13 -0
- mt_metadata/features/weights/standards/monotonic_weight_kernel.json +49 -0
- mt_metadata/features/weights/standards/taper_monotonic_weight_kernel.json +16 -0
- mt_metadata/features/weights/taper_weight_kernel.py +60 -0
- mt_metadata/helper_functions.py +69 -0
- mt_metadata/timeseries/filters/channel_response.py +77 -37
- mt_metadata/timeseries/filters/coefficient_filter.py +6 -5
- mt_metadata/timeseries/filters/filter_base.py +11 -15
- mt_metadata/timeseries/filters/fir_filter.py +8 -1
- mt_metadata/timeseries/filters/frequency_response_table_filter.py +26 -11
- mt_metadata/timeseries/filters/helper_functions.py +0 -2
- mt_metadata/timeseries/filters/obspy_stages.py +4 -1
- mt_metadata/timeseries/filters/pole_zero_filter.py +9 -5
- mt_metadata/timeseries/filters/time_delay_filter.py +8 -1
- mt_metadata/timeseries/location.py +20 -5
- mt_metadata/timeseries/person.py +14 -7
- mt_metadata/timeseries/standards/person.json +1 -1
- mt_metadata/timeseries/standards/run.json +2 -2
- mt_metadata/timeseries/station.py +4 -2
- mt_metadata/timeseries/stationxml/__init__.py +5 -0
- mt_metadata/timeseries/stationxml/xml_channel_mt_channel.py +38 -27
- mt_metadata/timeseries/stationxml/xml_inventory_mt_experiment.py +16 -47
- mt_metadata/timeseries/stationxml/xml_station_mt_station.py +25 -24
- mt_metadata/transfer_functions/__init__.py +3 -0
- mt_metadata/transfer_functions/core.py +16 -11
- mt_metadata/transfer_functions/io/emtfxml/metadata/location.py +5 -0
- mt_metadata/transfer_functions/io/emtfxml/metadata/provenance.py +14 -3
- mt_metadata/transfer_functions/io/tools.py +2 -0
- mt_metadata/transfer_functions/io/zonge/metadata/header.py +1 -1
- mt_metadata/transfer_functions/io/zonge/metadata/standards/header.json +1 -1
- mt_metadata/transfer_functions/io/zonge/metadata/standards/job.json +2 -2
- mt_metadata/transfer_functions/io/zonge/zonge.py +19 -23
- mt_metadata/transfer_functions/processing/__init__.py +2 -1
- mt_metadata/transfer_functions/processing/aurora/__init__.py +2 -4
- mt_metadata/transfer_functions/processing/aurora/band.py +46 -125
- mt_metadata/transfer_functions/processing/aurora/channel_nomenclature.py +27 -20
- mt_metadata/transfer_functions/processing/aurora/decimation_level.py +324 -152
- mt_metadata/transfer_functions/processing/aurora/frequency_bands.py +230 -0
- mt_metadata/transfer_functions/processing/aurora/processing.py +3 -3
- mt_metadata/transfer_functions/processing/aurora/run.py +32 -7
- mt_metadata/transfer_functions/processing/aurora/standards/decimation_level.json +7 -73
- mt_metadata/transfer_functions/processing/aurora/stations.py +33 -4
- mt_metadata/transfer_functions/processing/fourier_coefficients/decimation.py +176 -177
- mt_metadata/transfer_functions/processing/fourier_coefficients/fc.py +11 -9
- mt_metadata/transfer_functions/processing/fourier_coefficients/standards/decimation.json +1 -111
- mt_metadata/transfer_functions/processing/short_time_fourier_transform.py +64 -0
- mt_metadata/transfer_functions/processing/standards/__init__.py +6 -0
- mt_metadata/transfer_functions/processing/standards/short_time_fourier_transform.json +94 -0
- mt_metadata/transfer_functions/processing/{aurora/standards/decimation.json → standards/time_series_decimation.json} +17 -6
- mt_metadata/transfer_functions/processing/{aurora/standards → standards}/window.json +13 -2
- mt_metadata/transfer_functions/processing/time_series_decimation.py +50 -0
- mt_metadata/transfer_functions/processing/window.py +118 -0
- mt_metadata/transfer_functions/tf/standards/transfer_function.json +1 -1
- mt_metadata/transfer_functions/tf/station.py +17 -1
- mt_metadata/utils/mttime.py +22 -3
- mt_metadata/utils/validators.py +4 -2
- {mt_metadata-0.3.8.dist-info → mt_metadata-0.4.0.dist-info}/METADATA +39 -15
- {mt_metadata-0.3.8.dist-info → mt_metadata-0.4.0.dist-info}/RECORD +97 -57
- {mt_metadata-0.3.8.dist-info → mt_metadata-0.4.0.dist-info}/WHEEL +1 -1
- {mt_metadata-0.3.8.dist-info → mt_metadata-0.4.0.dist-info}/AUTHORS.rst +0 -0
- {mt_metadata-0.3.8.dist-info → mt_metadata-0.4.0.dist-info}/LICENSE +0 -0
- {mt_metadata-0.3.8.dist-info → mt_metadata-0.4.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "free form",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "Name of the feature.",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "simple coherence",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"description": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "free form",
|
|
17
|
+
"units": null,
|
|
18
|
+
"description": "A full description of what the feature estimates.",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "Simple coherence measures the coherence between measured electric and magnetic fields.",
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
"domain": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true,
|
|
27
|
+
"style": "controlled vocabulary",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "Temporal domain the feature is estimated in [ 'frequency' | 'time' ]",
|
|
30
|
+
"options": ["time", "frequency", "fc", "ts", "fourier"],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "frequency",
|
|
33
|
+
"default": "frequency"
|
|
34
|
+
},
|
|
35
|
+
"comments": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"required": false,
|
|
38
|
+
"style": "free form",
|
|
39
|
+
"units": null,
|
|
40
|
+
"description": "Any comments about the feature",
|
|
41
|
+
"options": [],
|
|
42
|
+
"alias": [],
|
|
43
|
+
"example": "estimated using hilburt transform.",
|
|
44
|
+
"default": null
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ch1": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "free form",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "The first channel of two channels in the coherence calculation.",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "ex",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"ch2": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "free form",
|
|
17
|
+
"units": null,
|
|
18
|
+
"description": "The second channel of two channels in the coherence calculation.",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "hy",
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
"detrend": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true,
|
|
27
|
+
"style": "controlled vocabulary",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "How to detrend the data segments before fft.",
|
|
30
|
+
"options": ["linear", "constant"],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "constant",
|
|
33
|
+
"default": "linear"
|
|
34
|
+
},
|
|
35
|
+
"station1": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"required": true,
|
|
38
|
+
"style": "free form",
|
|
39
|
+
"units": null,
|
|
40
|
+
"description": "The station associated with the first channel in the coherence calculation.",
|
|
41
|
+
"options": [],
|
|
42
|
+
"alias": [],
|
|
43
|
+
"example": "PKD",
|
|
44
|
+
"default": ""
|
|
45
|
+
},
|
|
46
|
+
"station2": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"required": true,
|
|
49
|
+
"style": "free form",
|
|
50
|
+
"units": null,
|
|
51
|
+
"description": "The station associated with the second channel in the coherence calculation.",
|
|
52
|
+
"options": [],
|
|
53
|
+
"alias": [],
|
|
54
|
+
"example": "SAO",
|
|
55
|
+
"default": ""
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"channel_1": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "free form",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "The first channel of two channels in the coherence calculation.",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "ex",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"channel_2": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "free form",
|
|
17
|
+
"units": null,
|
|
18
|
+
"description": "The second channel of two channels in the coherence calculation.",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "hy",
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
"minimum_fcs": {
|
|
25
|
+
"type": "integer",
|
|
26
|
+
"required": true,
|
|
27
|
+
"style": "number",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "The minimum number of Fourier coefficients needed to compute the feature.",
|
|
30
|
+
"options": [],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "2",
|
|
33
|
+
"default": "3"
|
|
34
|
+
},
|
|
35
|
+
"band_definition_type": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"required": true,
|
|
38
|
+
"style": "controlled vocabulary",
|
|
39
|
+
"units": null,
|
|
40
|
+
"description": "How the feature frequency bands are defined.",
|
|
41
|
+
"options": ["Q", "fractional bandwidth", "user defined"],
|
|
42
|
+
"alias": [],
|
|
43
|
+
"example": "user defined",
|
|
44
|
+
"default": "Q"
|
|
45
|
+
},
|
|
46
|
+
"q_radius": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"required": true,
|
|
49
|
+
"style": "controlled vocabulary",
|
|
50
|
+
"units": null,
|
|
51
|
+
"description": "How the feature frequency bands are defined.",
|
|
52
|
+
"options": ["constant Q", "user defined"],
|
|
53
|
+
"alias": [],
|
|
54
|
+
"example": "user defined",
|
|
55
|
+
"default": "constant Q"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "free form",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "Name of channel",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "ex",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"frequency_max": {
|
|
14
|
+
"type": "float",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "number",
|
|
17
|
+
"units": "samples per second",
|
|
18
|
+
"description": "Highest frequency present in the sprectrogam data.",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": 77.0,
|
|
22
|
+
"default": 0.0
|
|
23
|
+
},
|
|
24
|
+
"frequency_min": {
|
|
25
|
+
"type": "float",
|
|
26
|
+
"required": true,
|
|
27
|
+
"style": "number",
|
|
28
|
+
"units": "samples per second",
|
|
29
|
+
"description": "Lowest frequency present in the sprectrogam data.",
|
|
30
|
+
"options": [],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": 99.0,
|
|
33
|
+
"default": 0.0
|
|
34
|
+
},
|
|
35
|
+
"sample_rate_decimation_level": {
|
|
36
|
+
"type": "float",
|
|
37
|
+
"required": true,
|
|
38
|
+
"style": "number",
|
|
39
|
+
"units": "samples per second",
|
|
40
|
+
"description": "Sample rate of the time series that was Fourier transformed to generate the FC decimation level.",
|
|
41
|
+
"options": [],
|
|
42
|
+
"alias": [],
|
|
43
|
+
"example": 60,
|
|
44
|
+
"default": 1
|
|
45
|
+
},
|
|
46
|
+
"sample_rate_window_step": {
|
|
47
|
+
"type": "float",
|
|
48
|
+
"required": true,
|
|
49
|
+
"style": "number",
|
|
50
|
+
"units": "samples per second",
|
|
51
|
+
"description": "Sample rate of the windows.",
|
|
52
|
+
"options": [],
|
|
53
|
+
"alias": [],
|
|
54
|
+
"example": 4,
|
|
55
|
+
"default": 1
|
|
56
|
+
},
|
|
57
|
+
"units": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"required": true,
|
|
60
|
+
"style": "free form",
|
|
61
|
+
"units": null,
|
|
62
|
+
"description": "Units of the channel",
|
|
63
|
+
"options": [],
|
|
64
|
+
"alias": [],
|
|
65
|
+
"example": "millivolts",
|
|
66
|
+
"default": "counts"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "alpha numeric",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "Suggested Run ID should be sample rate followed by a number or character. Characters should only be used if the run number is small, if the run number is high consider using digits with zeros. For example if you have 100 runs the run ID could be 001 or sr{sample_rate}_001. Should be the same as the time series run ID.",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "001",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"sample_rate": {
|
|
14
|
+
"type": "float",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "number",
|
|
17
|
+
"units": "samples per second",
|
|
18
|
+
"description": "Digital sample rate for the run",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "100",
|
|
22
|
+
"default": 0.0
|
|
23
|
+
},
|
|
24
|
+
"comments": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"style": "free form",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "Any comments about the feature",
|
|
30
|
+
"options": [],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "estimated using hilburt transform.",
|
|
33
|
+
"default": null
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "alpha numeric",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "Suggested Run ID should be sample rate followed by a number or character. Characters should only be used if the run number is small, if the run number is high consider using digits with zeros. For example if you have 100 runs the run ID could be 001 or sr{sample_rate}_001. Should be the same as the time series run ID.",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "001",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"sample_rate": {
|
|
14
|
+
"type": "float",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "number",
|
|
17
|
+
"units": "samples per second",
|
|
18
|
+
"description": "Digital sample rate for the run",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "100",
|
|
22
|
+
"default": 0.0
|
|
23
|
+
},
|
|
24
|
+
"comments": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": false,
|
|
27
|
+
"style": "free form",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "Any comments about the feature",
|
|
30
|
+
"options": [],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "estimated using hilburt transform.",
|
|
33
|
+
"default": null
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"threshold": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "controlled vocabulary",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "Specify which side of a threshold should downweighted.",
|
|
8
|
+
"options": ["low cut", "high cut"],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "low cut",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"half_window_style": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "controlled vocabulary",
|
|
17
|
+
"units": null,
|
|
18
|
+
"description": "What taper to use between the 0 (rejected) and 1 (accepted) values.",
|
|
19
|
+
"options": ["hamming", "hann", "rectangle"],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "hann",
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
"transition_lower_bound": {
|
|
25
|
+
"type": "float",
|
|
26
|
+
"required": true,
|
|
27
|
+
"style": "number",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "a refernece point for where the function begins to change from 0 to 1 or from 1 to zero",
|
|
30
|
+
"options": [],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "0.3",
|
|
33
|
+
"default": "-inf"
|
|
34
|
+
},
|
|
35
|
+
"transition_upper_bound": {
|
|
36
|
+
"type": "float",
|
|
37
|
+
"required": true,
|
|
38
|
+
"style": "number",
|
|
39
|
+
"units": null,
|
|
40
|
+
"description": "a refernece point for where the function finishes changing from 0 to 1 or from 1 to zero",
|
|
41
|
+
"options": [],
|
|
42
|
+
"alias": [],
|
|
43
|
+
"example": "0.999",
|
|
44
|
+
"default": "+inf"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"threshold": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "controlled vocabulary",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "Specify which side of a threshold should downweighted.",
|
|
8
|
+
"options": ["low cut", "high cut"],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "low cut",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"half_window_style": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "controlled vocabulary",
|
|
17
|
+
"units": null,
|
|
18
|
+
"description": "What taper to use between the 0 (rejected) and 1 (accepted) values.",
|
|
19
|
+
"options": ["hamming", "hann", "rectangle"],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "hann",
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
"transition_lower_bound": {
|
|
25
|
+
"type": "float",
|
|
26
|
+
"required": true,
|
|
27
|
+
"style": "number",
|
|
28
|
+
"units": null,
|
|
29
|
+
"description": "a refernece point for where the function begins to change from 0 to 1 or from 1 to zero",
|
|
30
|
+
"options": [],
|
|
31
|
+
"alias": [],
|
|
32
|
+
"example": "0.3",
|
|
33
|
+
"default": "-inf"
|
|
34
|
+
},
|
|
35
|
+
"transition_upper_bound": {
|
|
36
|
+
"type": "float",
|
|
37
|
+
"required": true,
|
|
38
|
+
"style": "number",
|
|
39
|
+
"units": null,
|
|
40
|
+
"description": "a refernece point for where the function finishes changing from 0 to 1 or from 1 to zero",
|
|
41
|
+
"options": [],
|
|
42
|
+
"alias": [],
|
|
43
|
+
"example": "0.999",
|
|
44
|
+
"default": "+inf"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"output_channel": {
|
|
3
|
+
"type": "string",
|
|
4
|
+
"required": true,
|
|
5
|
+
"style": "free form",
|
|
6
|
+
"units": null,
|
|
7
|
+
"description": "The output hannel if the transfer function equation being solved, usually ex, ey, hz.",
|
|
8
|
+
"options": [],
|
|
9
|
+
"alias": [],
|
|
10
|
+
"example": "ex",
|
|
11
|
+
"default": null
|
|
12
|
+
},
|
|
13
|
+
"combination_style": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"required": true,
|
|
16
|
+
"style": "controlled vocabulary",
|
|
17
|
+
"units": null,
|
|
18
|
+
"description": "A keyword describing how the various features will be combined to generate data weightings.",
|
|
19
|
+
"options": [],
|
|
20
|
+
"alias": [],
|
|
21
|
+
"example": "multiplication",
|
|
22
|
+
"default": "multiplication"
|
|
23
|
+
}
|
|
24
|
+
} "weights": {
|
|
25
|
+
"ex": {
|
|
26
|
+
"combination_style": "multiplication",
|
|
27
|
+
"features":[
|
|
28
|
+
{
|
|
29
|
+
"feature_name": "coherence",
|
|
30
|
+
"feature_params": {
|
|
31
|
+
"ch1": "ex",
|
|
32
|
+
"ch2": "hy",
|
|
33
|
+
"detrend": true
|
|
34
|
+
},
|
|
35
|
+
"low_cut_weight_function": {
|
|
36
|
+
"half_window_style": "hamming",
|
|
37
|
+
"transition_lower_bound": 0.3,
|
|
38
|
+
"transition_upper_bound": 0.8
|
|
39
|
+
},
|
|
40
|
+
"high_cut_weight_function": {
|
|
41
|
+
"half_window_style": "hamming",
|
|
42
|
+
"transition_lower_bound": 0.8,
|
|
43
|
+
"transition_upper_bound": 1.3
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"feature_name": "multiple_coherence",
|
|
48
|
+
"feature_params": {
|
|
49
|
+
"output_channel": "ex"
|
|
50
|
+
},
|
|
51
|
+
"window_style": "threshold",
|
|
52
|
+
"window_params": {
|
|
53
|
+
"style": "rectange",
|
|
54
|
+
"transition_lower_bound": 0.9,
|
|
55
|
+
"transition_upper_bound": 0.9
|
|
56
|
+
},
|
|
57
|
+
"style": "rectange",
|
|
58
|
+
"transition_lower_bound": 0.9,
|
|
59
|
+
"transition_upper_bound": 0.11
|
|
60
|
+
"min": 0.9,
|
|
61
|
+
"max": 1.1
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
|
|
67
|
+
{
|
|
68
|
+
"channel_1": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"required": true,
|
|
71
|
+
"style": "free form",
|
|
72
|
+
"units": null,
|
|
73
|
+
"description": "The first channel of two channels in the coherence calculation.",
|
|
74
|
+
"options": [],
|
|
75
|
+
"alias": [],
|
|
76
|
+
"example": "ex",
|
|
77
|
+
"default": null
|
|
78
|
+
},
|
|
79
|
+
"channel_2": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"required": true,
|
|
82
|
+
"style": "free form",
|
|
83
|
+
"units": null,
|
|
84
|
+
"description": "The second channel of two channels in the coherence calculation.",
|
|
85
|
+
"options": [],
|
|
86
|
+
"alias": [],
|
|
87
|
+
"example": "hy",
|
|
88
|
+
"default": null
|
|
89
|
+
},
|
|
90
|
+
"detrend": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"required": true,
|
|
93
|
+
"style": "controlled vocabulary",
|
|
94
|
+
"units": null,
|
|
95
|
+
"description": "How to detrend the data segments before fft.",
|
|
96
|
+
"options": ["linear", "constant"],
|
|
97
|
+
"alias": [],
|
|
98
|
+
"example": "constant",
|
|
99
|
+
"default": "linear"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"channel_weight_specs": [
|
|
3
|
+
{
|
|
4
|
+
"channel_weight_spec": {
|
|
5
|
+
"output_channels": [
|
|
6
|
+
"ex"
|
|
7
|
+
],
|
|
8
|
+
"combination_style": "multiplication",
|
|
9
|
+
"feature_weight_specs": [
|
|
10
|
+
{
|
|
11
|
+
"feature_weight_spec": {
|
|
12
|
+
"feature": {
|
|
13
|
+
"name": "striding_window_coherence",
|
|
14
|
+
"ch1": "ex",
|
|
15
|
+
"ch2": "hy"
|
|
16
|
+
},
|
|
17
|
+
"weight_kernels": [
|
|
18
|
+
{
|
|
19
|
+
"weight_kernel": {
|
|
20
|
+
"half_window_style": "hann",
|
|
21
|
+
"transition_lower_bound": 0.6,
|
|
22
|
+
"transition_upper_bound": 0.9,
|
|
23
|
+
"threshold": "low cut"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"weight_kernel": {
|
|
28
|
+
"half_window_style": "hann",
|
|
29
|
+
"transition_lower_bound": 0.9995,
|
|
30
|
+
"transition_upper_bound": 1.01,
|
|
31
|
+
"threshold": "high cut"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"feature_weight_spec": {
|
|
39
|
+
"feature": {
|
|
40
|
+
"name": "multiple_coherence",
|
|
41
|
+
"output_channel": "ex"
|
|
42
|
+
},
|
|
43
|
+
"weight_kernels": [
|
|
44
|
+
{
|
|
45
|
+
"weight_kernel": {
|
|
46
|
+
"activation_style": "sigmoid",
|
|
47
|
+
"transition_lower_bound": 0.8,
|
|
48
|
+
"transition_upper_bound": 1.2,
|
|
49
|
+
"threshold": "low cut"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"channel_weight_spec": {
|
|
60
|
+
"output_channels": [
|
|
61
|
+
"ey"
|
|
62
|
+
],
|
|
63
|
+
"combination_style": "multiplication",
|
|
64
|
+
"feature_weight_specs": [
|
|
65
|
+
{
|
|
66
|
+
"feature_weight_spec": {
|
|
67
|
+
"feature": {
|
|
68
|
+
"name": "striding_window_coherence",
|
|
69
|
+
"ch1": "ey",
|
|
70
|
+
"ch2": "hx"
|
|
71
|
+
},
|
|
72
|
+
"weight_kernels": [
|
|
73
|
+
{
|
|
74
|
+
"weight_kernel": {
|
|
75
|
+
"half_window_style": "hann",
|
|
76
|
+
"transition_lower_bound": 0.4,
|
|
77
|
+
"transition_upper_bound": 0.77,
|
|
78
|
+
"threshold": "low cut"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"feature_weight_spec": {
|
|
86
|
+
"feature": {
|
|
87
|
+
"name": "multiple_coherence",
|
|
88
|
+
"output_channel": "ey"
|
|
89
|
+
},
|
|
90
|
+
"weight_kernels": [
|
|
91
|
+
{
|
|
92
|
+
"weight_kernel": {
|
|
93
|
+
"half_window_style": "hann",
|
|
94
|
+
"transition_lower_bound": 0.4,
|
|
95
|
+
"transition_upper_bound": 0.8,
|
|
96
|
+
"threshold": "low cut"
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"channel_weight_spec": {
|
|
107
|
+
"output_channels": [
|
|
108
|
+
"hz"
|
|
109
|
+
],
|
|
110
|
+
"combination_style": "multiplication",
|
|
111
|
+
"feature_weight_specs": [
|
|
112
|
+
{
|
|
113
|
+
"feature_weight_spec": {
|
|
114
|
+
"feature": {
|
|
115
|
+
"name": "striding_window_coherence",
|
|
116
|
+
"ch1": "hx",
|
|
117
|
+
"ch2": "rx"
|
|
118
|
+
},
|
|
119
|
+
"weight_kernels": [
|
|
120
|
+
{
|
|
121
|
+
"weight_kernel": {
|
|
122
|
+
"style": "taper",
|
|
123
|
+
"half_window_style": "hann",
|
|
124
|
+
"transition_lower_bound": 0.6,
|
|
125
|
+
"transition_upper_bound": 0.9,
|
|
126
|
+
"threshold": "low cut"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"feature_weight_spec": {
|
|
134
|
+
"feature": {
|
|
135
|
+
"name": "striding_window_coherence",
|
|
136
|
+
"ch1": "hy",
|
|
137
|
+
"ch2": "ry"
|
|
138
|
+
},
|
|
139
|
+
"weight_kernels": [
|
|
140
|
+
{
|
|
141
|
+
"weight_kernel": {
|
|
142
|
+
"style": "taper",
|
|
143
|
+
"half_window_style": "hann",
|
|
144
|
+
"transition_lower_bound": 0.5,
|
|
145
|
+
"transition_upper_bound": 0.9,
|
|
146
|
+
"threshold": "low cut"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
]
|
|
156
|
+
}
|
|
File without changes
|