-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Future Work
- The processing configuration template that uses weights stored in aurora should be automatically generated from the processing configuration template that does not use weights, together with the sample weights block in mt_metadata. It can be written, but there are two issues
- inconsistency in formats (both valid, but one uses pure nesting, and the other uses dot-extensions, for exmaple:
"channel_nomenclature": {
"ex": "ex",
"ey": "ey",
"hx": "hx",
"hy": "hy",
"hz": "hz"
},
versus
"channel_nomenclature.ex": "ex",
"channel_nomenclature.ey": "ey",
"channel_nomenclature.hx": "hx",
"channel_nomenclature.hy": "hy",
"channel_nomenclature.hz": "hz",
- The automatically output version does not express all the details, -- this should wait until after the mt_metadata pydantic upgrade.
- Add capability (with tests and examples) to pack features into the mth5 before weights calculation (currently only compute on the fly is supported)
- Add tests and examples for
FCCoherencefeature, allowing calculation of coherence directly from FCs.
- It will be an xarray with dims
time, andfrequency. - The frequency axis will come from
mth5.processing.spectre.frequency_band_helpers, using (log_spaced_frequenciesandbands_of_constant_qto build broad coherence bands. - The metadata for specifying this is in
mt_metadata/features/standards/fc_coherence.json - In either case, we need to write the parameters that define the bands, and the feature name into the processing_config_template
- aurora's
xarray_helpersmodule contains ahandle_nanfunction, and transfer_function_helpers has aremove_nan. These can be consolidated into a single method. - Investigate best way to extract the weights for band:
This may involve finding the nearest frequency bin to the band center period and then applying the weights for that bin, or some tapered region around it. For now, we will just use the mean of the weights for the band. This is a temporary solution and should be replaced with a more robust method.
The code to examine is the TODO inprocess_transfer_functions_with_weightsintransfer-function_helpers.pymodule. - Now that we have feature_weights in config, the
edf_weightsparameters should also be added to the processing config and documented ( a cleanup of the statistical notes in edf_weights.py would also be appropriate here). - A flow diagram of how the weights enter the processing can be added to the docs.
Metadata
Metadata
Assignees
Labels
No labels