n_segments¶ property KPath.n_segments¶ The number of band segments Returns: int – The number of band segments