class_docstr: Singular Spectrum Analysis object
class_docstr_tok: ["Singular","Spectrum","Analysis","object"]
docstr: Visualise the reconstruction of the hankel matrix/matrices passed to *hankel
docstr_tok: ["Visualise","the","reconstruction","of","the","hankel","matrix\/matrices","passed","to","*","hankel"]
code: def view_reconstruction(
      cls,
      *hankel,
      names=None,
      return_df=False,
      plot=True,
      symmetric_plots=False,
  ):
      """Visualise the reconstruction of the hankel matrix/matrices passed to *hankel"""
      hankel_mat = None
      for han in hankel:
          if isinstance(hankel_mat, m):
              hankel_mat = hankel_mat + han
          else:
              hankel_mat = han.copy()
      hankel_full = cls.diagonal_averaging(hankel_mat)
      title = "Reconstruction of signal"
      if names or names == 0:
          title += " associated with singular value{}: {}"
          title = title.format(
              "" if len(str(names)) == 1 else "s", names
          )
      if plot:
          ax = hankel_full.plot(legend=False, title=title)
          if symmetric_plots:
              velocity = hankel_full.abs().max()[0]
              ax.set_ylim(bottom=-velocity, top=velocity)
      if return_df:
          return hankel_full
  
imports: import numpy
  import pandas
  from numpy import matrix
  from scipy import linalg
  from matplotlib.pylab import rcParams
label_desc: Use image node_id 9 for calling the mySSA obj's underlying member method code with example usage: obj.view_reconstruction(cls) and returns: hankel_full