mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-21 04:42:33 +08:00
eff388b1b6
date: 2023-07-27T18:38:32
master commit: fa310d9e25
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)]
|