5.2.5.1.7. eqcorrscan.utils.correlate.register_array_xcorr¶
- eqcorrscan.utils.correlate.register_array_xcorr(name, func=None, is_default=False)[source]¶
Decorator for registering correlation functions.
Each function must have the same interface as numpy_normxcorr, which is f(templates, stream, pads, *args, **kwargs) any number of specific kwargs can be used.
Register_normxcorr can be used as a decorator (with or without arguments) or as a callable.