Title: transform from center-of-mass frame to lab frame · Issue #53 · ilent2/ott · GitHub
Open Graph Title: transform from center-of-mass frame to lab frame · Issue #53 · ilent2/ott
X Title: transform from center-of-mass frame to lab frame · Issue #53 · ilent2/ott
Description: Hi Dr. Issac Lenton, I'm trying to do some scattering calculations with OTT in MATLAB. I'm able to follow the beam_visualization.m example and calculate the scattered fields when the trap beam (a gaussian beam) is offset from the particl...
Open Graph Description: Hi Dr. Issac Lenton, I'm trying to do some scattering calculations with OTT in MATLAB. I'm able to follow the beam_visualization.m example and calculate the scattered fields when the trap beam (a g...
X Description: Hi Dr. Issac Lenton, I'm trying to do some scattering calculations with OTT in MATLAB. I'm able to follow the beam_visualization.m example and calculate the scattered fields when the trap b...
Opengraph URL: https://github.com/ilent2/ott/issues/53
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"transform from center-of-mass frame to lab frame","articleBody":"Hi Dr. Issac Lenton,\r\n\r\nI'm trying to do some scattering calculations with OTT in MATLAB. I'm able to follow the beam_visualization.m example and calculate the scattered fields when the trap beam (a gaussian beam) is offset from the particle. As I understand it, everything is in the particle's center-of-mass frame. I want to transform the far-field solutions back into the lab frame after the scattering calculation. Could you advise how I should proceed? Currently, translation in Y (using .translateXyz) seems to also cause some tilt in the far-field solutions without applying any scattering matrix. I attached a plot to show how the beam profile in blue in the translated Y dimension looks skewed in the particle's COM frame in the far field regime. I want to be in a rest frame of this incoming trap beam, where I think the beam profiles in any XY planes would look translated and not skewed. Any suggestions are appreciated. \r\n\r\n\r\n\r\nThanks,\r\nYuqi\r\n\r\n","author":{"url":"https://github.com/yuqizhuyqz","@type":"Person","name":"yuqizhuyqz"},"datePublished":"2023-08-11T20:48:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/53/ott/issues/53"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2f163d7a-2667-9a9a-a96a-db36f4a5c6c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82D6:1C781E:38535A:4EE96C:6A4BC6E1 |
| html-safe-nonce | 0e160000219157f11deaa5bcfb631924b5b246a9eb19cb8e855e1b14425ba487 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkQ2OjFDNzgxRTozODUzNUE6NEVFOTZDOjZBNEJDNkUxIiwidmlzaXRvcl9pZCI6IjkxNjI1NTA0NzMwNTM4MTYwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a34dff1b12624dc6093d460869668d36a69d212c2e21ccc734e4c620c97fcffa |
| hovercard-subject-tag | issue:1847412488 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ilent2/ott/53/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7e5266ded1b299811a6c25973ae8daefe7f43fc984a5776d2b1f552800d57fbb/ilent2/ott/issues/53 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7e5266ded1b299811a6c25973ae8daefe7f43fc984a5776d2b1f552800d57fbb/ilent2/ott/issues/53 |
| og:image:alt | Hi Dr. Issac Lenton, I'm trying to do some scattering calculations with OTT in MATLAB. I'm able to follow the beam_visualization.m example and calculate the scattered fields when the trap beam (a g... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yuqizhuyqz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/ilent2/ott git https://github.com/ilent2/ott.git |
| octolytics-dimension-user_id | 4300467 |
| octolytics-dimension-user_login | ilent2 |
| octolytics-dimension-repository_id | 123386773 |
| octolytics-dimension-repository_nwo | ilent2/ott |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 123386773 |
| octolytics-dimension-repository_network_root_nwo | ilent2/ott |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width