how to import a file with particles

https://www.dacm-logiciels.fr/tracewin
Post Reply
Czech RepublicFrancescoS
Initiated
Initiated
Posts: 30
Joined: Thu 11 Feb 2021 16:45
Country:
Czech Republic (cz)
Czech Republic

how to import a file with particles

Post by Czech RepublicFrancescoS »

Hello,

I need to ask you a question, as I am not able to find the answer in the manual but I am sure it is there.

I want to create my own particle distribution to use it as input for simulations in TraceWin.
Which format should have the file?

Then, I think, I should import it from the main page using ``Import all beam parameters from file``, I mean below it there is the option to import this file and them with this button I can import the beam parameters
Or should I import it from multiparticle tab?


Thank you in advance for helping
F.
User avatar
FranceDidier
Administrator
Administrator
Posts: 872
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: how to import a file with particles

Post by FranceDidier »

Hi Francesco,

To do that, you have to use the free code "PlotWin" allowing to import particle from an ASCII file (see PlotWin manual for format detail)
Then, using particle ditribution chart of plotwin, use "Save" button and select "dst" as output file type.

Regards,

Didier
Czech RepublicFrancescoS
Initiated
Initiated
Posts: 30
Joined: Thu 11 Feb 2021 16:45
Country:
Czech Republic (cz)
Czech Republic

Re: how to import a file with particles

Post by Czech RepublicFrancescoS »

I see, I was sure it was in the manual becuase I did it once, I was just looking in the wrong manual.
Info I need are in the PlotWin Manual
Everything is clear now

Thanks a lo Didier!

Cheers
F.
Post Reply