File size: 750 Bytes
eee57cc
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
1. Load the dataset from "noisyTerrain/data/noisyTerrain.vtu".
2. Compute the persistence diagram on the scalar field named "Blend".
3. Apply a threshold to filter out pairs with persistence value less than 1.
4. Save the persistence diagram as "noisyTerrain/results/{agent_mode}/noisyTerrain.vtk" in legacy VTK format.
- The output should contain the points in the persistence diagram as point data, and each persistence pair is represented as a cell.
- Include the following three scalar arrays with the given names and purposes:
    * "Birth" array: store the birth value of each pair.
    * "Persistence" array: store the persistence value of each pair.
    * "IsFinite" array: use 1 to mark finite persistence and 0 to mark infinite persistence.