magpack.vectorop.curl#
- curl(vector_field)#
Calculates the curl of a vector field.
- Parameters:
- vector_fieldnp.ndarray
Vector field shape (3, nx, ny, nz) from which the curl will be calculated.
- Returns:
- np.ndarray
Curl (vector field) of the input vector field.