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: "Snuverink Jochem (PSI)" <jochem.snuverink AT psi.ch>
  • To: "'Thomas, Sebastian'" <sthomas AT uni-mainz.de>, "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Cc: "Ganz Philippe" <gp AT student.ethz.ch>
  • Subject: RE: [Opal] Generation of .lattice file
  • Date: Mon, 17 Feb 2020 17:07:09 +0000
  • Accept-language: en-US, de-CH

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