mass-composition
Contents:
Installation
Quick Start Guide
Troubleshooting
User Guide
Example Gallery
Xarray Gallery
Datasets
Glossary
API Reference
License
mass-composition
Module code
elphick.mass_composition.utils.geometry
Source code for elphick.mass_composition.utils.geometry
import
numpy
as
np
[docs]
def
midpoint
(
p1
,
p2
):
return
np
.
mean
([
p1
,
p2
],
axis
=
0
)