get_fieldline_npoints# get_fieldline_npoints(traces)[source]# Count the number of valid (non-NaN) points in each fieldline. Parameters: tracesTraces | ndarrayA Traces object or a 3D array of shape (M, 3, N), where NaNs indicate unused portions of the buffer. Returns: npointsndarray of intAn array of shape (N,) indicating the number of valid points in each of the N fieldlines.