Пример #1
0
    def save_output_to_file(self, output_prefix, input_basename,
                            module_basename):
        save_vector_to_file(
            objective_file_name(output_prefix, input_basename,
                                module_basename), self.objective)

        save_jacobian_to_file(
            jacobian_file_name(output_prefix, input_basename, module_basename),
            self.jacobian)
Пример #2
0
    def save_output_to_file(self, output_prefix, input_basename,
                            module_basename):
        save_errors_to_file(
            objective_file_name(output_prefix, input_basename,
                                module_basename), self.reproj_err, self.w_err)

        save_sparse_j_to_file(
            jacobian_file_name(output_prefix, input_basename, module_basename),
            self.J)