IDS peak ICV v1.6.0
Loading...
Searching...
No Matches
ids_peak_icv.backend.utils Namespace Reference

Data Structures

class  Loader
 

Functions

ctypes.Array create_array (Any c_type, int size)
 
Any to_ctypes_array (list[Any] py_list, Any c_type)
 
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)
 

Function Documentation

◆ check_init_for_classes_with_classmethods_only()

ReturnType check_init_for_classes_with_classmethods_only ( str class_name,
Type[ReturnType] return_type,
*Any args,
**Any kwargs )

◆ create_array()

ctypes.Array create_array ( Any c_type,
int size )

◆ execute_and_map_return_codes()

None execute_and_map_return_codes ( Callable func,
*Any args,
**Any kwargs )

◆ find_ids_peak_ipl_dll()

str find_ids_peak_ipl_dll ( )

◆ image_handle_to_ctypes()

ctypes.c_void_p image_handle_to_ctypes ( int image_handle)

◆ map_enum_to_point_type()

Type map_enum_to_point_type ( peak_icv_point_type point_enum)

◆ map_point_type_to_enum()

peak_icv_point_type map_point_type_to_enum ( Type point_type)

◆ map_point_type_to_native_type()

Type map_point_type_to_native_type ( Type point_type)

◆ to_ctypes_array()

Any to_ctypes_array ( list[Any] py_list,
Any c_type )

◆ transform()

None transform ( InputType input_,
OutputType output,
Callable func )

Variable Documentation

◆ InputType

InputType = Union[Sequence[T], NDArray[T], ctypes.Array[Any]]

◆ OutputType

OutputType = Union[MutableSequence[T], NDArray[T], ctypes.Array[Any]]

◆ ReturnType

ReturnType = TypeVar('ReturnType', bound=ctypes.c_void_p)

◆ T

T = TypeVar('T', bound=Any)