diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-04-06 15:54:13 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-04-06 15:54:13 +0200 |
commit | 759e3cf94bbcd56132b5106ed69394854a0cd087 (patch) | |
tree | cde8b9cc4bb3b8cd2f8c2dca1229ff0d6a087b3b | |
parent | document monotonicly_cubicly_interpolate_ramp (diff) | |
download | blueshift-759e3cf94bbcd56132b5106ed69394854a0cd087.tar.gz blueshift-759e3cf94bbcd56132b5106ed69394854a0cd087.tar.bz2 blueshift-759e3cf94bbcd56132b5106ed69394854a0cd087.tar.xz |
demo monotonicly_cubicly_interpolate_ramp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | examples/comprehensive | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/comprehensive b/examples/comprehensive index 1fcf299..14a62b6 100644 --- a/examples/comprehensive +++ b/examples/comprehensive @@ -324,6 +324,10 @@ for i in range(len(current_calibration)): #f = interpolate_function(f, cubicly_interpolate_ramp) # Use semitense cubic interpolation #f = interpolate_function(f, lambda *c : cubicly_interpolate_ramp(*c, tension = 0.5)) + # Use monotone cubic interpolation + #f = interpolate_function(f, monotonicly_cubicly_interpolate_ramp) + # Use semitense monotone cubic interpolation + #f = interpolate_function(f, lambda *c : monotonicly_cubicly_interpolate_ramp(*c, tension = 0.5)) # Otherwise use nearest-neighbour current_calibration[i] = f @@ -516,6 +520,10 @@ def periodically(year, month, day, hour, minute, second, weekday, fade): #f = interpolate_function(f, cubicly_interpolate_ramp) # Use semitense cubic interpolation #f = interpolate_function(f, lambda *c : cubicly_interpolate_ramp(*c, tension = 0.5)) + # Use monotone cubic interpolation + #f = interpolate_function(f, monotonicly_cubicly_interpolate_ramp) + # Use semitense monotone cubic interpolation + #f = interpolate_function(f, lambda *c : monotonicly_cubicly_interpolate_ramp(*c, tension = 0.5)) # Otherwise use nearest-neighbour icc_calibration_profile[i] = f |