get_or_create_kk_cache#
- exo_skryer.registry_cloud.get_or_create_kk_cache(nu: Array) KKGridCache[source]#
Retrieve cached KK grid data or compute if not exists.
This function provides transparent caching: on first call with a given grid, it computes and caches the expensive O(N²) quantities. Subsequent calls with the same grid array return the cached result instantly.
- Parameters:
- nuarray (N,)
Wavenumber grid, strictly increasing (e.g., cm⁻¹)
- Returns:
- cacheKKGridCache
Cached or newly computed grid quantities