rollup_radii_of_gyration_unc: Roll up radii of gyration uncertainties

View source: R/radii.R

rollup_radii_of_gyration_uncR Documentation

Roll up radii of gyration uncertainties

Description

rollup_radii_of_gyration_unc() adds calculated radii of gyration uncertainties to a data frame of rolled-up mass properties and uncertainties.

Radii of gyration uncertainties are calculated directly from moments of inertia and mass and their uncertainties; they are not recursively-defined. Radii of gyration uncertainties for composite elements depend on uncertainties of their component elements.

Usage

rollup_radii_of_gyration_unc(tree, df)

Arguments

tree

An 'igraph' tree whose vertices are named as the values of the id column of df and whose directed edges point from child id to parent id.

df

A data frame with (at least) these columns: id, mass, Cx, Cy, Cz, Ixx, Iyy, Izz, Ixy, Ixz, Iyz, POIconv, Ipoint.

Value

A data frame with the same columns as df, plus radii of gyration in columns sigma_kx, sigma_ky, and sigma_kz.'

Examples

sawe_table_rollup <- rollup_mass_props(sawe_tree, sawe_table)
rollup_radii_of_gyration_unc(sawe_tree, add_radii_of_gyration(sawe_table_rollup))


massProps documentation built on April 4, 2025, 1:45 a.m.