Skip to contents

Extracts the total branch volume from the treedata of a TreeQSM.

Usage

total_branch_volume_qsm(treedata)

Arguments

treedata

Treedata field of a TreeQSM that is returned by read_tree_qsm.

Value

The total branch volume of the TreeQSM in liters.

Examples

if (FALSE) {
# Read tree qsm and extract total branch volume
qsm <- read_tree_qsm(QSM_path = "path/to/qsm.mat")
branchvol <- total_branch_volume_qsm(treedata = qsm$treedata)
}