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

Monotonic interpolation #117

Merged
merged 2 commits into from
Jan 22, 2016

Conversation

sergiopasra
Copy link
Member

This PR adds a monotonic piece-wise cubic interpolator based on this paper: http://adsabs.harvard.edu/full/1990A%26A...239..443S

This kind of interpolator is useful to resample conserving the total flux.

This interpolator is as fast as scipy.interpolate.PchipInterpolator (at least for the examples I have tested) and is more convenient (it can extrapolate using the last sample in the borders)

@sergiopasra sergiopasra self-assigned this Jan 21, 2016
@sergiopasra sergiopasra added this to the Numina 0.14.x milestone Jan 21, 2016
sergiopasra added a commit that referenced this pull request Jan 22, 2016
Monotonic piece-wise cubic interpolation
@sergiopasra sergiopasra merged commit 7b29b54 into guaix-ucm:master Jan 22, 2016
@sergiopasra sergiopasra deleted the monotonic-interpolation branch January 22, 2016 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant