def compute_spacegroup_for_atomic_numbers(self, atomic_numbers=None, symprec=1e-05):
    " Return spacegroup that suits to the atoms' cell structure and to the given\n           atomic_numbers (not necessary the real ones, they can be just ''labels'').\n       "
    atomic_numbers = (atomic_numbers if (atomic_numbers is not None) else self.get_atomic_numbers())
    sg = spglib.get_spacegroup((self.get_cell(), self.get_scaled_positions(), atomic_numbers), symprec=symprec)
    if (sg is None):
        return None
    sg_no = int(sg[(sg.find('(') + 1):sg.find(')')])
    spacegroup = Spacegroup(sg_no)
    return spacegroup
Return spacegroup that suits to the atoms' cell structure and to the given
atomic_numbers (not necessary the real ones, they can be just ''labels'').
def compute_spacegroup_for_atomic_numbers(self, atomic_numbers=None, symprec=1e-05):
    " Return spacegroup that suits to the atoms' cell structure and to the given\n           atomic_numbers (not necessary the real ones, they can be just labels).\n       "
    atomic_numbers = (atomic_numbers if (atomic_numbers is not None) else self.get_atomic_numbers())
    sg = spglib.get_spacegroup((self.get_cell(), self.get_scaled_positions(), atomic_numbers), symprec=symprec)
    if (sg is None):
        return None
    sg_no = int(sg[(sg.find('(') + 1):sg.find(')')])
    spacegroup = Spacegroup(sg_no)
    return spacegroup