class_docstr: Base class for Bivariate spline s(x,y) interpolation on the rectangle
  [xb,xe] x [yb, ye] calculated from a given set of data points
  (x,y,z).
  
  See Also
  --------
  bisplrep :
      a function to find a bivariate B-spline representation of a surface
  bisplev :
      a function to evaluate a bivariate B-spline and its derivatives
  BivariateSpline :
      a base class for bivariate splines.
  SphereBivariateSpline :
      a bivariate spline on a spherical grid
class_docstr_tok: ["Base","class","for","Bivariate","spline","s","(","x",",","y",")","interpolation","on","the","rectangle","[","xb",",","xe","]","x","[","yb",",","ye","]","calculated","from","a","given","set","of","data","points","(","x",",","y",",","z",")",".","See","Also","--","--","--","--","bisplrep",":","a","function","to","find","a","bivariate","B-spline","representation","of","a","surface","bisplev",":","a","function","to","evaluate","a","bivariate","B-spline","and","its","derivatives","BivariateSpline",":","a","base","class","for","bivariate","splines",".","SphereBivariateSpline",":","a","bivariate","spline","on","a","spherical","grid"]
docstr: Construct a spline object from given tck and degree
docstr_tok: ["Construct","a","spline","object","from","given","tck","and","degree"]
code: def _from_tck(cls, tck):
      """Construct a spline object from given tck and degree"""
      self = cls.__new__(cls)
      if len(tck) != 5:
          raise ValueError(
              "tck should be a 5 element tuple of tx," " ty, c, kx, ky"
          )
      self.tck = tck[:3]
      self.degrees = tck[3:]
      return self
  
imports: import warnings
  from numpy import zeros, concatenate, ravel, diff, array, ones
  import numpy
  from .None import _fitpack_impl
  from .None import dfitpack
label_desc: Use image node_id 1 for calling the _BivariateSplineBase obj's underlying member method code with example usage: obj._from_tck(cls, tck) and returns: self