gstools.tools.set_angles

gstools.tools.set_angles(dim, angles)[source]

Set the angles for the given dimension.

Parameters:
  • dim (int) – spatial dimension

  • angles (float or list) – the angles of the SRF

Returns:

angles – the angles fitting to the dimension

Return type:

float

Notes

If too few angles are given, they are filled up with 0.