diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-04-03 08:40:05 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2018-04-03 08:40:05 +0000 |
commit | a6b1719067462f93a7ee3b7f8f632b85fe27117d (patch) | |
tree | cccaab188a73e4b8a2c434c5150037c7cbf10708 /src/cython/example | |
parent | 82c0652b06949b0b002781688565d7ecf30f04fe (diff) |
Add warnings for rips persistence from correlation matrix (points under the diagonal).
Use range instead of vector in write_persistence_intervals_to_stream
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/rips_complex_from_correlation_matrix@3326 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: ea0fdc32c91f1927c5a9f2a3864360895ce8128a
Diffstat (limited to 'src/cython/example')
-rwxr-xr-x | src/cython/example/rips_complex_diagram_persistence_from_correlation_matrix_file_example.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cython/example/rips_complex_diagram_persistence_from_correlation_matrix_file_example.py b/src/cython/example/rips_complex_diagram_persistence_from_correlation_matrix_file_example.py index ad990fdc..aa82ef71 100755 --- a/src/cython/example/rips_complex_diagram_persistence_from_correlation_matrix_file_example.py +++ b/src/cython/example/rips_complex_diagram_persistence_from_correlation_matrix_file_example.py @@ -50,6 +50,11 @@ if not (-1. < args.min_edge_correlation < 1.): sys.exit(1) print("#####################################################################") +print("Caution: as persistence diagrams points will be under the diagonal,") +print("bottleneck distance and persistence graphical tool will not work") +print("properly, this is a known issue.") + +print("#####################################################################") print("RipsComplex creation from correlation matrix read in a csv file") message = "RipsComplex with min_edge_correlation=" + repr(args.min_edge_correlation) |