Search found 1930 matches

by michael_borland
11 Feb 2009, 13:26
Forum: Installation
Topic: how to limit the output to screen?
Replies: 8
Views: 6569

Re: how to limit the output to screen?

Guobao, That would be quite a job since elegant freely sends output to stdout and stderr from within subroutines. We could probably add a flag that redirects stderr and stdout to /dev/null using freopen(), but I'm not sure if that answers your requirements. --Michael It just redirects the output to ...
by michael_borland
06 Feb 2009, 16:46
Forum: General
Topic: Using 'sddsemitproc'
Replies: 3
Views: 2564

Re: Using 'sddsemitproc'

Chris,

The method is described in my Ph. D. Thesis (SLAC R-402). The relevant pages are attached.

--Michael
by michael_borland
04 Feb 2009, 00:11
Forum: Linac Tracking
Topic: Use_rad_dist in CSRCSBEND
Replies: 1
Views: 4131

Re: Use_rad_dist in CSRCSBEND

Pete,

That feature hasn't been implemented for CSRCSBEND.

I'll add it to the list.

--Michael
by michael_borland
02 Feb 2009, 12:06
Forum: Dynamic Aperture
Topic: Tracking for DA study
Replies: 14
Views: 35386

Re: Tracking for DA study

Chinchi,

Please see the attached files for an example of off-momentum DA.

--Michael
by michael_borland
30 Jan 2009, 09:32
Forum: General
Topic: 2D Array
Replies: 11
Views: 6778

Re: 2D Array

Chris,

I've asked Bob Soliday to check into this, since he has a Windows installation.

Unfortunately, I think Windows doesn't do well with scripts and pipes. It doesn't seem to have the same ability as Linux to have subprocesses of subprocesses of subprocesses...

--Michael
by michael_borland
30 Jan 2009, 09:19
Forum: General
Topic: 2D Array
Replies: 11
Views: 6778

Re: 2D Array

Chris,

Perhaps plaindata2sdds is not installed? Is it accessible from the commandline.

Sorry I can't provide much help with Windows platforms. I'll forward this to someone who might be able to help.

--Michael
by michael_borland
29 Jan 2009, 18:00
Forum: General
Topic: 2D Array
Replies: 11
Views: 6778

Re: 2D Array

Chris, Here's a script that converts your image file to two SDDS files. % convertImage 2Darray.txt 2Darray1.sdds 2Darray2.sdds The first output file is organized into rows and columns just as in the input file. Each column VLine??? is a vertical line from the image. There's also a column VLineProfil...
by michael_borland
29 Jan 2009, 09:32
Forum: General
Topic: 2D Array
Replies: 11
Views: 6778

Re: 2D Array

Chris,

How you do this depends on how the data is arranged in the file. Do you have a 2D array stored in multiple columns, or in a single column?

--Michael
by michael_borland
29 Jan 2009, 09:31
Forum: Optimization and Matching
Topic: Optimisation on an R-matrix element
Replies: 4
Views: 8077

Re: Optimisation on an R-matrix element

Simone,

Can you post the lattice file? It will be easier to diagnose that way.

Do you have accelerating structures between the chicanes? If so, note that R56 for the full system refers to the initial energy.

--Michael
by michael_borland
28 Jan 2009, 17:31
Forum: Optimization and Matching
Topic: Quick Optimization
Replies: 3
Views: 6510

Re: Quick Optimization

Sorry, I mean the "target" parameter in optimization_setup, not optimization_term.

--Michael