FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Check docstring for wsinterp() · Issue #323 · diffpy/diffpy.utils · GitHub

Repository navigation

Check docstring for wsinterp() #323

Closed

Description

Problem

In resampler.py the function wsinterp() has docstring that says

left: float
        If given, set fp for x < xp[0] to left. Otherwise, if left is None (default) or not given,
        set fp for x < xp[0] to fp evaluated at xp[-1].

This doesn't make sense, and it's also not what the code is doing. I think xp[-1] here should be xp[0].

Proposed solution

As suggested.

Activity

  1. added this to the 3.7.0 release milestone on Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL