analysis.compression_metrics.constants

Constants used in compression metric analysis.

Module Attributes

ABSOLUTE_TOLERANCE

The absolute tolerance for vector length.

SIMULATOR_COLOR_MAP

Map of simulator name to color.

DEFAULT_BENDING_CONSTANT

The default bending constant in pN nm.

DEFAULT_COMPRESSION_DISTANCE

The default compression distance in nm.

ABSOLUTE_TOLERANCE: float = 1e-06

The absolute tolerance for vector length. Vectors smaller than this value are considered zero.

SIMULATOR_COLOR_MAP: dict[str, str] = {'cytosim': '#008080', 'readdy': '#ca562c'}

Map of simulator name to color.

DEFAULT_BENDING_CONSTANT: float = 1.0

The default bending constant in pN nm.

DEFAULT_COMPRESSION_DISTANCE: float = 150.0

The default compression distance in nm.