Provides methods for the binarization and trinarization of one-dimensional data and some visualization functions.