pingwyn.core.file.GwyddionDriver

class pingwyn.core.file.GwyddionDriver(*args, **kwargs)

Bases: Driver

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_filename_components(fn)

Split the filename into its static and dynamic components.

Attributes

CAN_MULTICORE_OPEN

CAN_MULTICORE_POST

CAN_MULTICORE_PRE

static get_filename_components(fn)

Split the filename into its static and dynamic components. Given that Gwyddion files have arbitrary filenames, this returns the filename and the extension as static components.

Parameters:

fn (str) – The filename to split

Returns:

The split static and dynamic components.

Return type:

tuple, tuple