IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
utils.py File Reference

Go to the source code of this file.

Data Structures

class  Loader
 

Namespaces

namespace  ids_peak_icv
 
namespace  ids_peak_icv.backend
 
namespace  ids_peak_icv.backend.utils
 

Functions

ctypes.Array create_array (Any c_type, int size)
 
peak_icv_capture_information metadata_to_capture_information (Metadata metadata, Size|None size=None)
 
Metadata metadata_from_capture_information (peak_icv_capture_information capture_information)
 
Metadata add_metadata_from_capture_information_to_metadata (Metadata metadata, peak_icv_capture_information capture_information)
 
ctypes.c_void_p image_handle_to_ctypes (int image_handle)
 
Type map_point_type_to_native_type (Type point_type)
 
peak_icv_point_type map_point_type_to_enum (Type point_type)
 
Type map_enum_to_point_type (peak_icv_point_type point_enum)
 
None transform (InputType input_, OutputType output, Callable func)
 
None execute_and_map_return_codes (Callable func, *Any args, **Any kwargs)
 
str find_ids_peak_ipl_dll ()
 
ReturnType check_init_for_classes_with_classmethods_only (str class_name, Type[ReturnType] return_type, *Any args, **Any kwargs)
 

Variables

 T = TypeVar('T', bound=Any)
 
 InputType = Union[Sequence[T], NDArray[T], ctypes.Array[Any]]
 
 OutputType = Union[MutableSequence[T], NDArray[T], ctypes.Array[Any]]
 
 ReturnType = TypeVar('ReturnType', bound=ctypes.c_void_p)