range_driver.data_prep.metadata module¶
Functions to handle different kinds of metadata, e.g. details about receiver and tag deployment, etc.
TODO: Integrate with resonate metadata processing
- range_driver.data_prep.metadata.clean_vendor_tag_specs(tag_specs_df)[source]¶
Process metadata extracted via row copy & paste from vendor CSV files
- range_driver.data_prep.metadata.get_device_from_catalog(catalog_str)[source]¶
Return 2nd last part of ‘-‘ separated string as an int. Works on str and DataFrames of strings
- range_driver.data_prep.metadata.get_device_id(device_str)[source]¶
Return last part of ‘-‘-separated string as int. Works on str and DataFrames of strings.
- range_driver.data_prep.metadata.otn_transmitter_patch_1(mdb)[source]¶
Applies a patch specific to the OTN Mahone Bay range test
- Parameters
mdb (sklearn.utils.Bunch) – Metadata for the OTN Mahone Bay range test.
- Returns
None. Applies the patch to the Transmitter information within the Metadata