Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. table = ParallelTable[
  2. Quiet[
  3. {{q, t},
  4. 1/Sqrt[2 Pi] NIntegrate[Exp[-I w t] f[q, w] /. {d1 -> 0.1, d2 -> 0.2, gamma1 -> 0.1, gamma2 -> 0.2, R -> 0.7},
  5. {w, -Infinity, Infinity},
  6. MaxRecursion -> 25]}
  7. ]
  8. ,
  9. {q, -qgrid, qgrid, res}, {t, 0, tgrid, res}
  10. ]
  11.  
  12. finterpolation = Interpolation[Flatten[table, 1], InterpolationOrder -> 3];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement