{"action":"opened","issue":{"url":"https://api.github.com/repos/lnls-fac/pyaccel/issues/32","labels_url":"https://api.github.com/repos/lnls-fac/pyaccel/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/lnls-fac/pyaccel/issues/32/comments","events_url":"https://api.github.com/repos/lnls-fac/pyaccel/issues/32/events","html_url":"https://github.com/lnls-fac/pyaccel/issues/32","id":107827234,"number":32,"title":"Twiss list object","user":{"login":"fernandohds564","id":5638331,"avatar_url":"https://avatars.githubusercontent.com/u/5638331?v=3","gravatar_id":"","url":"https://api.github.com/users/fernandohds564","html_url":"https://github.com/fernandohds564","followers_url":"https://api.github.com/users/fernandohds564/followers","following_url":"https://api.github.com/users/fernandohds564/following{/other_user}","gists_url":"https://api.github.com/users/fernandohds564/gists{/gist_id}","starred_url":"https://api.github.com/users/fernandohds564/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fernandohds564/subscriptions","organizations_url":"https://api.github.com/users/fernandohds564/orgs","repos_url":"https://api.github.com/users/fernandohds564/repos","events_url":"https://api.github.com/users/fernandohds564/events{/privacy}","received_events_url":"https://api.github.com/users/fernandohds564/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-23T00:05:43Z","updated_at":"2015-09-23T00:05:43Z","closed_at":null,"body":"What do you guys think about creating a Class for the twiss list returned from calc_twiss?\r\nWe could implement it in a way that something like this\r\nbetax = twiss.betax\r\nreturns the betax at all positions in the twiss instance of TwissList. And it would also accept sintaxes like this\r\nidx = pyaccel.lattice.find_indices(acc,'fam_name','qfa')\r\nbetax = twiss[idx].betax\r\nto get the betatron functions at the quadrupole positions. :)\r\n@xresende, @afonsoharuo, @LuanaVilela."}}