REGISTER NOW: Brightway Spring School! 🇨🇦 Québec City (Canada) 🗓️ 20.-24. May 2024

bw2calc.utils#

Module Contents#

Functions#

consistent_global_index(packages[, matrix])

get_datapackage(obj)

get_seed([seed])

Get valid Numpy random seed value

wrap_functional_unit(dct)

Transform functional units for effective logging.

bw2calc.utils.consistent_global_index(packages, matrix='characterization_matrix')[source]#
bw2calc.utils.get_datapackage(obj)[source]#
bw2calc.utils.get_seed(seed=None)[source]#

Get valid Numpy random seed value

bw2calc.utils.wrap_functional_unit(dct)[source]#

Transform functional units for effective logging. Turns Activity objects into their keys.