"channel_nomenclature": {
"ex": "ex",
"ey": "ey",
"hx": "hx",
"hy": "hy",
"hz": "hz"
},
"channel_nomenclature.ex": "ex",
"channel_nomenclature.ey": "ey",
"channel_nomenclature.hx": "hx",
"channel_nomenclature.hy": "hy",
"channel_nomenclature.hz": "hz",
Future Work
versus
FCCoherencefeature, allowing calculation of coherence directly from FCs.time, andfrequency.mth5.processing.spectre.frequency_band_helpers, using (log_spaced_frequenciesandbands_of_constant_qto build broad coherence bands.mt_metadata/features/standards/fc_coherence.jsonxarray_helpersmodule contains ahandle_nanfunction, and transfer_function_helpers has aremove_nan. These can be consolidated into a single method.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 in
process_transfer_functions_with_weightsintransfer-function_helpers.pymodule.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).