code: def add_tmpltbank_from_xml_table(self, sngl_table, vary_fupper=False):
          
          for sngl in sngl_table:
              self.add_point_by_masses(sngl.mass1, sngl.mass2, sngl.spin1z,
                                       sngl.spin2z, vary_fupper=vary_fupper)
docs: This function will take a sngl_inspiral_table of templates and add them
          into the partitioned template bank object.
  
          Parameters
          -----------
          sngl_table : sngl_inspiral_table
              List of sngl_inspiral templates.
          vary_fupper : False
              If given also include the additional information needed to compute
              distances with a varying upper frequency cutoff.