alhambra.util#

Module Contents#

Classes#

ProgressLogger

GlueMergeSpec

TileMergeSpec

Functions#

multimap(function, data)

setup_multi(method[, ncores])

comp(endname)

Return the complementary name of a given end (eg, for 'a', return 'a/')

base(endname)

Return the base name of a given end name (eg, for either 'a' or 'a/', return 'a')

Attributes#

DEFAULT_ENERGETICS

DEFAULT_MULTIMODEL_ENERGETICS

DEFAULT_SD2_MULTIMODEL_ENERGETICS

DEFAULT_MM_ENERGETICS_NAMES

DEFAULT_REGION_ENERGETICS

MAPPER

MPOBJECT

alhambra.util.DEFAULT_ENERGETICS[source]#
alhambra.util.DEFAULT_MULTIMODEL_ENERGETICS[source]#
alhambra.util.DEFAULT_SD2_MULTIMODEL_ENERGETICS[source]#
alhambra.util.DEFAULT_MM_ENERGETICS_NAMES = ['Prot', 'Pysh', 'Peyr', 'None'][source]#
alhambra.util.DEFAULT_REGION_ENERGETICS[source]#
alhambra.util.MAPPER[source]#
alhambra.util.MPOBJECT[source]#
alhambra.util.multimap(function, data)[source]#
alhambra.util.setup_multi(method, ncores=None)[source]#
class alhambra.util.ProgressLogger(logger, N, seconds_interval=60)[source]#

Bases: object

update(i)[source]#
alhambra.util.comp(endname)[source]#

Return the complementary name of a given end (eg, for ‘a’, return ‘a/’)

alhambra.util.base(endname)[source]#

Return the base name of a given end name (eg, for either ‘a’ or ‘a/’, return ‘a’)

class alhambra.util.GlueMergeSpec(ops=[])[source]#
add(a, b)[source]#
copyadd(a, b)[source]#
_rebuild_map()[source]#
eq(a, b)[source]#
class alhambra.util.TileMergeSpec(ops=[])[source]#
add(a, b)[source]#
copyadd(a, b)[source]#
_rebuild_map()[source]#
eq(a, b)[source]#