feat: implement dynamic time-domain LOD zoom, locked axis multipliers, and clean 4-column CSV export

This commit is contained in:
pchang718
2026-05-26 14:48:04 +08:00
parent 0140b0495c
commit 8caa8918d0
7 changed files with 499267 additions and 44 deletions
+8 -2
View File
@@ -146,6 +146,8 @@ async def filter_csv(
shift_a: int = Form(14),
use_round: bool = Form(False),
stages: str = Form(None),
start_idx: int = Form(None),
end_idx: int = Form(None),
):
try:
b_vals = parse_coefficients(b, "b")
@@ -162,7 +164,9 @@ async def filter_csv(
shift_in=shift_in, shift_out=shift_out,
shift_b=shift_b, shift_a=shift_a,
use_round=use_round,
stages=stages_list
stages=stages_list,
start_idx=start_idx,
end_idx=end_idx
)
except HTTPException:
raise
@@ -205,6 +209,7 @@ async def filter_csv_download(
shift_a: int = Form(14),
use_round: bool = Form(False),
stages: str = Form(None),
fs: float = Form(100000.0),
):
try:
b_vals = parse_coefficients(b, "b")
@@ -221,7 +226,8 @@ async def filter_csv_download(
shift_in=shift_in, shift_out=shift_out,
shift_b=shift_b, shift_a=shift_a,
use_round=use_round,
stages=stages_list
stages=stages_list,
fs=fs
)
return StreamingResponse(