get_custom_kernel_pointers function

Extract pointers of custom C++ trend kernels from trend list or emc object