assign_weight#

FfdSolutionData.assign_weight(a, b, taper='flat', port_cont=0)[source]#

Assign weight to array.

Parameters:
aint

Inndex of array, column.

bint

Inndex of array, row.

taperstr, optional

This is the type of taper we want to apply. The default is ‘flat’. It can be "cosine", "triangular", "hamming" or "flat".

Returns:
float

Weight to applied to specific index of array.