Source Code ============ .. note:: This section needs cleaning up at the end. Ignore from the point where it becomes illegible. .. automodule:: BETRS :members: .. automodule:: modifyparams :members: .. automodule:: volumes :members: .. automodule:: zvalues :members: .. module:: helpers .. function:: cell2regcomp(cell,m) translates cell index into region-number and compartment ID :param cell: index of cell (0--2015 in BETR-Global) :param m: :class:`BETRS.Model` object :rtype: (regionNumber , compartmentID ) .. function:: tocell(reg,comp,m) translates region number and compartment ID into cell-index :param reg: region number (1--288 in BETR-Global) :param comp: compartment ID (1--7 in BETR Global) :param m: :class:`BETRS.Model` object :rtype: cellIndex (0--2015 in BETR-Global)