vampire.model._build_models_parse_required_info

vampire.model._build_models_parse_required_info(required_info)[source]

Parse required columns of input DataFrame to build_models.

Checks argument requirements and sets default arguments.

Parameters
required_infoDataFrame

Required columns (1-5) of input DataFrame img_info_df.

Returns
img_set_pathstr

Path to the directory containing the image set(s) used to build model.

output_pathstr

Path of the directory used to output model and figures. Defaults to img_set_path.

model_namestr

Name of the model. Defaults to time of function call.

num_pointsint

Number of sample points of object contour. Defaults to 50.

num_clustersint

Number of clusters of K-means clustering. Defaults to 5.

Raises
FileNotFoundError

If img_set_path does not exist.