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

Problems with Striated and turbulent fields #3

Open
tospines opened this issue Feb 7, 2023 · 0 comments
Open

Problems with Striated and turbulent fields #3

tospines opened this issue Feb 7, 2023 · 0 comments

Comments

@tospines
Copy link
Member

tospines commented Feb 7, 2023

Hi!
I am finding a problem when activating the striated and turbulent fields, using the python interface. I am using a similar file as in the examples (e6-synchro-skymaps.py), but I get the following error:
'pyhermes.magneticfields.JF12' object has no attribute 'randomStriated' (and the same for randomTurbulent).

I also tried with JF12.setUseStriated(1), but it gave me a similar error. I thought it was related to the FFTW3F library, but I think the striated component does not depend on this library.
Is there another way to activate these components?

I was also wondering if there is a way to make sure that Hermes is using correctly FFTW3F: Something like printing a flag like USING_FFTW3F. Is there any way to do it?

Thanks,
Pedro.

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

1 participant