Package ffx.crystal
Class ReflectionSpline
java.lang.Object
ffx.crystal.ReflectionSpline
The ReflectionSpline class represents a reflection spline basis.
- Since:
- 1.0
- Author:
- Timothy D. Fenn
- See Also:
-
Constructor Summary
ConstructorDescriptionReflectionSpline
(ReflectionList reflectionList, int nParams) Constructor for ReflectionSpline. -
Method Summary
-
Constructor Details
-
ReflectionSpline
Constructor for ReflectionSpline.- Parameters:
reflectionList
- aReflectionList
object.nParams
- an int.
-
-
Method Details
-
dfi0
public double dfi0()dfi0- Returns:
- a double.
-
dfi1
public double dfi1()dfi1- Returns:
- a double.
-
dfi2
public double dfi2()dfi2- Returns:
- a double.
-
f
public double f()f- Returns:
- a double.
-
f
public double f(double invResSq, double[] params) Evaluate basis function and derivative at a given resolutionEquations 24 and 25 in Cowtan et al.
- Parameters:
invResSq
- resolution of desired spline interpolationparams
- current spline parameters- Returns:
- value at invResSq
-
i0
public int i0()i0- Returns:
- an int.
-
i1
public int i1()i1- Returns:
- an int.
-
i2
public int i2()i2- Returns:
- an int.
-