Package: AvInertia 0.0.2

AvInertia: Calculate the Inertial Properties of a Flying Bird

Tools to compute the center of gravity and moment of inertia tensor of any flying bird. The tools function by modeling a bird as a composite structure of simple geometric objects. This requires detailed morphological measurements of bird specimens although those obtained for the associated paper have been included in the package for use. Refer to the vignettes and supplementary material for detailed information on the package function.

Authors:Christina Harvey [aut, cre], Vikram B. Baliga [aut], Jasmin C.M. Wong [aut]

AvInertia_0.0.2.tar.gz
AvInertia_0.0.2.zip(r-4.5)AvInertia_0.0.2.zip(r-4.4)AvInertia_0.0.2.zip(r-4.3)
AvInertia_0.0.2.tgz(r-4.4-any)AvInertia_0.0.2.tgz(r-4.3-any)
AvInertia_0.0.2.tar.gz(r-4.5-noble)AvInertia_0.0.2.tar.gz(r-4.4-noble)
AvInertia_0.0.2.tgz(r-4.4-emscripten)AvInertia_0.0.2.tgz(r-4.3-emscripten)
AvInertia.pdf |AvInertia.html
AvInertia/json (API)
NEWS

# Install 'AvInertia' in R:
install.packages('AvInertia', repos = c('https://charvey23.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/charvey23/avinertia/issues

Datasets:

On CRAN:

5.00 score 6 stars 33 scripts 205 downloads 32 exports 48 dependencies

Last updated 3 years agofrom:f37f7d9068. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 07 2024
R-4.5-winNOTENov 07 2024
R-4.5-linuxNOTENov 07 2024
R-4.4-winNOTENov 07 2024
R-4.4-macNOTENov 07 2024
R-4.3-winNOTENov 07 2024
R-4.3-macNOTENov 07 2024

Exports:calc_inertia_conesolidcalc_inertia_cylhollowcalc_inertia_cylsolidcalc_inertia_ellconecalc_inertia_ellcylcalc_inertia_ellipsecalc_inertia_platerectcalc_inertia_platetricalc_inertia_pyrasolidcalc_rotcalc_univeccombine_inertialpropcompute_feat_inertiadensity_optimizerkronecker_deltamassprop_birdwingmassprop_bonesmassprop_feathersmassprop_headmassprop_musclesmassprop_neckmassprop_pmmassprop_restbodymassprop_skinmassprop_tailmassprop_torsoorient_featherparallelaxisplot_CGlocrotxstore_datastructural2VRP_feat

Dependencies:cellrangerclicolorspacecpp11crayondplyrfansifarvergenericsggplot2ggthemesgluegtablehmsisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigplyrpracmaprettyunitsprogresspurrrR6RColorBrewerRcppreadxlrematchreshape2rlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

How to analyze data in AvInertia

Rendered fromhow-to-analyze-data.Rmdusingknitr::rmarkdownon Nov 07 2024.

Last update: 2021-06-28
Started: 2020-09-13

Readme and manuals

Help Manual

Help pageTopics
Moment of inertia tensor of a solid circular cone pyramidcalc_inertia_conesolid
Moment of inertia tensor of a hollow cylindercalc_inertia_cylhollow
Moment of inertia tensor of a solid cylindercalc_inertia_cylsolid
Moment of inertia tensor of a solid elliptical cone - end of purple notebook derivation verified in greencalc_inertia_ellcone
Moment of inertia tensor of a solid elliptical cylinder Reference: https://apps.dtic.mil/sti/pdfs/AD0274936.pdfcalc_inertia_ellcyl
Moment of inertia tensor of solid ellipse CG or a half ellipse centered on the basecalc_inertia_ellipse
Moment of inertia tensor of a flat rectangular plate - assumes thickness is approximately zero Reference: https://apps.dtic.mil/sti/pdfs/AD0274936.pdfcalc_inertia_platerect
Moment of inertia tensor of a flat triangular platecalc_inertia_platetri
Moment of inertia tensor of a solid square pyramid Reference: https://apps.dtic.mil/sti/pdfs/AD0274936.pdf All outputs are based on an origin at the centered point on the basecalc_inertia_pyrasolid
A 3x3 rotation matrix constructed by projecting the new axes onto the original system. Likely results in rotation about all axes.calc_rot
Determine the unit vector of any input vectorcalc_univec
The identified peripheral and joint 3D positions.clean_pts
Combine body and wing inertial components.combine_inertialprop
Compute the inertia of the individual featherscompute_feat_inertia
Bird specific morphology datasetdat_bird_curr
Wing bone specific morphology datasetdat_bone_curr
Flight feather specific morphology datasetdat_feat_curr
Identification variables for current configurationdat_id_curr
Material properties.dat_mat
Optimize torso section densitiesdensity_optimizer
Kroneckerdelta functionkronecker_delta
Calculate the center of gravity and moment of inertia for a halfspan wing.massprop_birdwing
Bone mass propertiesmassprop_bones
Feather mass propertiesmassprop_feathers
Head mass propertiesmassprop_head
Muscle mass propertiesmassprop_muscles
Neck mass propertiesmassprop_neck
Point-mass mass propertiesmassprop_pm
Calculate the center of gravity and moment of inertia for the head, neck, torso and tail.massprop_restbody
Calculates the mass properties of skin or tertiariesmassprop_skin
Head mass propertiesmassprop_tail
Torso and leg mass propertiesmassprop_torso
Determine the feather orientationorient_feather
Parallel axis theoryparallelaxis
Plot the center of gravity of each componentplot_CGloc
A 3x3 rotation matrix allowing rotation about the x-axis. Constructed using a cosine rotation matrix where the rotation angle in degrees is measured counterclockwise allowing positive rotation under the right hand rule.rotx
Store data from the inertia calculations in long formatstore_data
Transform feather specific inertial properties to current positionstructural2VRP_feat