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: Applies updates from the buffer of another filter.
  
  Params:
      other (MeanStdFilter): Other filter to apply info from
      with_buffer (bool): Flag for specifying if the buffer should be
          copied from other.
  
  Examples:
      >>> a = MeanStdFilter(())
      >>> a(1)
      >>> a(2)
      >>> print([a.rs.n, a.rs.mean, a.buffer.n])
      [2, 1.5, 2]
      >>> b = MeanStdFilter(())
      >>> b(10)
      >>> a.apply_changes(b, with_buffer=False)
      >>> print([a.rs.n, a.rs.mean, a.buffer.n])
      [3, 4.333333333333333, 2]
      >>> a.apply_changes(b, with_buffer=True)
      >>> print([a.rs.n, a.rs.mean, a.buffer.n])
      [4, 5.75, 1]
docstr_tok: ["Applies","updates","from","the","buffer","of","another","filter",".","Params",":","other","(","MeanStdFilter",")",":","Other","filter","to","apply","info","from","with_buffer","(","bool",")",":","Flag","for","specifying","if","the","buffer","should","be","copied","from","other",".","Examples",":",">",">",">","a","=","MeanStdFilter","(","(",")",")",">",">",">","a","(","1",")",">",">",">","a","(","2",")",">",">",">","print","(","[","a.rs.n",",","a.rs.mean",",","a.buffer.n","]",")","[","2",",","1.5",",","2","]",">",">",">","b","=","MeanStdFilter","(","(",")",")",">",">",">","b","(","10",")",">",">",">","a.apply_changes","(","b",",","with_buffer=False",")",">",">",">","print","(","[","a.rs.n",",","a.rs.mean",",","a.buffer.n","]",")","[","3",",","4.333333333333333",",","2","]",">",">",">","a.apply_changes","(","b",",","with_buffer=True",")",">",">",">","print","(","[","a.rs.n",",","a.rs.mean",",","a.buffer.n","]",")","[","4",",","5.75",",","1","]"]
code: def apply_changes(self, other, with_buffer=False):
      """Applies updates from the buffer of another filter.
  
      Params:
          other (MeanStdFilter): Other filter to apply info from
          with_buffer (bool): Flag for specifying if the buffer should be
              copied from other.
  
      Examples:
          >>> a = MeanStdFilter(())
          >>> a(1)
          >>> a(2)
          >>> print([a.rs.n, a.rs.mean, a.buffer.n])
          [2, 1.5, 2]
          >>> b = MeanStdFilter(())
          >>> b(10)
          >>> a.apply_changes(b, with_buffer=False)
          >>> print([a.rs.n, a.rs.mean, a.buffer.n])
          [3, 4.333333333333333, 2]
          >>> a.apply_changes(b, with_buffer=True)
          >>> print([a.rs.n, a.rs.mean, a.buffer.n])
          [4, 5.75, 1]
      """
      self.rs.update(other.buffer)
      if with_buffer:
          self.buffer = other.buffer.copy()
  
imports: import numpy
label_desc: Use image node_id 3 for calling the MeanStdFilter obj's underlying member method code with example usage: obj.apply_changes(other, with_buffer) without return types