Coverage for subcell_pipeline/analysis/compression_metrics/constants.py: 100%
8 statements
« prev ^ index » next coverage.py v7.5.3, created at 2024-08-29 15:14 +0000
« prev ^ index » next coverage.py v7.5.3, created at 2024-08-29 15:14 +0000
1"""Constants used in compression metric analysis."""
3ABSOLUTE_TOLERANCE: float = 1e-6
4"""
5The absolute tolerance for vector length. Vectors smaller than this value are
6considered zero.
7"""
9SIMULATOR_COLOR_MAP: dict[str, str] = {
10 "readdy": "#ca562c",
11 "cytosim": "#008080",
12}
13"""Map of simulator name to color."""
15DEFAULT_BENDING_CONSTANT: float = 1.0
16"""The default bending constant in pN nm."""
18DEFAULT_COMPRESSION_DISTANCE: float = 150.0
19"""The default compression distance in nm."""