https://github.com/christopheberthod/piecewise.jl

https://github.com/christopheberthod/piecewise.jl

Science Score: 93.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: ChristopheBerthod
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 4.95 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

Piecewise

CI codecov status

This repository contains three modules written in Julia:

  • Piecewise – Tools for defining piecewise functions made of user-defined elementary functions with parameters, called formulas. Properly configured formulas enable fast integral transforms of the piecewise function. The module defines seven formulas and a method for fitting a piecewise function with arbitrary formulas to a real function of a real variable.

  • PiecewiseHilbert – Add methods to the formulas defined in Piecewise, enabling fast Hilbert transform of the piecewise functions that use these formulas.

  • PiecewiseLorentz – Add methods to some of the formulas defined in Piecewise, enabling what we call a Lorentz transform of the piecewise functions.

Dependencies

HypergeometricFunctions  |  LsqFit  |  PolyLog

Installation

julia using Pkg; Pkg.add.(["Piecewise", "PiecewiseHilbert", "PiecewiseLorentz"]);

Examples

Contributing

Contributions and suggestions are welcome. If you're interested in contributing, please feel free to reach out via email. Bug reports can be submitted through the issue tracker, but email is preferred for quicker responses.

This policy may evolve if additional contributors become actively involved.

Expert input would be especially valuable in the following areas:

  • Evaluation performance: The evaluation of PiecewiseFunction objects appears to be slower than desirable. More efficient strategies to identify the relevant domain could yield significant improvements.

  • Parallel execution: The parallelism in piecewisefit could benefit from the scrutiny of those with a deeper understanding of Julia's parallel execution.

Owner

  • Login: ChristopheBerthod
  • Kind: user

JOSS Publication

Piecewise: Flexible piecewise functions for fast integral transforms in Julia
Published
September 22, 2025
Volume 10, Issue 113, Page 8329
Authors
Christophe Berthod ORCID
Department of Quantum Matter Physics, University of Geneva, 1211 Geneva, Switzerland
Editor
George K. Thiruvathukal ORCID
Tags
julia piecewise function integral transform

GitHub Events

Total
  • Issues event: 25
  • Issue comment event: 15
  • Push event: 24
  • Pull request event: 1
  • Fork event: 1
  • Create event: 8
Last Year
  • Issues event: 25
  • Issue comment event: 15
  • Push event: 24
  • Pull request event: 1
  • Fork event: 1
  • Create event: 8

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 17
  • Total pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Total issue authors: 2
  • Total pull request authors: 0
  • Average comments per issue: 0.59
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 17
  • Pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Issue authors: 2
  • Pull request authors: 0
  • Average comments per issue: 0.59
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ChristopheBerthod (14)
  • ranocha (3)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • julia 3 total
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 9
juliahub.com: Piecewise
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 2 Total
Rankings
Dependent repos count: 8.4%
Average: 22.3%
Dependent packages count: 36.3%
Last synced: 6 months ago
juliahub.com: PiecewiseHilbert
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1 Total
Rankings
Dependent repos count: 8.4%
Average: 22.3%
Dependent packages count: 36.3%
Last synced: 6 months ago
juliahub.com: PiecewiseLorentz
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 8.4%
Average: 22.3%
Dependent packages count: 36.3%
Last synced: 6 months ago