Page 1 of 1

Transport 4D distribution error

Posted: Tue 21 Nov 2023 14:46
by Emmanuel
Hello,
I,ve generated a 4D (x,x',y,y') dst file from emittance measurements with 200k particles, but while I want to run a test, I get the following error messages : Too few particle, From->[PARTRAN]: Find iptsss, From->[PARTRAN] Library...

I run the test with CW tick box clicked.

The test files and distribution are attached.

Emmanuel
e2019 12 Emitt XY source.dst
(9.16 MiB) Downloaded 298 times
tw.zip
(3.76 MiB) Downloaded 299 times

Re: Transport 4D distribution error

Posted: Tue 21 Nov 2023 16:27
by Didier
Dear Emmanuel,

When I open your file with PlotWin I see the following image.
All the values have to be divided by 1000 and the phases would have to be distributed randomly between -180 &+180 °.

Regards,

Didier
dst.png
dst.png (59.36 KiB) Viewed 1509 times

Re: Transport 4D distribution error

Posted: Wed 22 Nov 2023 08:25
by Emmanuel
Dear Didier,
My mistake concerning the 1000 divider on amplitudes.
It still doesn't work, with the same error message.
From the vertical and horizontal measurement files, I generate separate txt files with PlotWin, that I merge to get {x,x'} and {y,y'} in the same file. I re-import this file, but which variable use in the fifth and sixth columns ? I tried {z,z'}, {z,phi}, {phi,E} I still don't get a uniform distribution between -180°/+180° as the one I get when I import in PlotWin the measurement data.
Is there a way to merge x and y measurement data directly in PlotWin ?

Emmanuel

Re: Transport 4D distribution error

Posted: Wed 22 Nov 2023 09:23
by Emmanuel
Dear Didier,

It seems that the frequency value was the issue. Whatever is the distribution in the longitudinal phase space, the frequency here should be greater than 10^-7, even if the beam is CW.

Emmanuel

Re: Transport 4D distribution error

Posted: Wed 22 Nov 2023 10:14
by Didier
Dear Emmanuel,

There are 3 ways of creating a distribution from an emittance measurement:

- Create the dst binary file yourself, the format is fully described here: https://dacm-codes.fr/Softwares/TraceWi ... stribution

- Import an ascii data file via PlotWin (Menu "Import from ASCII file") see plotwin manual for the two possible formats

- Open directly with plotwin the 2 measurement files of the emittancemetre XX' & YY' (valid only with files from the IHPC or GANIL emittancemeter equipment). See attached example:
emit_mesure.zip
(538.24 KiB) Downloaded 304 times
Regards,

Didier

Re: Transport 4D distribution error

Posted: Tue 5 Dec 2023 16:44
by Emmanuel
Hello Didier,

Does the position step have a special limitation ? I mean, should it be an integer rather than something like 0.2672 ?

Thank you.

Emmanuel

Re: Transport 4D distribution error

Posted: Wed 6 Dec 2023 10:35
by Didier
Dear Emmanuel,

I don't know what step you're talking about. If it's the "position step (mm)" parameter in the emittance meter file, it takes whatever value you want.

Regards,

Didier