harbor.analysis.cross_docking.generate_logarithmic_scale
- harbor.analysis.cross_docking.generate_logarithmic_scale(n_max: int, base: int = 10) list[int][source]
Generate a logarithmic scale with nice number spacing up to n_max.
- Args:
n_max: Maximum value in the sequence base: Logarithm base (default=10)
- Returns:
List of integers representing the scale
- Example:
>>> generate_logarithmic_scale(300) [1, 2, 5, 10, 15, 25, 50, 75, 100, 150, 200, 250, 300]