recolo.data_structures.fieldstack.fieldStack_from_disp_func

recolo.data_structures.fieldstack.fieldStack_from_disp_func(disp_func, npts_x, npts_y, plate_len_x, plate_len_y)

Make a FielsStack object from a function describing the deflection field.

The resulting stack contains a single frame.

disp_funcfunc

The deflection field as a function on the form deflection = func(x,y)

npts_xint

The number of evaluated points along the x-axis

npts_yint

The number of evaluated points along the y-axis

plate_len_xfloat

The plate length along the x-axis

plate_len_yfloat

The plate length along the y-axis

field_stackFieldStack

The field stack