예제 #1
0
            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
예제 #2
0
            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
예제 #3
0
 def sum_static():
     return store_ext.store_sum_static(cstore, irecords, delays_s,
                                       weights, pos, ntargets,
                                       nthreads)
예제 #4
0
 def sum_static():
     return store_ext.store_sum_static(
         cstore, irecords, delays_s, weights,
         pos, ntargets, nthreads)