Skip to main content

IdentityAlgorithm

A registered identity algorithm.

Usage

Source

IdentityAlgorithm()

Attributes

name: str

Unique algorithm name (mirrored into IdentityAlgorithmRow).

kind: IdentityKind

Category of identity produced.

identity_fn: IdentityProtocol

(geo, other_geos=None) -> str, generating the identity.

parent: IdentityAlgorithm | None

Algorithm whose identity selects the other_geos passed to identity_fn, if any.

orders: frozenset[int] | None
Stationary point orders the algorithm applies to. None if it applies to any order.

Methods

Name Description
applies_to() Check whether algorithm applies to a given order.

applies_to()

Check whether algorithm applies to a given order.

Usage

Source

applies_to(order)