Skip to content

Entry Point

Entry point for all TopoStats programs.

Parses command-line arguments and passes input on to the relevant functions / modules.

Functions:

Name Description
afmslicer_parser

Create a parser for reading options.

entry_point

Entry point for all AFMSlicer programs.

afmslicer_parser

afmslicer_parser()

Create a parser for reading options.

Creates a parser, with multiple sub-parsers for reading options to run afmslicer.

Returns:

Type Description
ArgumentParser

Argument parser.

entry_point

entry_point(manually_provided_args=None, testing=False)

Entry point for all AFMSlicer programs.

Main entry point for running 'afmslicer' which allows the different processing, plotting and testing modules to be run.

Parameters:

Name Type Description Default

manually_provided_args

list[Any] | None

Manually provided arguments.

None

testing

bool

Whether testing is being carried out.

False

Returns:

Type Description
None

Function does not return anything.