Skip to content

epymorph.strata

Utilities for epymorph's strata system.

DEFAULT_STRATA module-attribute

DEFAULT_STRATA = 'all'

The strata name used as the default, primarily for single-strata simulations.

META_STRATA module-attribute

META_STRATA = 'meta'

A strata for information that concerns the other strata.

gpm_strata

gpm_strata(strata_name: str) -> str

Format a strata (GPM) name to its internal format.

Parameters:

  • strata_name (str) –

    The human-readable strata name.

Returns:

  • str

    The internal format of the strata's name.