Package ffx.crystal

Class ReflectionSpline

java.lang.Object
ffx.crystal.ReflectionSpline

public class ReflectionSpline extends Object
The ReflectionSpline class represents a reflection spline basis.
Since:
1.0
Author:
Timothy D. Fenn
See Also:
  • Constructor Details

    • ReflectionSpline

      public ReflectionSpline(ReflectionList reflectionList, int nParams)
      Constructor for ReflectionSpline.
      Parameters:
      reflectionList - a ReflectionList 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 resolution

      Equations 24 and 25 in Cowtan et al.

      Parameters:
      invResSq - resolution of desired spline interpolation
      params - 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.