pepper-pot emittance measurement

Moderators: cyao, michael_borland

QJohn
Posts: 19
Joined: 08 Dec 2015, 10:49

Re: pepper-pot emittance measurement

Post by QJohn » 17 Dec 2015, 20:15

michael_borland wrote:If you want to process the .out file, you don't need to split it into separate files for each beamlet. SDDS tools can operate on each page of a multi-page file without any problem. See the attached script. (I used gzip to compress it so the forum software will accept it.)

--Michael
Hi, Michael, I make a 51*51 holes' pepper-pot mask. I want to output all holes' coordinates and their attached number of particles. Yesterday, I used the procScript you gived to me to output the holes's coordinates, meanwhile I also used the run.out file to output particles' number of each hole (if the number of particles of that hole is not zero). But in the case that 51*51holes, in fact, not every hole has particles passed through, so in this case, I don't know the exact number of particles of each hole, but in my postprocess, I need not only all the holes but also their attached number of particles. Can you help me to realize it? Thank you very much!

Post Reply