Skip to content

Commit 50d2784

Browse files
committed
rebase
0 parents  commit 50d2784

File tree

8 files changed

+269
-0
lines changed

8 files changed

+269
-0
lines changed

.gitignore

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
sites
2+
*.d
3+
4+
# Byte-compiled / optimized / DLL files
5+
__pycache__/
6+
7+
# Compiled Object files
8+
*.slo
9+
*.lo
10+
*.o
11+
*.obj
12+
13+
# Precompiled Headers
14+
*.gch
15+
*.pch
16+
17+
# Compiled Dynamic libraries
18+
*.so
19+
*.dylib
20+
*.dll
21+
22+
# Fortran module files
23+
*.mod
24+
*.smod
25+
26+
# Compiled Static libraries
27+
*.lai
28+
*.la
29+
*.a
30+
*.lib
31+
32+
# Distribution / packaging
33+
.Python
34+
env/
35+
build/
36+
develop-eggs/
37+
dist/
38+
downloads/
39+
eggs/
40+
.eggs/
41+
lib/
42+
lib64/
43+
parts/
44+
sdist/
45+
var/
46+
wheels/
47+
*.egg-info/
48+
.installed.cfg
49+
*.egg
50+
51+
# Executables
52+
*.exe
53+
*.out
54+
*.app
55+
56+
57+
58+
e

CODE_OF_CONDUCT.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at mathis@rowland.harvard.edu. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

LICENSE

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
KINEMATIK: ANAYSIS OF ANIMAL MOVEMENT
2+
SOFTWARE LICENSE AGREEMENT
3+
ACADEMIC OR NON-PROFIT ORGANIZATION NONCOMMERCIAL RESEARCH USE ONLY
4+
[adapted from https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/LICENSE]
5+
6+
BY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO THE TERMS OF THIS LICENSE AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, YOU MAY NOT USE OR DOWNLOAD THE SOFTWARE.
7+
8+
This is a license agreement ("Agreement") between your academic institution or non-profit organization or self (called "Licensee" or "You" in this Agreement) and Harvard University (called "Licensor" in this Agreement). All rights not specifically granted to you in this Agreement are reserved for Licensor.
9+
10+
RESERVATION OF OWNERSHIP AND GRANT OF LICENSE:
11+
Licensor retains exclusive ownership of any copy of the Software (as defined below) licensed under this Agreement and hereby grants to Licensee a personal, non-exclusive,
12+
non-transferable license to use the Software for noncommercial research purposes, without the right to sublicense, pursuant to the terms and conditions of this Agreement. As used in this Agreement, the term "Software" means (i) the actual copy of all or any portion of code for program routines made accessible to Licensee by Licensor pursuant to this Agreement, inclusive of backups, updates, and/or merged copies permitted hereunder or subsequently supplied by Licensor, including all or any file structures, programming instructions, user interfaces and screen formats and sequences as well as any and all documentation and instructions related to it, and (ii) all or any derivatives and/or modifications created or made by You to any of the items specified in (i).
13+
14+
CONFIDENTIALITY: Licensee acknowledges that the Software is proprietary to Licensor, and as such, Licensee agrees to receive all such materials in confidence and use the Software only in accordance with the terms of this Agreement. Licensee agrees to use reasonable effort to protect the Software from unauthorized use, reproduction, distribution, or publication.
15+
16+
COPYRIGHT: The Software is owned by Licensor and is protected by United
17+
States copyright laws and applicable international treaties and/or conventions.
18+
19+
PERMITTED USES: The Software may be used for your own noncommercial internal research purposes. You understand and agree that Licensor is not obligated to implement any suggestions and/or feedback you might provide regarding the Software, but to the extent Licensor does so, you are not entitled to any compensation related thereto.
20+
21+
DERIVATIVES: You may create derivatives of or make modifications to the Software, however, You agree that all and any such derivatives and modifications will be owned by Licensor and become a part of the Software licensed to You under this Agreement. You may only use such derivatives and modifications for your own noncommercial internal research purposes, and you may not otherwise use, distribute or copy such derivatives and modifications in violation of this Agreement.
22+
23+
BACKUPS: If Licensee is an organization, it may make that number of copies of the Software necessary for internal noncommercial use at a single site within its organization provided that all information appearing in or on the original labels, including the copyright and trademark notices are copied onto the labels of the copies.
24+
25+
USES NOT PERMITTED: You may not distribute, copy or use the Software except as explicitly permitted herein. Licensee has not been granted any trademark license as part of this Agreement and may not use the name or mark “Kimematik" or any renditions thereof without the prior written permission of Licensor.
26+
27+
You may not sell, rent, lease, sublicense, lend, time-share or transfer, in whole or in part, or provide third parties access to prior or present versions (or any parts thereof) of the Software.
28+
29+
ASSIGNMENT: You may not assign this Agreement or your rights hereunder without the prior written consent of Licensor. Any attempted assignment without such consent shall be null and void.
30+
31+
TERM: The term of the license granted by this Agreement is from Licensee's acceptance of this Agreement by downloading the Software or by using the Software until terminated as provided below.
32+
33+
The Agreement automatically terminates without notice if you fail to comply with any provision of this Agreement. Licensee may terminate this Agreement by ceasing using the Software. Upon any termination of this Agreement, Licensee will delete any and all copies of the Software. You agree that all provisions which operate to protect the proprietary rights of Licensor shall remain in force should breach occur and that the obligation of confidentiality described in this Agreement is binding in perpetuity and, as such, survives the term of the Agreement.
34+
35+
FEE: Provided Licensee abides completely by the terms and conditions of this Agreement, there is no fee due to Licensor for Licensee's use of the Software in accordance with this Agreement.
36+
37+
DISCLAIMER OF WARRANTIES: THE SOFTWARE IS PROVIDED "AS-IS" WITHOUT WARRANTY OF ANY KIND INCLUDING ANY WARRANTIES OF PERFORMANCE OR MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE OR PURPOSE OR OF NON-INFRINGEMENT. LICENSEE BEARS ALL RISK RELATING TO QUALITY AND PERFORMANCE OF THE SOFTWARE AND RELATED MATERIALS.
38+
39+
SUPPORT AND MAINTENANCE: No Software support or training by the Licensor is provided as part of this Agreement.
40+
41+
EXCLUSIVE REMEDY AND LIMITATION OF LIABILITY: To the maximum extent permitted under applicable law, Licensor shall not be liable for direct, indirect, special, incidental, or consequential damages or lost profits related to Licensee's use of and/or inability to use the Software, even if Licensor is advised of the possibility of such damage.
42+
43+
EXPORT REGULATION: Licensee agrees to comply with any and all applicable
44+
U.S. export control laws, regulations, and/or other laws related to embargoes and sanction programs administered by the Office of Foreign Assets Control.
45+
46+
SEVERABILITY: If any provision(s) of this Agreement shall be held to be invalid, illegal, or unenforceable by a court or other tribunal of competent jurisdiction, the validity, legality and enforceability of the remaining provisions shall not in any way be affected or impaired thereby.
47+
48+
NO IMPLIED WAIVERS: No failure or delay by Licensor in enforcing any right or remedy under this Agreement shall be construed as a waiver of any future or other exercise of such right or remedy by Licensor.
49+
50+
GOVERNING LAW: This Agreement shall be construed and enforced in accordance with the laws of the Commonwealth of Massachusetts without reference to conflict of laws principles.
51+
52+
ENTIRE AGREEMENT AND AMENDMENTS: This Agreement constitutes the sole and entire agreement between Licensee and Licensor as to the matter set forth herein and supersedes any previous agreements, understandings, and arrangements between the parties relating hereto.
53+
54+
55+
56+
************************************************************************
57+
58+
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
59+
60+
This project incorporates material from the project(s) listed below (collectively, "Third Party Code"). This Third Party Code is licensed to you under their original license terms set forth below. We reserves all other rights not expressly granted, whether by implication, estoppel or otherwise.
61+
62+
scikit-kinematics - https://pypi.org/project/scikit-kinematics/
63+
Author: Thomas Haslwanter
64+
Date: 08-02-2019
65+
Ver: 0.8.1
66+
Licence: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
67+
Copyright (c) 2018, Thomas Haslwanter
68+
69+
https://github.com/skvark/opencv-python/blob/master/LICENSE.txt
70+
71+
72+
************END OF THIRD-PARTY SOFTWARE NOTICES AND INFORMATION**********

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<img src="https://images.squarespace-cdn.com/content/v1/57f6d51c9f74566f55ecf271/1564770305666-REUUID2FV6D7B361DZMP/ke17ZwdGBToddI8pDm48kPXc-1wTDUYu2KG1axT7Q_oUqsxRUqqbr1mOJYKfIPR7LoDQ9mXPOjoJoqy81S2I8N_N4V1vUb5AoIIIbLZhVYy7Mythp_T-mtop-vrsUOmeInPi9iDjx9w8K4ZfjXt2dhYH2CD2cFRECnu4OwLnVR-scfeCFITgXNUMaLL3uIzDCjLISwBs8eEdxAxTptZAUg/KINEMATIK-logo.png?format=1000w" width="350" title="camera control" alt="cam cntrl" align="center" vspace = "80">
2+
3+
#### A post-deeplabcut module for kinematic analysis
4+
5+
### under construction ...
6+
### currently this is not publicly available, but feel free to "watch" or "star" to be notified of updates.
7+
8+
9+
## License
10+
11+
Kinematik is freely available for non-commercial use, and may be redistributed under these conditions.
12+
Please, see the license for further details.
13+
14+
## Contact
15+
16+
Mackenzie Mathis - mackenzie@post.harvard.edu

kinematik/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
"""
2+
Kinematik
3+
© A. & M. Mathis Labs
4+
"""
5+
6+
from kinematik.version import __version__

kinematik/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__='0.0b0'

reinstall.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pip uninstall kinematik
2+
python3 setup.py sdist bdist_wheel
3+
pip install dist/kinematik-0.0b0-py3-none-any.whl
4+

setup.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
"""
2+
Kinematik Package
3+
© A. & M. Mathis Labs
4+
https://github.com/MMathisLab/Kinematik/
5+
6+
Please see AUTHORS for contributors.
7+
https://github.com/MMathisLab/Kinematik/blob/master/AUTHORS
8+
"""
9+
10+
import setuptools
11+
12+
with open("README.md", "r") as fh:
13+
long_description = fh.read()
14+
15+
setuptools.setup(
16+
name="kinematik",
17+
version="0.0b",
18+
author="Tanmay Nath, Kai Sandbrink, Alexander Mathis, Mackenzie Mathis",
19+
author_email="mackenzie@post.harvard.edu",
20+
description="Library for kinematic analysis",
21+
long_description=long_description,
22+
long_description_content_type="text/markdown",
23+
url="https://github.com/MMathisLab/Kinematik/",
24+
install_requires=['h5py~=2.7','imageio==2.3.0','intel-openmp',
25+
'ipython~=6.0.0','ipython-genutils==0.2.0',
26+
'matplotlib==3.0.3','moviepy~=0.2.3.5','numpy==1.14.5','opencv-python~=3.4',
27+
'pandas==0.21.0','patsy','python-dateutil==2.7.3','pyyaml>=5.1','requests',
28+
'ruamel.yaml==0.15','setuptools','scikit-image~=0.14.0','scikit-learn~=0.19.2',
29+
'scikit-kinematics','scipy~=1.1.0','six==1.11.0','statsmodels==0.9.0','tables',
30+
'tqdm>4','wheel==0.31.1'],
31+
packages=setuptools.find_packages(),
32+
include_package_data=True,
33+
classifiers=(
34+
"Programming Language :: Python :: 3",
35+
"Operating System :: OS Independent",
36+
))

0 commit comments

Comments
 (0)