Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

splines, constant extrapolation #3917

Merged
merged 4 commits into from
Aug 31, 2014
Merged

splines, constant extrapolation #3917

merged 4 commits into from
Aug 31, 2014

Conversation

ev-br
Copy link
Member

@ev-br ev-br commented Aug 30, 2014

continues, supersedes and closes gh-3697.
Adds a constant extrapolation mode to UniveriateSpline.
Basically, this is just a rebase of gh-3697 on master now that gh-3773 has been merged.

similar to the _from_tck to UnivariateSpline
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0%) when pulling 92de6fd on ev-br:pr-3697-1 into 5377db7 on scipy:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.0%) when pulling 92de6fd on ev-br:pr-3697-1 into 5377db7 on scipy:master.

@@ -266,6 +267,23 @@ def test_1d_shape(self):
z = splev(1, tck)
assert_equal(z.shape, ())

def test_extrapolation_modes(self):
""" test extrapolation modes
Copy link
Member

Choose a reason for hiding this comment

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

This should be a comment, not a docstring.

@rgommers rgommers added this to the 0.15.0 milestone Aug 31, 2014
@ev-br
Copy link
Member Author

ev-br commented Aug 31, 2014

Indeed. Fixed in the last commit.

rgommers added a commit that referenced this pull request Aug 31, 2014
splines, constant extrapolation
@rgommers rgommers merged commit f6f25b7 into scipy:master Aug 31, 2014
@rgommers
Copy link
Member

LGTM, merging.

@ev-br ev-br deleted the pr-3697-1 branch August 31, 2014 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or improvement scipy.interpolate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants