pyanno4rt.tools._copycat

Instance copycat.

Overview

Function

copycat(base_class, path)

Create a copycat from a treatment plan snapshot.

Functions

pyanno4rt.tools._copycat.copycat(base_class, path)[source]

Create a copycat from a treatment plan snapshot.

Parameters:
  • base_class (class from base) – The base treatment plan class from which to create an instance.

  • path (str) – Directory path of the snapshot.

Returns:

The instantiated base treatment plan object.

Return type:

object of class from base