def fwd_model_seperate(interpolation=interp[0]): args = (store.cstore, dsource.coords5(), mts_arr, static_target.coords5, 'elastic10', interpolation, nthreads) sum_params = store_ext.make_sum_params(*args) out = {} for icomp, comp in enumerate(scheme_desc): weights, irecords = sum_params[icomp] out[comp] = store_ext.store_sum_static( store.cstore, irecords, delays_s, weights, pos, ntargets**2, nthreads) return out
def fwd_model_seperate(interpolation=interp[0]): args = (store.cstore, dsource.coords5(), mts_arr, static_target.coords5, 'elastic10', interpolation, nthreads) sum_params = store_ext.make_sum_params(*args) out = {} for icomp, comp in enumerate(scheme_desc): weights, irecords = sum_params[icomp] out[comp] = store_ext.store_sum_static( store.cstore, irecords, delays_s, weights, pos, ntargets**2, nthreads) return out
def sum_static(): return store_ext.store_sum_static(cstore, irecords, delays_s, weights, pos, ntargets, nthreads)
def sum_static(): return store_ext.store_sum_static( cstore, irecords, delays_s, weights, pos, ntargets, nthreads)