opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- 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
Hi,OPAL-T writes an SDDS file containing all the information. It is written to data/<inputname>_ElementPositions.sdds (I think).ChristofSnuverink 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
- [Opal] Generation of .lattice file, Thomas, Sebastian, 02/17/2020
- RE: [Opal] Generation of .lattice file, Snuverink Jochem (PSI), 02/17/2020
- Re: [Opal] Generation of .lattice file, Christof Metzger-Kraus, 02/17/2020
- Re: [Opal] Generation of .lattice file, Christof Metzger-Kraus, 02/17/2020
- Message not available
- Message not available
- Message not available
- Message not available
- Re: [Opal] Generation of .lattice file, Christof Metzger-Kraus, 02/18/2020
- Message not available
- Message not available
- Message not available
- Re: [Opal] Generation of .lattice file, Christof Metzger-Kraus, 02/17/2020
- Re: [Opal] Generation of .lattice file, Christof Metzger-Kraus, 02/17/2020
- RE: [Opal] Generation of .lattice file, Snuverink Jochem (PSI), 02/17/2020
Archive powered by MHonArc 2.6.19.