nilspodlib.legacy.find_conversion_function#
- nilspodlib.legacy.find_conversion_function(version: Version, in_memory: Optional[bool] = True, return_name: Optional[bool] = False) Union[Callable, str][source]#
Find a method that is able to convert a recording from one version to the other.
This will either return one of the
load_{}functions, ifin_memoryis True or theconvert_{}variant if False.