focal.main module

Main CLI module for the FOCAL.

This module provides the command-line interface for training and testing CNN and MLP models for fiber cleave quality classification and tension prediction.

focal.main.main(args: list | None = None) int[source]

Main entry point for the CLI application.

Parameters:

args – Command line arguments (optional)

Returns:

Exit code (0 for success, 1 for error)

Return type:

int