make_Data

Stoner.tools.make_Data(*args, **kargs)[source]

Return an instance of Stoner.Data or Stoner.ImageFile passig through constructor arguments.

Keyword Arguments:

what (str) – Controls whether to makle Data or ImaageFile based on the same what argument to the autoloaders.

Calling make_Data(None) is a special case to return the Data class ratther than an instance