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, if in_memory is True or the convert_{} variant if False.