General information
API
val_max must be strictly larger than all number in the array, n smaller than 10
ndarray
previous
get_phase
next
my_ruler