class_docstr: Keeps track of a running mean for seen states.
  
  The filter will be used to normalize observations and will be 
  online updated according to the seen observations of all actors.
docstr: Syncs all fields together from other filter.
  
  Examples:
      >>> a = MeanStdFilter(())
      >>> a(1)
      >>> a(2)
      >>> print([a.rs.n, a.rs.mean, a.buffer.n])
      [2, array(1.5), 2]
      >>> b = MeanStdFilter(())
      >>> b(10)
      >>> print([b.rs.n, b.rs.mean, b.buffer.n])
      [1, array(10.0), 1]
      >>> a.sync(b)
      >>> print([a.rs.n, a.rs.mean, a.buffer.n])
      [1, array(10.0), 1]
docstr_tok: ["Syncs","all","fields","together","from","other","filter",".","Examples",":",">",">",">","a","=","MeanStdFilter","(","(",")",")",">",">",">","a","(","1",")",">",">",">","a","(","2",")",">",">",">","print","(","[","a.rs.n",",","a.rs.mean",",","a.buffer.n","]",")","[","2",",","array","(","1.5",")",",","2","]",">",">",">","b","=","MeanStdFilter","(","(",")",")",">",">",">","b","(","10",")",">",">",">","print","(","[","b.rs.n",",","b.rs.mean",",","b.buffer.n","]",")","[","1",",","array","(","10.0",")",",","1","]",">",">",">","a.sync","(","b",")",">",">",">","print","(","[","a.rs.n",",","a.rs.mean",",","a.buffer.n","]",")","[","1",",","array","(","10.0",")",",","1","]"]
code: def sync(self, other):
      """Syncs all fields together from other filter.
  
      Examples:
          >>> a = MeanStdFilter(())
          >>> a(1)
          >>> a(2)
          >>> print([a.rs.n, a.rs.mean, a.buffer.n])
          [2, array(1.5), 2]
          >>> b = MeanStdFilter(())
          >>> b(10)
          >>> print([b.rs.n, b.rs.mean, b.buffer.n])
          [1, array(10.0), 1]
          >>> a.sync(b)
          >>> print([a.rs.n, a.rs.mean, a.buffer.n])
          [1, array(10.0), 1]
      """
      assert other.shape == self.shape, "Shapes don't match!"
      self.demean = other.demean
      self.destd = other.destd
      self.clip = other.clip
      self.rs = other.rs.copy()
      self.buffer = other.buffer.copy()
  
imports: import numpy
label_desc: Use image node_id 6 for calling the MeanStdFilter obj's underlying member method code with example usage: obj.sync(other) without return types