I am trying to generate, say a non-linear sequence of 120 numbers in a range between 7 and 20.
I have already tried using numpy geomspace and logspace, which gave me pretty much the same outcome. It does what I want, but the resulted "curve" is not "sharp" enough so to speak.
import numpy as np
TILE_NONLINEAR = np.geomspace(7, 20, num=120)
I need to control an acceding and descending. A slow start and fast acceleration at the end and/or vice versa. Like for instance, outcome should be something like:
[7, 7.001, 7.003, 7.01 ..... 17.1, 17.3, 17.8, 18.7, 20]
or
[7, 7.8, 8.5, 9, ..... 19.9, 19.95, 19.98, 20]
The resulted sequences are off the top of my head just to give an idea.