Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to run RG routines #21

Open
rebecamc opened this issue Nov 20, 2020 · 2 comments
Open

Problem to run RG routines #21

rebecamc opened this issue Nov 20, 2020 · 2 comments

Comments

@rebecamc
Copy link

Hi,
I'm interested in your routine for RG approximation, I've been trying to run both RG_RK4_example.py and RG_STS_example.py but I get this error,

**" in
20 max=1
21 n_pad=500
---> 22 P_rg=RG_RK4('test_RK4',k,P,step,max,n_pad,P_window,C_window)
23
24 import matplotlib.pyplot as plt

~/anaconda3/lib/python3.8/site-packages/fastpt/RG_RK4.py in RG_RK4(name, k, P, d_lambda, max, n_pad, P_window, C_window)
38
39 nu=-2
---> 40 fastpt=FASTPT.FASTPT(k,nu=nu,n_pad=n_pad)
41 P_spt=fastpt.one_loop(P_0,C_window=C_window)
42 P_spt=P_0+P_spt

AttributeError: type object 'FASTPT' has no attribute 'FASTPT'**

As a reference, the fastpt_example.py runs perfectly fine, so I'm not so sure what's the problem. Thanks

@jablazek
Copy link
Collaborator

Hello @rebecamc ,

Thanks for opening this issue. I believe that the RG flow scripts were not updated when the overall FASTPT package structure was updated. We will try to fix this soon.

@JoeMcEwen
Copy link
Owner

Hello,
I have just run RG_STS.py and RG_RK4.py in the fastpt folder (not examples folder). Those are working for me. If you need to get going with renormalization group material you might try those files, while we fix the example files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants