Science Score: 52.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
  • Academic email domains
  • Institutional organization owner
    Organization datasig-ac-uk has institutional domain (datasig.web.ox.ac.uk)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: datasig-ac-uk
  • License: mit
  • Language: C++
  • Default Branch: master
  • Size: 54.7 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Created almost 6 years ago · Last pushed almost 2 years ago
Metadata Files
Readme Changelog License Citation

README.md

PySegments

Tools for working with intervals and dyadic segmentation in Python.

Installation

For now, the only way to install this package is to download from GitHub and build from source. This can be done using pip. python3 -m pip install git+https://github.com/datasig-ac-uk/pysegments.git

Example usage

The segment function in this module can be used to perform dyadic segmentation of a base interval to isolate the parts of this interval for which a characteristic function return true. These "parts" are generated by partitioning the base interval into dyadic intervals of given length, and then removing those dyadic intervals on which the characteristic function is not constantly 1. A simple example of its use is as follows. ```python from pysegments import Interval, segment

def char_function(interval): return interval.inf >= 0.3 and interval.sup <= 0.752

base = Interval(-5, 5) segments = segment(base, char_function, 2)

segments = [Interval(0.50000, 0.750000)]

```

Owner

  • Name: DataSig
  • Login: datasig-ac-uk
  • Kind: organization

A rough path between mathematics and data science

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below"
authors:
  - family-names: "Lyons"
    given-names: "Terry"
    orcid: "https://orcid.org/0000-0002-9972-2809"
  - family-names: "Moore"
    given-names: "Paul"
    orcid: "http://orcid.org/0000-0001-6171-4072"
  - family-names: "Morley"
    given-names: "Sam"
    orcid: "https://orcid.org/0000-0001-5971-7418"
title: "PySegments"
version: 0.3
date-released: 2023-12-7
url: "https://github.com/datasig-ac-uk/pysegments"

GitHub Events

Total
Last Year