summaryrefslogtreecommitdiff
path: root/utilities/Bitmap_cubical_complex/cubicalcomplex.md
blob: 6e1b2578bc739c05694c60d9961d856e4718231b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Cubical complex#

## cubical_complex_persistence ##
This program computes persistent homology, by using the Bitmap_cubical_complex class, of cubical complexes provided in text files in Perseus style.
See [here](/doc/latest/fileformats.html#FileFormatsPerseus) for a description of the file format.

**Example**

```
   cubical_complex_persistence data/bitmap/CubicalTwoSphere.txt
```

* Creates a Cubical Complex from the Perseus style file `CubicalTwoSphere.txt`,
computes Persistence cohomology from it and writes the results in a persistence file `CubicalTwoSphere.txt_persistence`.

## periodic_cubical_complex_persistence ##

Same as above, but with periodic boundary conditions.

**Example**

```
   periodic_cubical_complex_persistence data/bitmap/3d_torus.txt
```

* Creates a Periodical Cubical Complex from the Perseus style file `3d_torus.txt`,
computes Persistence cohomology from it and writes the results in a persistence file `3d_torus.txt_persistence`.