mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-06 16:55:43 +08:00
c8440ab691
version: lp-dp v0.9.2 for EON/C2 date: 2023-05-09T02:32:30 commit: cb8adff9d368de2e442e1e7f4309b70a4a2013ad
8 lines
173 B
Python
8 lines
173 B
Python
IDX_N = 33
|
|
|
|
def index_function(idx, max_val=192, max_idx=32):
|
|
return (max_val) * ((idx/max_idx)**2)
|
|
|
|
|
|
T_IDXS = [index_function(idx, max_val=10.0) for idx in range(IDX_N)]
|