Skip to Content.
Sympa Menu

opal - Re: [Opal] Generation of .lattice file

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] Generation of .lattice file


Chronological Thread 
  • From: Christof Metzger-Kraus <christof.j.kraus AT gmail.com>
  • To: "Snuverink Jochem (PSI)" <jochem.snuverink AT psi.ch>
  • Cc: "Thomas, Sebastian" <sthomas AT uni-mainz.de>, opal <opal AT lists.psi.ch>
  • Subject: Re: [Opal] Generation of .lattice file
  • Date: Mon, 17 Feb 2020 20:44:05 +0100
  • Authentication-results: localhost; iprev=pass (mail-io1-f48.google.com) smtp.remote-ip=209.85.166.48; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com

ps: something is wrong with the generator of this code. I'll try to find the reason.

On Mon, Feb 17, 2020 at 7:33 PM Christof Metzger-Kraus <christof.j.kraus AT gmail.com> wrote:
Hi,

OPAL-T writes an SDDS file containing all the information. It is written to data/<inputname>_ElementPositions.sdds (I think). 

Christof 

Snuverink Jochem (PSI) <jochem.snuverink AT psi.ch> schrieb am Mo., 17. Feb. 2020, 18:07:

Hi Sebastian,

 

Unfortunately, I don’t think there is a tool to generate these “.lattice” files that can be read in by the LatticeParser. You would have to write them yourself by hand or with a script I think.

 

@Philippe: do you remember perhaps how you generated the .lattice files for these kind of plots:

 

 

 

The LatticeParser can certainly be made more generic. Please let us know in case you would like to help improving it.

 

Cheers, Jochem

 

From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> On Behalf Of Thomas, Sebastian
Sent: Montag, 17. Februar 2020 13:33
To: opal AT lists.psi.ch
Subject: [Opal] Generation of .lattice file

 

Hey OPALers,

 

Quick question: Can OPAL create a "MyProject.lattice" file, that can be read by the opal/paser/LatticeParser in pyOPALtools? Somehow I can't find anything about that. There is an example called "Gantry2", which has a "70MeV_G2.lattice" file. I would like to generate this for my own lattice.

 

Cheers

Sebastian




Archive powered by MHonArc 2.6.19.

Top of Page