class_docstr: Represents Fourier sine/cosine series.
  
  Explanation
  ===========
  
  This class only represents a fourier series.
  No computation is performed.
  
  For how to compute Fourier series, see the :func:`fourier_series`
  docstring.
  
  See Also
  ========
  
  sympy.series.fourier.fourier_series
class_docstr_tok: ["Represents","Fourier","sine\/cosine","series",".","Explanation","===========","This","class","only","represents","a","fourier","series",".","No","computation","is","performed",".","For","how","to","compute","Fourier","series",",","see","the",":","func",":","`","fourier_series","`","docstring",".","See","Also","========","sympy.series.fourier.fourier_series"]
docstr: Shift the function by a term independent of x.
  
  Explanation
  ===========
  
  f(x) -> f(x) + s
  
  This is fast, if Fourier series of f(x) is already
  computed.
  
  Examples
  ========
  
  >>> from sympy import fourier_series, pi
  >>> from sympy.abc import x
  >>> s = fourier_series(x**2, (x, -pi, pi))
  >>> s.shift(1).truncate()
  -4*cos(x) + cos(2*x) + 1 + pi**2/3
code: def shift(self, s):
      """
      Shift the function by a term independent of x.
  
      Explanation
      ===========
  
      f(x) -> f(x) + s
  
      This is fast, if Fourier series of f(x) is already
      computed.
  
      Examples
      ========
  
      >>> from sympy import fourier_series, pi
      >>> from sympy.abc import x
      >>> s = fourier_series(x**2, (x, -pi, pi))
      >>> s.shift(1).truncate()
      -4*cos(x) + cos(2*x) + 1 + pi**2/3
      """
      s, x = sympify(s), self.x
  
      if x in s.free_symbols:
          raise ValueError("'%s' should be independent of %s" % (s, x))
  
      a0 = self.a0 + s
      sfunc = self.function + s
  
      return self.func(sfunc, self.args[1], (a0, self.an, self.bn))
  
imports: from sympy.core.numbers import oo, pi
  from sympy.core.symbol import Wild
  from sympy.core.expr import Expr
  from sympy.core.add import Add
  from sympy.core.containers import Tuple
  from sympy.core.singleton import S
  from sympy.core.symbol import Dummy, Symbol
  from sympy.core.sympify import sympify
  from sympy.functions.elementary.trigonometric import sin, cos, sinc
  from sympy.series.series_class import SeriesBase
  from sympy.series.sequences import SeqFormula
  from sympy.sets.sets import Interval
  from sympy.utilities.iterables import is_sequence
label_desc: Use image node_id 16 for calling the FourierSeries obj's underlying member method code with example usage: obj.shift(s) and returns: self