From: Boaz N. <boa...@es...> - 2017-07-28 09:53:53
|
Yes, I believe that atplot expects a lattice as a column cell array. We’ve never really clarified this issue as to what is an acceptable lattice. Laurent Farvacque sometimes uses 2D arrays in his lattices, where each column is a cell of the machine (with 32 such columns for ESRF). I think standardizing variables is a good idea. I prefer a column vector for a lattice. But I think we should check more carefully compatibility with all the different functions. I do find myself adding a transpose here and there just to make things work. Other people’s opinions? Regards, Boaz > On Jul 28, 2017, at 11:34 AM, <wil...@di...> <wil...@di...> wrote: > > I also found that THERING was transposed in newer versions of AT. > > I don't know what changed though. > > Cheers, > Will > > ________________________________ > From: Eugene Tan [Eug...@sy...] > Sent: 28 July 2017 03:25 > To: atc...@li... > Subject: [Atcollab-general] THERING column or row vector > > Hi all, > > I just came across a problem with “atplot” where it assumed that THERING was a column cell array and will not work if THERING is a row cell array. The old lattice definitions and some of the ones in machine_data return THERING as a row vector. > > Is there a specific reason for this? Are we anticipating that THERING will be 2D where each column is a different lattice? > > For now I’ve made some changes in atbaseplot to force THERING into a column vector ring = ring(:); > > > Eugene > > -- > This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. > Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. > Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. > Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Atcollab-general mailing list > Atc...@li... > https://lists.sourceforge.net/lists/listinfo/atcollab-general |