Skip to content

3D fieldmap import problem #31

@vbnmgj

Description

@vbnmgj

Dear All,

I‘m new to Astra, and lume-astra helps me a lot. While I got an issue with the import of 3D fieldmap.

In the example given on the Astra official website, to import the 3D field of a cavity, you need to provide three files like DY_3D_TDS_ReIm.ex, DY_3D_TDS_ReIm.ey, and DY_3D_TDS_ReIm.ez, and use FILE_EFieLD(1) = 'DY_3D_TDS_ReIm' in astra.in to import the 3D field.

When I use the statement A.load_fieldmaps(), an error is reported

Loading fieldmap file DY_3D_TDS_ReIm
DY_3D_TDS_ReIm not found, searching:
FileNotFoundError: [Errno 2] No such file or directory: 'DY_3D_TDS_ReIm

I want to know how to correctly import 3D vector field?

Thanks for your help
issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions