Expand description
Debug information export utilities for path calculation (US7)
This module provides functions to export intermediate HMM calculation results for troubleshooting and parameter tuning.
Output files are numbered by phase:
01_emission_probabilities.geojson— Emission probabilities: links from each GNSS position to its candidate netelements with distance / heading probabilities.02_transition_probabilities.geojson— Transition probabilities between every feasible (non-zero) candidate pair across consecutive GNSS steps.03_viterbi_trace.geojson— Viterbi decoding trace: the netelement selected at each observation step.04_candidate_netelements.geojson— All candidate netelements with aggregate emission probabilities and Viterbi membership flag.05_path_sanity_decisions.geojson— Post-Viterbi navigability sanity check decisions for each consecutive segment pair.06_filling_gaps.geojson— Gap-fill decisions: bridge netelements inserted between disconnected consecutive segments after sanity validation.07_selected_path.geojson— Only the netelements that form the final validated path (including bridge segments).
Functions§
- export_
all_ debug_ info - Export all HMM debug information to numbered GeoJSON files (T158)
- export_
gap_ fills - Export gap-fill records to a GeoJSON file (phase 6).
- export_
hmm_ candidate_ netelements - Export Phase 4 – All candidate netelements with aggregate probabilities as GeoJSON
- export_
hmm_ emission_ probabilities - Export Phase 1 – HMM emission probabilities as GeoJSON
- export_
hmm_ selected_ path - Export Phase 5 – Selected Viterbi path netelements as GeoJSON
- export_
hmm_ transition_ probabilities - Export Phase 2 – HMM transition probabilities as GeoJSON
- export_
hmm_ viterbi_ trace - Export Phase 3 – Viterbi decoding trace as GeoJSON
- export_
path_ sanity_ decisions - Export Phase 5 — Post-Viterbi path sanity decisions as GeoJSON