Skip to content

Problems with Striated and turbulent fields  #3

@tospines

Description

@tospines

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions