EMATRIX - third order

Moderators: cyao, michael_borland

Post Reply
tennant
Posts: 85
Joined: 31 Jul 2008, 07:19
Location: Jefferson Laboratory

EMATRIX - third order

Post by tennant » 26 Aug 2009, 09:29

It would be nice if EMATRIX could provide third order terms (e.g. U5666). Is there a quick and dirty way that I could implement that at present? Thanks.

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: EMATRIX - third order

Post by michael_borland » 09 Sep 2009, 08:18

Chris,

I'll add this to the list.

I can't think of a way to do it in the present version.

--Michael

tennant
Posts: 85
Joined: 31 Jul 2008, 07:19
Location: Jefferson Laboratory

Re: EMATRIX - third order

Post by tennant » 19 Feb 2010, 10:25

Michael,

So to implement a third-order transformation I can write the following commands in a script and get the desired result. I know you can call scripts from within Elegant, but when I try to use these command lines, Elegant doesn't run and complains of "get_param_name(): no parameter found in string DPP". Clearly I am not using the SCRIPT element correctly. Any help would be appreciated. Thanks.

cmd1="sddsprocess watch.W4 coordCONVERT.sdds -define=col,pnew,"p $me *" -process=p,ave,pave -process=t,ave,tave -redefine=col,t,"t tave -" -redefine=col,pnew,"p pave -" -define=col,l,"t $clight *" -define=col,dpp,"pnew pave /"

cmd2="sddsprocess coordCONVERT.sdds transformed.sdds -define=col,lnew,"l $M56 dpp * + $T566 dpp sqr * + $W5666 dpp * dpp * dpp * +"

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: EMATRIX - third order

Post by michael_borland » 19 Feb 2010, 10:29

Chris,

The problem is with parsing the lattice file. Can you post or send me the lattice file, or just the SCRIPT element definitions?

--Michael

Post Reply