gustaf.helpers.data.VertexData.as_scalar# VertexData.as_scalar(key, default=None)[source]# Returns scalar version of requested data. If it is already a scalar, will return as is. Else, will return a norm. using np.linalg.norm(). Parameters: key (str) default (object) Returns: data_as_scalar Return type: (n, 1) np.ndarray