columns to arrays conversion
Posted: 21 May 2010, 09:23
Hi Michael,
the correction_matrix_output instruction is described in the elegant manual to provide an
array, but if fact, is a sequence of SDDS columns. I have never used the array format, so I may be
wrong. Is it possible to convert a sequence of SDDS columns (in the example the response matrix terms)
into an array in order to do matrix operations with it ? In the case I am studying, multiplying the Elegant .hirm response
matrix by the measured (not Elegant) BPM data to obtain the correction column.
An alternative would be to replace the Cx,Cxp,Cy,Cyp terms in the .cen file with the experimental data (beam positions
at the BPMs) and then apply the Elegant "correct" procedure. Which is more straightforward ?
Regards, Max
the correction_matrix_output instruction is described in the elegant manual to provide an
array, but if fact, is a sequence of SDDS columns. I have never used the array format, so I may be
wrong. Is it possible to convert a sequence of SDDS columns (in the example the response matrix terms)
into an array in order to do matrix operations with it ? In the case I am studying, multiplying the Elegant .hirm response
matrix by the measured (not Elegant) BPM data to obtain the correction column.
An alternative would be to replace the Cx,Cxp,Cy,Cyp terms in the .cen file with the experimental data (beam positions
at the BPMs) and then apply the Elegant "correct" procedure. Which is more straightforward ?
Regards, Max