import argparse import os import sys # parse_args: function definition for ScanSlicer behavior.