The SKIRT project
advanced radiative transfer for astrophysics
Public Member Functions | Public Attributes | List of all members
pts.visual.rgbimage._CubicSpline Class Reference

An instance of the CubicSpline class implements a function \(y=f(x)\) composed of three cubic spline segments of the form \(y=ax^3+bx^2+cx+d\). More...

Public Member Functions

def __init__ (self, point1, point2)
 
def ay (self, x)
 
def y (self, x)
 

Public Attributes

 a1
 
 a2
 
 a3
 
 b1
 
 b2
 
 b3
 
 c1
 
 c2
 
 c3
 
 d1
 
 d2
 
 d3
 
 x1
 
 x2
 

Detailed Description

An instance of the CubicSpline class implements a function \(y=f(x)\) composed of three cubic spline segments of the form \(y=ax^3+bx^2+cx+d\).

The function is constrained as follows:


The documentation for this class was generated from the following file: