pyfan.amto.array.geomspace

Created on May 24, 2018

@author: fan

To have a better grid denser at the beginning

Functions

gen_geom_grid(start, stop, num, geom_ratio, a)

Specify geom_ratio, the z below:

grid_to_geom(choice_grid, choice_grid_max, …)

the code now is under the assumption that initial start and end were 0 and 1

grid_to_geom_short(choice_grid, …)

grid_to_geom_short_core(choice_grid, a, …)

tester([a, b, max_power])

  1. 1 to 51, geomspace

tester_plus1([a, b, max_power, adjust])

to accomndate zero,