Contents:
util.py
Utility functions for nanslice module
nanslice.util.
add_common_arguments
Defines a set of common arguments that are shared between nanviewer and nanslicer
center_of_mass
Calculates the center of mass of the image
check_path
Helper function to check if an object is path-like
ensure_image
Helper function that lets either images or paths be passed around