Skip to content

Compilation too slow #34

Answered by magv
vsht asked this question in Q&A
Oct 4, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Here's the version that works for me:

#!/usr/bin/env python3
import pySecDec as psd

if __name__ == "__main__":
    li = psd.LoopIntegralFromPropagators(
        propagators = [
            '(k + r)^2',
            'k^2 - mc2',
            '(l + r)^2 - mb2',
            '(l + q)^2 - mc2',
            'l^2 - mc2'
        ],
        loop_momenta = ['k', 'l', 'r'],
        powerlist = [1, 1, 1, 1, 1],
        dimensionality = '4 - 2*eps',
        replacement_rules = [('q^2','0')],
        regulators = ['eps']
    )

    import os,shutil
    if os.path.isdir('vsht34'):
        if input('The directory vsht34 already exists, do you want to overwrite it (y/n)? ') in ['y','Y','j']:
            sh…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vsht
Comment options

@vsht
Comment options

Answer selected by vsht
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants