pydescriptors

Python implementation of various 2D and 3D compactness measures.

https://github.com/c-martinez/pydescriptors

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.6%) to scientific vocabulary
Last synced: 8 months ago · JSON representation ·

Repository

Python implementation of various 2D and 3D compactness measures.

Basic Info
  • Host: GitHub
  • Owner: c-martinez
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 27.3 KB
Statistics
  • Stars: 10
  • Watchers: 3
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Created about 11 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation Codemeta

README.MD

PyDescriptors

Compactness shape descriptors in Python

This package contains Python implementation of various 2D and 3D compactness measures described in 2D and 3D Shape Descriptors.

Installation

You can install this package by downloading the source and installing it with pip: $ wget https://github.com/c-martinez/pydescriptors/archive/master.zip $ pip install master.zip

Or directly from git: $ pip install git+git://github.com/c-martinez/pydescriptors.git

Usage

``` from pydescriptors.compactness import hz as compactnesshz from pydescriptors.compactness import bribiesca as compactnessbribiesca from pydescriptors.helpers import getSphere

sphere = getSphere(20) X,Y,Z = sphere.nonzero()

compactnessbribiesca(X,Y,Z) compactnesshz(X,Y,Z) ```

Testing

Run:

$ nosetests

Citations

If you use this code, please cite 2D and 3D Shape Descriptors.

TODO: - Add tests for compactness - Add Usage - Add installation guide (from source) - Add more descriptors - Documentation - Auto testing - pyflakes (auto) - pep8 (auto) - Add citation file - Add to Zenodo - Add TODO's as issues

Owner

  • Name: Carlos Martinez
  • Login: c-martinez
  • Kind: user
  • Company: @NLeSC

Citation (CITATION.cff)

# This CITATION.cff file was generated with FAIRshare.
# Visit https://fairdataihub.org/fairshare to learn more!

abstract: Python implementation of various 2D and 3D compactness measures.
authors:
- affiliation: eScience Center
  family-names: Martinez Ortiz
  given-names: Carlos
  orcid: 0000-0001-5565-7577
cff-version: 1.2.0
date-released: '2022-08-17T15:40:44.296Z'
keywords:
- Shape descriptor
- Compactness
license: Apache-2.0
message: If you use this software, please cite it as below.
repository-code: https://github.com/c-martinez/pydescriptors
title: PyDescriptors
type: software

CodeMeta (codemeta.json)

{
  "@context": "https://doi.org/10.5063/schema/codemeta-2.0",
  "@type": "SoftwareSourceCode",
  "license": "https://spdx.org/licenses/Apache-2.0",
  "codeRepository": "https://github.com/c-martinez/pydescriptors",
  "dateCreated": "2015-02-04T22:03:09Z",
  "dateModified": "2022-08-17T15:40:44.296Z",
  "issueTracker": "https://github.com/c-martinez/pydescriptors/issues",
  "name": "PyDescriptors",
  "description": "Python implementation of various 2D and 3D compactness measures.",
  "referencePublication": "http://hdl.handle.net/10036/3026",
  "keywords": [
    "Shape descriptor",
    "Compactness"
  ],
  "programmingLanguage": [
    "Python",
    "Jupyter Notebook"
  ],
  "author": [
    {
      "@type": "Person",
      "@id": "https://orcid.org/0000-0001-5565-7577",
      "givenName": "Carlos",
      "familyName": "Martinez Ortiz",
      "affiliation": {
        "@type": "Organization",
        "name": "eScience Center"
      }
    }
  ]
}

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 17
  • Total Committers: 2
  • Avg Commits per committer: 8.5
  • Development Distribution Score (DDS): 0.471
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Carlos Martinez c****z@e****l 9
Carlos Martinez n****s@g****m 8
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: about 8 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • RicardoMBorges (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

setup.py pypi
  • numpy *