def test_half_off_splats(self): heatmap = analysis.calc_heatmap( pd.DataFrame([{ "x": 0.0, "y": 0.5, "t": 0 }]), (100, 100), (0.05, 0.05))
def test_negative_splats(self): heatmap = analysis.calc_heatmap( pd.DataFrame([{ "x": -0.5, "y": 0.01, "t": 0 }, { "x": 0.1, "y": -0.5, "t": 1 }]), (100, 100), (0.05, 0.05))
def test_double_edge_splats(self): heatmap = analysis.calc_heatmap( pd.DataFrame([{ "x": 0.01, "y": 0.01, "t": 0 }, { "x": 0.01, "y": 0.01, "t": 1 }]), (100, 100), (0.05, 0.05))