realdata.singlegrain

realdata.singlegrain(conf, output_dir, verbosity, n_grid, tasks)

Perform single-grain fitting on part (or full) initialization grid.

Parameters

Name Type Description Default
conf str | pathlib.Path Path to the configuration file required
output_dir str Path to the output directory to store the (intermediate) results required
verbosity bool Verbosity level for printing to console required
n_grid int Number of single-grain initialial guesses per task. They will be distributed using a Sobol sequence inside the grain position and orientation space. required
tasks list List of integer task ids to use. Each task will compute n_grid single-grain fitting solutions. The starting points will be created using Sobol points with indices (task_id * n_grid):((task_id+1) * n_grid). required