fix: expose physical aliasing and delayed arrivals
This commit is contained in:
@@ -112,6 +112,30 @@ test("portable localizer가 Scene 합성 없이 기존 CPU DAS와 bit-exact map
|
||||
);
|
||||
});
|
||||
|
||||
test("portable above-Nyquist band observes the folded ADC bin without hidden carrier steering", async () => {
|
||||
const fixture = createFixture(128);
|
||||
const basebandPlan = createLocalizationPlan(fixture.config);
|
||||
const aliasedPlan = createLocalizationPlan({
|
||||
...fixture.config,
|
||||
bands: [{ id: "aliased", minHz: 3_572, maxHz: 3_596, color: "#58c7ff" }],
|
||||
});
|
||||
const baseband = await localizeMultichannel({
|
||||
plan: basebandPlan,
|
||||
channels: fixture.channels,
|
||||
});
|
||||
const aliased = await localizeMultichannel({
|
||||
plan: aliasedPlan,
|
||||
channels: fixture.channels,
|
||||
});
|
||||
|
||||
assertEqual(aliasedPlan.bands[0].minHz, 3_572, "requested analog band is retained");
|
||||
assertFloat32Exact(
|
||||
aliased.bands[0].rawMap,
|
||||
baseband.bands[0].rawMap,
|
||||
"same ADC bin produces the same conventional DAS map",
|
||||
);
|
||||
});
|
||||
|
||||
test("portable raw-map peak detection이 같은 band의 두 진원 후보를 강도순으로 보존한다", () => {
|
||||
const scan = {
|
||||
z: 1,
|
||||
|
||||
Reference in New Issue
Block a user