pipeline.hsd.heuristics.grouping2_test¶
Test for heuristics defined in grouping2.py.
Functions
Generate position data for simulated position-switch observation. |
|
Generate position data for simulated OTF raster observation. |
|
Generate time series for simulated position-switch observation. |
|
Generate time series for simulated OTF raster observation. |
|
|
Generate random noise. |
Test grouping by position: error cases. |
|
Test grouping by position: moderate allowance radius -> no gap is detected. |
|
|
Test grouping by position on position switch pattern. |
Test grouping by position on raster pattern including some edge cases. |
|
Test grouping by position: too large allowance radius -> all gaps are detected. |
|
Test grouping by position: too large combine radius -> only one group. |
|
Test grouping by position: too small combine radius -> all data are separated. |
|
|
Test grouping by time for position switch pattern. |
|
Test grouping by time for raster pattern. |
Test merging gap tables for position switch pattern. |
|
Test merging gap tables for raster pattern. |
|
|
Test evaluation of threshold for time grouping. |