def METHOD_NAME(self, all_stat, protection=1e-2, mixed_type=False):
    if mixed_type:
        self.descrpt.compute_input_stats(
            all_stat["coord"],
            all_stat["box"],
            all_stat["type"],
            all_stat["natoms_vec"],
            all_stat["default_mesh"],
            all_stat,
            mixed_type,
            all_stat["real_natoms_vec"],
        )
    else:
        self.descrpt.compute_input_stats(
            all_stat["coord"],
            all_stat["box"],
            all_stat["type"],
            all_stat["natoms_vec"],
            all_stat["default_mesh"],
            all_stat,
        )
    self.fitting.compute_input_stats(all_stat, protection=protection)