Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ OpenPIV is a Python library for Particle Image Velocimetry (PIV) analysis of flu
- `tools.py` — I/O and visualization: `imread()`, `save()`, `display_vector_field()`, `transform_coordinates()` (always call before saving/displaying results — raw PIV output coordinates are in image/array convention, not physical/plot convention).
- `scaling.py` — coordinate scaling and transformation.
- `preprocess.py` — image preprocessing (background subtraction, masking).
- `smoothn.py` — robust spline smoothing; a Python port of `smoothn.m` (D. Garcia / Prof. Lewis) bundled for convenience — it is not covered by the OpenPIV license, see README for attribution.
- `smoothn.py` — robust scalar field smoothing using `scipy.interpolate` and penalized splines for 1D, 2D, and N-D data with missing values (NaNs) and masked arrays.
- `phase_separation.py` — solid-phase / liquid-tracer separation utilities.

### Typical call chains
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ These and many additional examples are in another repository: [OpenPIV-Python-Ex
15. [Yuri Ishizawa](https://github.com/yuriishizawa)


Copyright statement: `smoothn.py` is a Python version of `smoothn.m` originally created by D. Garcia [https://de.mathworks.com/matlabcentral/fileexchange/25634-smoothn], written by Prof. Lewis and available on Github [https://github.com/profLewis/geogg122/blob/master/Chapter5_Interpolation/python/smoothn.py]. We include a version of it in the `openpiv` folder for convenience and preservation. We are thankful to the original authors for releasing their work as an open source. OpenPIV license does not relate to this code. Please communicate with the authors regarding their license.
Smoothing: `smoothn.py` provides scalar field smoothing for velocity fields (1D, 2D, and N-D) with support for missing data (NaNs) and masked arrays using `scipy.interpolate` and robust penalized spline methods. It is covered under the OpenPIV GPL v3 license. Based on discretized smoothing principles from D. Garcia (2010).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 High · Smoothing license is misrepresented

The README now claims smoothn.py is covered by the OpenPIV GPL v3 license and removes the original author attribution; the CLAUDE.md change also removes the statement that it is not covered and points readers to the README for attribution. This contradicts the repository’s licensing guidance and leaves users with incorrect licensing and attribution information.

Restore the licensing and attribution information required by the repository guidance in the README and retain an accurate reference to it in CLAUDE.md.

Also at CLAUDE.md:39.

Prompt for AI agents
In `README.md` at line 193:

**Smoothing license is misrepresented**

The README now claims `smoothn.py` is covered by the OpenPIV GPL v3 license and removes the original author attribution; the CLAUDE.md change also removes the statement that it is not covered and points readers to the README for attribution. This contradicts the repository’s licensing guidance and leaves users with incorrect licensing and attribution information.

Restore the licensing and attribution information required by the repository guidance in the README and retain an accurate reference to it in CLAUDE.md.

Also at `CLAUDE.md:39`.

From CLAUDE.md L39:

- `smoothn.py` — robust spline smoothing; a Python port of `smoothn.m` (D. Garcia / Prof. Lewis) bundled for convenience — it is not covered by the OpenPIV license, see README for attribution.


## How to cite this work
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.593157.svg)](https://doi.org/10.5281/zenodo.593157)
Expand Down
Loading
Loading