summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/bitmap/sinusoid.txt77
-rw-r--r--data/persistence_diagram/PD1.pers3
-rw-r--r--data/persistence_diagram/PD2.pers2
-rw-r--r--data/points/alphacomplexdoc.off22
-rwxr-xr-xdata/points/generator/aurelien_alvarez_surfaces_in_R8.py31
-rw-r--r--data/points/grid_5_5_5_in_0_1.off127
6 files changed, 232 insertions, 30 deletions
diff --git a/data/bitmap/sinusoid.txt b/data/bitmap/sinusoid.txt
new file mode 100644
index 00000000..4318a790
--- /dev/null
+++ b/data/bitmap/sinusoid.txt
@@ -0,0 +1,77 @@
+1
+75
+10.0
+inf
+6.581647338757176
+4.961839035093842
+3.4462687716225506
+2.0647730896031224
+0.843170409296631
+-0.19751272994853286
+-1.041671820306659
+-1.679592041609764
+-2.1077394076819154
+-2.3288666774217717
+-2.351930856552615
+-2.1918247624544565
+-1.8689306968915753
+-1.4085096027502502
+-0.8399440113300294
+-0.19585746852629526
+0.4888631699173285
+1.178113272962392
+1.835652464698967
+2.4261907229474
+2.916445996426541
+3.2761416444450404
+3.47891380654902
+3.503101508895332
+3.332395828417585
+2.956328659790991
+2.3705864371935323
+1.5771394088427577
+0.5841825900410704
+-0.5941098356746579
+-1.9380093068542301
+-3.4228241352585
+-5.019639498406313
+-6.696183996487342
+-8.417796803538899
+-10.148466428045634
+-11.851909952036825
+-13.492660404643832
+-15.037129682296172
+-16.454615160584872
+-17.71821983034286
+-18.80565838211054
+-19.699925081201553
+-20.389803417622236
+-20.870202256994908
+-21.142308418277846
+-21.213551105635062
+-21.0973792604076
+-20.812858505791425
+-20.38409976350673
+-19.839536666415423
+-19.211073422523185
+-18.53312866828296
+-17.841603966244676
+-17.172807860451854
+-16.562367734888753
+-16.044162085815913
+-15.649305207041936
+-15.405214716400426
+-15.334789869008524
+-15.455725282681154
+-15.779980642668242
+-16.3134222782912
+-17.055647353175157
+-17.999995937972063
+-19.13375060376363
+-20.438517554470188
+-21.890777875994743
+-23.46259238155293
+-25.122438929469578
+-26.836157119615592
+-28.567972056597156
+-30.281566498233445
diff --git a/data/persistence_diagram/PD1.pers b/data/persistence_diagram/PD1.pers
new file mode 100644
index 00000000..404199b4
--- /dev/null
+++ b/data/persistence_diagram/PD1.pers
@@ -0,0 +1,3 @@
+2.7 3.7
+9.6 14
+34.2 34.974 \ No newline at end of file
diff --git a/data/persistence_diagram/PD2.pers b/data/persistence_diagram/PD2.pers
new file mode 100644
index 00000000..125d8e4b
--- /dev/null
+++ b/data/persistence_diagram/PD2.pers
@@ -0,0 +1,2 @@
+2.8 4.45
+9.5 14.1 \ No newline at end of file
diff --git a/data/points/alphacomplexdoc.off b/data/points/alphacomplexdoc.off
index bb790193..a90db49a 100644
--- a/data/points/alphacomplexdoc.off
+++ b/data/points/alphacomplexdoc.off
@@ -1,10 +1,12 @@
-nOFF
-2 7 0 0
-1.0 1.0
-7.0 0.0
-4.0 6.0
-9.0 6.0
-0.0 14.0
-2.0 19.0
-9.0 17.0
-
+# Default is 3 dimension
+OFF
+# 7 vertices - 0 face - 0 edge
+7 0 0
+# Point set:
+1.0 1.0 0.0
+7.0 0.0 0.0
+4.0 6.0 0.0
+9.0 6.0 0.0
+0.0 14.0 0.0
+2.0 19.0 0.0
+9.0 17.0 0.0
diff --git a/data/points/generator/aurelien_alvarez_surfaces_in_R8.py b/data/points/generator/aurelien_alvarez_surfaces_in_R8.py
index 57773c4c..cc23ca98 100755
--- a/data/points/generator/aurelien_alvarez_surfaces_in_R8.py
+++ b/data/points/generator/aurelien_alvarez_surfaces_in_R8.py
@@ -1,28 +1,19 @@
-# This file is part of the Gudhi Library. The Gudhi library
-# (Geometric Understanding in Higher Dimensions) is a generic C++
-# library for computational topology.
-#
-# Author(s): Aurélien Alvarez
-#
-# Copyright (C) 2016 Université d'Orléans (France)
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#!/usr/bin/env python
import numpy as np
import random
from math import factorial
+"""This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
+ See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
+ Author(s): Aurélien Alvarez
+
+ Copyright (C) 2016 Université d'Orléans (France)
+
+ Modification(s):
+ - YYYY/MM Author: Description of the modification
+"""
+
I = complex(0,1)
#################################################
diff --git a/data/points/grid_5_5_5_in_0_1.off b/data/points/grid_5_5_5_in_0_1.off
new file mode 100644
index 00000000..148bf773
--- /dev/null
+++ b/data/points/grid_5_5_5_in_0_1.off
@@ -0,0 +1,127 @@
+OFF
+125 0 0
+0.0, 0.0, 0.2
+0.0, 0.0, 0.4
+0.0, 0.0, 0.6
+0.0, 0.0, 0.8
+0.0, 0.2, 0.0
+0.0, 0.2, 0.2
+0.0, 0.2, 0.4
+0.0, 0.2, 0.6
+0.0, 0.2, 0.8
+0.0, 0.4, 0.0
+0.0, 0.4, 0.2
+0.0, 0.4, 0.4
+0.0, 0.4, 0.6
+0.0, 0.4, 0.8
+0.0, 0.6, 0.0
+0.0, 0.6, 0.2
+0.0, 0.6, 0.4
+0.0, 0.6, 0.6
+0.0, 0.6, 0.8
+0.0, 0.8, 0.0
+0.0, 0.8, 0.2
+0.0, 0.8, 0.4
+0.0, 0.8, 0.6
+0.0, 0.8, 0.8
+0.2, 0.0, 0.0
+0.2, 0.0, 0.2
+0.2, 0.0, 0.4
+0.2, 0.0, 0.6
+0.2, 0.0, 0.8
+0.2, 0.2, 0.0
+0.2, 0.2, 0.2
+0.2, 0.2, 0.4
+0.2, 0.2, 0.6
+0.2, 0.2, 0.8
+0.2, 0.4, 0.0
+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