IDS peak ICV v1.2.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)
 
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)
 

Function Documentation

◆ add_metadata_from_capture_information_to_metadata()

Metadata add_metadata_from_capture_information_to_metadata ( Metadata metadata,
peak_icv_capture_information capture_information )

Definition at line 67 of file utils.py.

◆ 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 )

Definition at line 244 of file utils.py.

◆ create_array()

ctypes.Array create_array ( Any c_type,
int size )

Definition at line 19 of file utils.py.

◆ execute_and_map_return_codes()

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

Definition at line 118 of file utils.py.

◆ find_ids_peak_ipl_dll()

str find_ids_peak_ipl_dll ( )

Definition at line 192 of file utils.py.

◆ image_handle_to_ctypes()

ctypes.c_void_p image_handle_to_ctypes ( int image_handle)

Definition at line 80 of file utils.py.

◆ map_enum_to_point_type()

Type map_enum_to_point_type ( peak_icv_point_type point_enum)

Definition at line 100 of file utils.py.

◆ map_point_type_to_enum()

peak_icv_point_type map_point_type_to_enum ( Type point_type)

Definition at line 92 of file utils.py.

◆ map_point_type_to_native_type()

Type map_point_type_to_native_type ( Type point_type)

Definition at line 84 of file utils.py.

◆ metadata_from_capture_information()

Metadata metadata_from_capture_information ( peak_icv_capture_information capture_information)

Definition at line 63 of file utils.py.

◆ metadata_to_capture_information()

peak_icv_capture_information metadata_to_capture_information ( Metadata metadata,
Size | None size = None )

Definition at line 24 of file utils.py.

◆ transform()

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

Definition at line 113 of file utils.py.

Variable Documentation

◆ InputType

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

Definition at line 109 of file utils.py.

◆ OutputType

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

Definition at line 110 of file utils.py.

◆ ReturnType

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

Definition at line 241 of file utils.py.

◆ T

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

Definition at line 108 of file utils.py.