1
$\begingroup$

Is there any Mathematica package available to numerically compute the power spectra of the scalar and tensor perturbations in cosmology? I'd like to numerically calculate the tensor to scalar ratio in inflation. I've tried to search the literature but I can't find some papers or sources doing this or has this package. Maybe there are other ways to numerically calculate the tensor to scalar ratio?

$\endgroup$
2
$\begingroup$

In case you still need such a package, there is a paper arXiv:1502.03125 which includes a Mathematica code doing this job.

$\endgroup$
  • $\begingroup$ Can you please provide a link to actual code? $\endgroup$ – Szabolcs Oct 30 '17 at 17:50
  • 3
    $\begingroup$ Yes, sure. github.com/mafaldadias/mTransport .But I suggest you to read the paper first to understand how it works and modify the code to your needs. It's impossible to understand the code itself. $\endgroup$ – Paul Schrednicki Oct 30 '17 at 18:05
  • $\begingroup$ @PaulSchrednicki can you repackage their stuff as a single function / alg? To my eyes, it looks they're not used to using Mathematica concisely and are being overly complicated with the code. A simple answer rather than a bloated notebook would be better. $\endgroup$ – b3m2a1 Oct 31 '17 at 5:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.