Points¶
| Type: | Matrix<float> |
|---|---|
| Range: | [v_11, …, v_1j; …; v_i1, …; v_ij], j<=2 |
| Default: | -/- |
| Appearance: | simple |
The generator of the SurfaceOfRevolution defined as the height profile of the radial dependence around the center.
For example to form a gaussian profile one can use a simple python snippet to generate a points list:
def gaussian_profile(
num_points=10,
width=2,
amplitude= 1.5,
rmax=10
):
x = np.linspace(0, rmax,num_points)
y = amplitude * np.exp(-(x**2) / width**2)
points= np.vstack((x, y)).T,
return points
resulting in the following (rounded) points with the default settings:
Points = [0. , 1.5;
1.11111, 1.30773;
2.22222, 0.86655;
3.33333, 0.43644;
4.44444, 0.16707;
5.55556, 0.04861;
6.66667, 0.01075;
7.77778e+00, 1.81000e-03;
8.88889e+00, 2.30000e-04;
1.e+01, 2.e-05]