in jupyter/comparison-to-datasketch/cardinality_error_experiment.py [0:0]
def _generate_plot_points(self) -> list:
"""
Generates the standard sequence defining the input cardinalites for the experiment
This is just two points at each power of 2
"""
all_plot_points = []
for lgk in range(1, self.max_lgN+1):
points = np.unique(np.logspace(start=lgk, stop=lgk+1, num=8, endpoint=False, base=2, dtype=np.uint64))
all_plot_points.extend(points)
all_plot_points.sort()
return all_plot_points