Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Data and model files

The simulator’s results are only as good as the numbers it starts from. This appendix lists every body of data in the repository, where it came from, under what licence, and how it is used. Two rules hold throughout:

  • Model inputs live in models/; measurements used only to judge the model live in reference/. A number that shaped the model is not later used as evidence that the model is right.
  • Every value names its source. Tables carry a source_id column and model files a source field; each id is an entry in the registry reference/sources/, shown in Sources. The entry records how much of the source was actually read. python3 tools/book/sources.py check fails if any id is missing.

The anatomy atlas

models/atlas/bodyparts3d/ holds 138 surfaces of the right upper limb and shoulder girdle from the BodyParts3D atlas, release 4.0: bones, muscles, the membrane between the forearm bones and the retinaculum of the wrist.

SourceBodyParts3D, © The Database Center for Life Science
LicenceCreative Commons Attribution 4.0 International (CC BY 4.0)
PublicationMitsuhashi et al. 2009
SubjectOne adult man. The atlas was built on a whole-body MRI model (stature about 1.73 m, body mass 65 kg) and then edited by medical illustrators
FormTriangle surfaces in OBJ files, in millimetres, stored byte for byte as distributed

The directory also holds a manifest with a hash of every file, the atlas’s own part lists, the licence evidence, and measurements made on the surfaces: mesh quality, overlaps between neighbouring structures, joint spaces and bony landmarks.

The atlas has no ligaments, no joint cartilage, no joint capsules and no separate tendons; each tendon is drawn as part of its muscle’s surface. A denser earlier release, 3.0, exists. Its own documents state a share-alike licence, so the model does not use it and the repository does not carry it; a copy is kept outside the repository only for comparison.

models/atlas/bodyparts3d/vessels_interim/ holds the atlas’s arm arteries and veins as modified copies: repaired, resized to measured calibres, and with the second vein of each pair generated beside its artery. They remain under CC BY 4.0, and each file’s header and the directory’s manifest state the atlas’s attribution and what was changed. The laboratories’ own reduced bone and muscle surfaces (crates/biomech_labs/assets/) carry the same attribution and change notes.

Open imaging, kinematics and dissection data

Other open data sets are read by the research scripts in tools/research/. Their files stay outside the repository; what is committed is a manifest of each file read (address, size and hash) and the values measured on them.

Data setLicenceWhat is committed
Andreassen et al. 2026, four-dimensional CT of three living wrists (Mayo Clinic, Zenodo)CC BY 4.0The digit joint table derived from its bone surfaces (models/ct/andreassen2026/digit_joints_h2.json), with the data set’s licence, attribution and a sha256 manifest of the files the research scripts read. The surfaces and carpal motions themselves are not in the repository: the scripts fetch them from Zenodo
MULTIS, tissue layers of the limbs (Cleveland Clinic Foundation, SimTK)CC BY 4.0, © 2019 Cleveland Clinic FoundationFat thickness (reference/measurements/g_multi_arm_fat_thickness_open_data_r9b.csv), indentation trials and measures on the donors’ CT and MRI (tools/research/); the humerus, ulna and radius of the nine in vitro donors as 27 surface meshes made from their CT (segmented, smoothed and resampled; models/imaging/multis-invitro/bones/); and the mean form and modes of variation of each of the three bones over the nine donors (segmented, meshed, fitted with one template surface, averaged; models/imaging/multis-invitro/shape/)
OpenArm 2.0, ultrasound volumes of the biceps under load (SimTK)CC BY 4.0Subjects, profiles and load changes (reference/measurements/f_openarm2_*.csv)
Kolz et al. 2021 data set, shoulder kinematics of 20 people (Zenodo)CC BY 4.0Static shoulder-blade orientations (tools/research/shoulder2/, tools/research/kolz2021/)
van Beesel et al. 2025, rotator cuff attachment meshes (Zenodo)CC BY 4.0Footprints measured on the meshes (models/arm/footprints/)
Hong et al. 2021, supplementary workbook S1CC BY 4.0Per-donor radius and ulna differences (tools/research/r24a/)
Veeger and van der Helm 2024, shoulder dissection data with Klein Breteler’s 1996 report (4TU.ResearchData)CC0 1.0Serratus anterior attachments and sarcomere lengths, cited through this deposit

Body-segment proportions

models/anthropometry/segments.toml holds the mass, centre of mass and radii of gyration of the upper arm, forearm and hand as proportions of body mass and segment length, for men and women, from de Leva 1996, with a second set of cadaver measurements from Clauser et al. 1969 for comparison.

The arm model

models/arm/ holds the arm’s hand-written specifications, the files arm_builder writes from them and the builder’s reports. The three at its centre are these:

FileWritten byContents
spec.tomlhandEverything about the arm that is not measured from the atlas: the subject, joint ranges, which atlas surface is which muscle and which bones it attaches to, fibre properties copied from published tables, and for each muscle the pose in which its fibre length is known. Every entry names its source or says that it was chosen.
arm.jsonarm_builderThe model the simulator loads: bodies with joint centres, axes and mass properties; muscles with path points, wrapping surfaces, fibre properties and tendon slack length; and for every value where it came from.
build-report.mdarm_builderWhat the tool measured on the way: joint angles of the atlas pose, attachment areas, wrapping radii, and tables of moment arm against joint angle.

No coordinate in arm.json is typed in by hand. The tool measures joint centres and axes on the atlas bones and each muscle’s attachments and centreline on its atlas surface, by rules described in Stage 3: the whole arm in one dimension.

The others follow the same pattern of a specification, a built file and a report: the elbow (elbow*), the ligaments, the cartilage, the soft tissue (tissue*), the nerves (nerves/), the arm’s volume (volume/, tissue-volume.json), the measured muscle footprints (footprints/) and the corrected ulna (bones/ulna.obj). register/ is the parameter register: for every numeric value in the specifications, its source, how it was obtained and the subjects it was measured on.

Published measurements

reference/measurements/ holds tables transcribed from the literature, one file per table, each row with its original value and unit, its SI value, where in the source it stands, and its source id.

PrefixSubject
a_Moment arms of elbow and shoulder muscles
b_Muscle architecture: fibre lengths, cross-sections, volumes, and the parameters of published models
c_Strength: maximum joint torques against angle, speed, age and sex
d_Tendon properties
e_Muscle model constants: activation times, force–velocity parameters, specific tension
f_Muscle shape and fibre length measured in living people
g_Body dimensions and segment properties of measured groups
h_Ranges of joint motion, joint axes, sarcomere lengths measured in stated postures, and the path of latissimus dorsi
i_Attachments, ligaments, cartilage and joint geometry of the elbow, shoulder, wrist and hand
j_Whole-elbow tests the jointed elbow is judged against
k_Soft tissues: fat, skin, fascia, membranes, sheaths, nerves and vessels
l_Bone tissue

reference/measurements/subjects/ records who was measured for each table: number, sex, age, size and method.

reference/joints/ holds what was found on the elbow’s ligaments, cartilage and stability. reference/muscle-models/ holds the published definitions of the muscle model’s curves, constant by constant, with the place each constant is stated.

Tables generated by OpenSim

reference/opensim/ holds tables of muscle curves, isometric muscle states and simulated motions computed by OpenSim 4.6 for the Arm26 model, which is distributed with OpenSim under CC BY 3.0. They are test fixtures. Each directory records the OpenSim version, the model file’s hash and the generating script. reference/opensim/licence-evidence/ keeps the licence texts of the OpenSim models the registry cites.

Software shipped with the book

ComponentUseLicence
three.jsDraws the laboratories’ 3D scenes in the browserMIT
KaTeX 0.16.4 (stylesheet and fonts)Displays mathematicsMIT
mdBookRenders the chapters and supplies the page theme, which bundles further components under their own licencesMPL 2.0
Rust libraries compiled into the laboratories’ WebAssembly: nalgebra, simba and approx; serde and serde_json; wasm-bindgen; num, typenum, generic-array, sha2 and their helpersThe laboratories’ mathematics, data reading and browser interfaceApache 2.0 or MIT (most under either, at the user’s choice; generic-array, libm and zmij MIT only; a few also offer Zlib or the Unlicense). Every crate’s own licence and notice files are served with the WebAssembly, in THIRD-PARTY-NOTICES.txt, written at each build from Cargo.lock by tools/book/wasm_notices.py

Licences and credit

The simulator, the laboratories and the text of this book are under the repository’s licence, the Apache License 2.0. The atlas surfaces remain under CC BY 4.0.

Any source may be cited. A source whose licence is share-alike or forbids commercial use is not copied into the repository: its data files, tables and text stay out of it. What the model takes from such a source is a value derived from it, a summary in this project’s own words, or a single printed value cited with its source, and the table row that holds it says which (reference/sources/README.md, “Sources kept only locally”).

The organisations and people whose data, models and measurements are used, with the credit lines they ask for, are listed once in Credits and acknowledgements. A laboratory that draws the atlas surfaces gives the atlas’s credit line in a small closed “Credits” block under its sources.