Wolfram言語

Knowledgebaseの拡張

生体構造の可視化と解析を行う

ヒトの足の骨の構造と皮膚をプロットし,表面積(単位:平方ミリメートル)を推定する.

In[1]:=
Click for copyable input
Row[EntityValue[{Entity["AnatomicalStructure", "RightFoot"], Entity["AnatomicalStructure", "SkinOfRightFoot"]}, "MeshRegion"]]
Out[1]=
In[2]:=
Click for copyable input
Area[EntityValue[Entity["AnatomicalStructure", "SkinOfRightFoot"], "MeshRegion"]]
Out[2]=

気管支動脈の末梢部分の接続性をプロットする.

In[3]:=
Click for copyable input
NestGraph[Cases[EntityValue[#, "Branches"], _Entity] &, Entity["AnatomicalStructure", "BrachialArtery"], 3, VertexLabels -> Placed["Name", Tooltip], EdgeStyle -> Pink, VertexStyle -> Pink, GraphStyle -> "BasicBlack"]
Out[3]=

左前腕の構成部位を求める.

In[4]:=
Click for copyable input
g = NestGraph[Cases[EntityValue[#, "ConstitutionalParts"], _Entity] &, Entity["AnatomicalStructure", "LeftForearm"], 2]
Out[4]=

咽頭,食道,胃,小腸,大腸の長さの合計を計算する.

In[5]:=
Click for copyable input
UnitConvert[ EntityValue[ EntityGroup[{Entity["AnatomicalStructure", "Pharynx"], Entity["AnatomicalStructure", "Esophagus"], Entity["AnatomicalStructure", "Stomach"], Entity["AnatomicalStructure", "SmallIntestine"], Entity["AnatomicalStructure", "LargeIntestine"]}], "Length"], "Metric"]
Out[5]=

男性と女性の足の大きさ(長さと幅)を比較する.

In[6]:=
Click for copyable input
# -> (UnitConvert[#, "Centimeters"] & /@ EntityValue[ EntityInstance[Entity["AnatomicalStructure", "Foot"], "Gender" -> #], {"Length", "Width"}, "PropertyAssociation"]) & /@ {"Female", "Male"}
Out[6]=

関連する例

de en es fr ko pt-br ru zh