interpolation

Bindings for numeric::interpolation namespace

class pyrosetta.rosetta.numeric.interpolation.CatmullRomSplineBoundaryType

Bases: pybind11_object

Members:

PERIODIC

FLAT

LINEAR

FLAT = <CatmullRomSplineBoundaryType.FLAT: 1>
LINEAR = <CatmullRomSplineBoundaryType.LINEAR: 2>
PERIODIC = <CatmullRomSplineBoundaryType.PERIODIC: 0>
property name
pyrosetta.rosetta.numeric.interpolation.make_spline(*args, **kwargs)

Overloaded function.

  1. make_spline(bins_vect: pyrosetta.rosetta.utility.vector1_double, potential_vect: pyrosetta.rosetta.utility.vector1_double, bin_size: float) -> pyrosetta.rosetta.numeric.interpolation.spline.SplineGenerator

  2. make_spline(bins_vect: pyrosetta.rosetta.utility.vector1_double, potential_vect: pyrosetta.rosetta.utility.vector1_double, bin_size: float, boundary_functions: pyrosetta.rosetta.utility.vector1_std_tuple_std_string_double_double_double_t) -> pyrosetta.rosetta.numeric.interpolation.spline.SplineGenerator

given a file, return a 2D spline

C++: numeric::interpolation::make_spline(const class utility::vector1<double, class std::allocator<double> > &, const class utility::vector1<double, class std::allocator<double> > &, const double, const class utility::vector1<class std::tuple<std::string, double, double, double>, class std::allocator<class std::tuple<std::string, double, double, double> > > &) –> class numeric::interpolation::spline::SplineGenerator

pyrosetta.rosetta.numeric.interpolation.spline_from_file(filename: str, bin_size: float) pyrosetta.rosetta.numeric.interpolation.spline.SplineGenerator

C++: numeric::interpolation::spline_from_file(const std::string &, const double) –> class numeric::interpolation::spline::SplineGenerator

pyrosetta.rosetta.numeric.interpolation.spline_from_stream(iss: pyrosetta.rosetta.std.istream, bin_size: float) pyrosetta.rosetta.numeric.interpolation.spline.SplineGenerator

Initialize a SplineGenerator from a std::istream. Note: only reads from the currenet line of the istream.

Vikram K. Mulligan (vmulligan.org).

C++: numeric::interpolation::spline_from_stream(std::istream &, const double) –> class numeric::interpolation::spline::SplineGenerator

pyrosetta.rosetta.numeric.interpolation.to_string(type: pyrosetta.rosetta.numeric.interpolation.CatmullRomSplineBoundaryType) str

C++: numeric::interpolation::to_string(const enum numeric::interpolation::CatmullRomSplineBoundaryType &) –> std::string