Skip to content

Particle distribution file was not generated #37

@MJeong19

Description

@MJeong19

When I run generator by LUME-ASTRA, particle distribution file generator.part is not generated.
On the other hand, generator.part file was succesfully generated when I ran generator in command line.
Also, particle information file was normally generated when I ran Astra by both LUME-ASTRA and command line.

Image

Here is input file I used for generator:
&INPUT
FNAME='generator.part'
ADD=t
N_add=1
IPart=10000
Species='electrons'
Probe=T
Noise_reduc=T
Cathode=T
Q_total=85.0000E-6
! Ref_zpos=0.0E0
Ref_clock=-0
Ref_Ekin=0.0E0
Dist_z='g'
sig_clock=0.000026
!Lt=0.020
!rt=0.002
Dist_pz='i'
sig_Ekin=0.0E0
LE=0.0006
Dist_x='2D-Gaussian'
sig_x=76.0000E-3
C_sig_x=0.65
Dist_y='2D-Gaussian'
sig_y=76.0000E-3
C_sig_y=0.65
Nemit_x=0.0E0
cor_px=0.0E0
/

And here is python code I used:
from astra import AstraGenerator

input='generator.in'
G=AstraGenerator(input)
G.verbose=True
G.run()

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