Skip to content

milescsmith/pysmooth

Repository files navigation

Pysmooth

A Python implementation of R's stats::smooth() Tukey's (running median) smoother

PyPI Status Python Version License

Read the documentation at https://pysmooth.readthedocs.io/ Tests Codecov

pre-commit Black

Repobeats analytics image

Features

  • TODO - Replace C/R-style coding with more Pythonic methods

Requirements

  • Python 3.8, 3.9, or 3.10
  • Numpy 1.20

Installation

You can install pysmooth via pip from PyPI:

$ pip install pysmooth

Usage

Pysmooth is intended to be used within another module.

from pysmooth import smooth

smooth(x=arr, kind="3RS3R", twiceit=False, endrule="Tukey")

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the GPL 3.0 license, Pysmooth is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.