Skip to content

wrapped_spline breaks when phi is not between -np.pi and np.pi #29

Description

@christinahedges

wrapped_spline is designed to wrap the spline at -np.pi/np.pi, but if you pass in an array that doesn't go between those values, it breaks in a really weird way:

image

image

We need some sort of error check to see if the input angle is actually supposed to be wrapped, or we need to make wrapped_spline more robust.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions