magpack.vectorop.normalize# normalize(vector_field)# Scales all vectors in the array to unit length. Parameters: vector_fieldnp.ndarrayVector field shape (3, nx, ny, nz) Returns: np.ndarrayUnit-normalized vector field.