rivetTDA / rivet

RIVET is a tool for Topological Data Analysis, in particular two-parameter persistent homology.
GNU General Public License v3.0
73 stars 24 forks source link

Dimension Shading Issue #43

Closed mlesnick closed 7 years ago

mlesnick commented 8 years ago

Originally reported by: M L (GitHub: mlesnick)


When the maximum dimension of a vector space is large, it is impossible to distinguish between what is trivial and what is non-trivial homology.

The proposed solution is to have a minimum darkness for regions of non-zero homology, and then have the darkness scale up linearly from there. That means there will be some maximum value of homology above which everything is maximally dark (black?).

But that is better than not being able to tell the difference between 0 and 1.

mlesnick commented 8 years ago

Original comment by M L (GitHub: mlesnick):


This seems like a good idea. I will have a look.

mlesnick commented 8 years ago

Original comment by Matthew Wright (GitHub: mlwright84):


I adjusted the dimension shading so that trivial and non-trivial homology is distinguishable. Currently, dimension 1 is always shaded light gray, and the maximum dimension is always shaded dark gray, with a linear interpolation. I realize this is not exactly what Mike proposed, but it avoids having to hard-code the step size in the grayscale values for corresponding to consecutive integer dimension values. Let's see if this solution is acceptable, and revise if necessary.