{"action":"created","issue":{"url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/193","repository_url":"https://api.github.com/repos/mtex-toolbox/mtex","labels_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/193/comments","events_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/193/events","html_url":"https://github.com/mtex-toolbox/mtex/issues/193","id":166610321,"number":193,"title":"Relationship between Fourier Coefficients and spherical Harmonics coefficients. ","user":{"login":"AslanAhadi","id":16540874,"avatar_url":"https://avatars.githubusercontent.com/u/16540874?v=3","gravatar_id":"","url":"https://api.github.com/users/AslanAhadi","html_url":"https://github.com/AslanAhadi","followers_url":"https://api.github.com/users/AslanAhadi/followers","following_url":"https://api.github.com/users/AslanAhadi/following{/other_user}","gists_url":"https://api.github.com/users/AslanAhadi/gists{/gist_id}","starred_url":"https://api.github.com/users/AslanAhadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AslanAhadi/subscriptions","organizations_url":"https://api.github.com/users/AslanAhadi/orgs","repos_url":"https://api.github.com/users/AslanAhadi/repos","events_url":"https://api.github.com/users/AslanAhadi/events{/privacy}","received_events_url":"https://api.github.com/users/AslanAhadi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-20T15:27:53Z","updated_at":"2016-08-04T08:11:34Z","closed_at":null,"body":"Hello all,\r\nI know that in MTEX the ODF is constructed using the Fourier approach. I am modeling anisotropic thermal expansion behavior of a textured sample and I need the second-order coefficients of Spherical Harmonics. They are conventionally represented as C211, C212, C221, and C222 in text books. The first 2 is subscript and the next two digits are superscripts. I was wondering if there is a way to get these constants from ODF calculation in MTEX?\r\nI successfully can extract the second-order Fourier coefficients using the following commands. \r\n```matlab\r\nFodfB2=FourierODF(odfB2,'bandwidth',25)\r\nFsecCoe=reshape(FodfB2.components{1}.f_hat(11:35),5,5)\r\n```\r\nWhat I get is a 5*5 matrix of Fourier Coefficients but I have no idea which one is C211, C212, C221, and C222. \r\nI highly appreciate your helps in advance. \r\nRegards,\r\nAslan "},"comment":{"url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/comments/237483656","html_url":"https://github.com/mtex-toolbox/mtex/issues/193#issuecomment-237483656","issue_url":"https://api.github.com/repos/mtex-toolbox/mtex/issues/193","id":237483656,"user":{"login":"AslanAhadi","id":16540874,"avatar_url":"https://avatars.githubusercontent.com/u/16540874?v=3","gravatar_id":"","url":"https://api.github.com/users/AslanAhadi","html_url":"https://github.com/AslanAhadi","followers_url":"https://api.github.com/users/AslanAhadi/followers","following_url":"https://api.github.com/users/AslanAhadi/following{/other_user}","gists_url":"https://api.github.com/users/AslanAhadi/gists{/gist_id}","starred_url":"https://api.github.com/users/AslanAhadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AslanAhadi/subscriptions","organizations_url":"https://api.github.com/users/AslanAhadi/orgs","repos_url":"https://api.github.com/users/AslanAhadi/repos","events_url":"https://api.github.com/users/AslanAhadi/events{/privacy}","received_events_url":"https://api.github.com/users/AslanAhadi/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T08:11:34Z","updated_at":"2016-08-04T08:11:34Z","body":"Dear Ralph,\r\nThanks for replying. I knew about that but since I am unable to successfully calculate the transformation texture and its ODF, I could not proceed in that way. I have a question that if you help me with this one I will be fine with this question.\r\nTo calculate the transformation texture I rotate the parent phase ODF by a set of Euler angles known from Orientation Relationship between the two phases. I need the rotated ODF to be in a new crystal system (Monoclinic) not the original (Cubic). So my question how to convert the crystal symmetry of the rotated ODF from Cubic to Monoclinic?\r\nI practiced your transformation tutorial PDF but that tutorial deal with single orientation not ODF and whenever I multiply the ODF I get a error message.\r\nKind Regards,\r\nAslan "}}
{"actor":{"display_login":"AslanAhadi"}}