Metadata-Version: 2.1
Name: morphops
Version: 0.1.3
Summary: Geometric morphometrics operations in python
Home-page: https://github.com/vaipatel/morphops
Author: Vai Patel
Author-email: vai.patel@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering
Description-Content-Type: text/x-rst
Requires-Dist: numpy

Welcome to Morphops!
====================

Morphops implements common operations and algorithms for geometric
morphometrics, in python 3.

Dependencies
------------

* numpy

Installation
------------

:code:`pip install morphops`

Usage
-----

.. code-block:: python

   import morphops as mops
   # Create 3 landmark sets, each having 5 landmarks in 2 dimensions.
   A = [[0,0],[2,0],[2,2],[1,3],[0,2]]
   B = [[0.1,-0.1],[2,0],[2.3,1.8],[1,3],[0.4,2]]
   C = [[-0.1,-0.1],[2.1,0],[2,1.8],[0.9,3.1],[-0.4,2.1]]

   # Perform Generalized Procrustes alignment to align A, B, C.
   # :func:`gpa` is in the procrustes module.
   res = mops.gpa([A,B,C])

   # res['X0_ald'] contains the aligned A, B, C.
   # res['X0_mu'] contains the mean of the aligned A, B, C.


