rotation angles
cherryandmoon opened this issue · 4 comments
cherryandmoon commented
hi, hope this is not a silly question to ask.
I am trying to create an angle partition, using angle_part = odl.uniform_partition(0,2 * np.pi,393)
however, I need anticlockwise angles, i.e., with -2*np.pi, but seems not allowed.
Would you please give me some advice? Thanks.
adler-j commented
ODL enforces strictly increasing angles as a convention, the standard solution if you have real data is to re-order your data to have clockwise angles using e.g. data = data[::-1]
.
cherryandmoon commented
Hi Jonas,
Thanks for your reply. It works.
Best regard,
Wenjuan
From: Jonas Adler <notifications@github.com>
Sent: 14 January 2021 11:40
To: odlgroup/odl <odl@noreply.github.com>
Cc: Wenjuan Sun <wenjuan.sun@npl.co.uk>; Author <author@noreply.github.com>
Subject: [EXTERNAL] Re: [odlgroup/odl] rotation angles (#1592)
CAUTION: This email originated from outside of NPL. Do not click links or open attachments unless you recognize the sender and know the content is safe.
ODL enforces strictly increasing angles as a convention, the standard solution if you have real data is to re-order your data to have clockwise angles using e.g. data = data[::-1].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1592 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANPZKOPY7BCDKXNGIDBUL3TSZ3J2BANCNFSM4WBTILSA>.
Measurement for Recovery is providing up to 20 days specialist science and engineering support, advice and facilities - free of charge for a limited time. Apply now.<https://www.npl.co.uk/measurement-for-recovery?utm_campaign=M4R&utm_source=Email-footer&utm_medium=All-staff&utm_content=Launch-2>
[http://resource.npl.co.uk/images/m4r.jpg]<https://www.npl.co.uk/measurement-for-recovery?utm_campaign=M4R&utm_source=Email-footer&utm_medium=All-staff&utm_content=Launch-2>
www.npl.co.uk/measurement-for-recovery<https://www.npl.co.uk/measurement-for-recovery?utm_campaign=M4R&utm_source=Email-footer&utm_medium=All-staff&utm_content=Launch-2>
…________________________________
[http://resource.npl.co.uk/images/npl-logo.jpg]<https://www.npl.co.uk/?utm_source=Email%20Footer&utm_medium=email&utm_campaign=Homepage> Keep in touch<https://www.npl.co.uk/contact> [http://resource.npl.co.uk/images/twitter.jpg] <http://www.twitter.com/npl> [http://resource.npl.co.uk/images/facebook.jpg] <http://www.facebook.com/npldigital> [http://resource.npl.co.uk/images/youtube.jpg] <http://www.youtube.com/npldigital>
________________________________
NPL Privacy Policy<https://www.npl.co.uk/privacy-policy/>
If you have received this message in error, please notify us and remove it from your system.
NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses.
NPL Management Ltd is a company registered in England and Wales, number: 2937881
Registered office: National Physical Laboratory | Hampton Road | Teddington, Middlesex | UK | TW11 0LW
adler-j commented
That's great! If there's nothing more I'll close this issue.
cherryandmoon commented
Sure, no problem. Thanks.
From: Jonas Adler <notifications@github.com>
Sent: 14 January 2021 13:06
To: odlgroup/odl <odl@noreply.github.com>
Cc: Wenjuan Sun <wenjuan.sun@npl.co.uk>; Author <author@noreply.github.com>
Subject: [EXTERNAL] Re: [odlgroup/odl] rotation angles (#1592)
CAUTION: This email originated from outside of NPL. Do not click links or open attachments unless you recognize the sender and know the content is safe.
That's great! If there's nothing more I'll close this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#1592 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANPZKOOD2WAHUTHNE3ND3MTSZ3T2VANCNFSM4WBTILSA>.
Measurement for Recovery is providing up to 20 days specialist science and engineering support, advice and facilities - free of charge for a limited time. Apply now.<https://www.npl.co.uk/measurement-for-recovery?utm_campaign=M4R&utm_source=Email-footer&utm_medium=All-staff&utm_content=Launch-2>
[http://resource.npl.co.uk/images/m4r.jpg]<https://www.npl.co.uk/measurement-for-recovery?utm_campaign=M4R&utm_source=Email-footer&utm_medium=All-staff&utm_content=Launch-2>
www.npl.co.uk/measurement-for-recovery<https://www.npl.co.uk/measurement-for-recovery?utm_campaign=M4R&utm_source=Email-footer&utm_medium=All-staff&utm_content=Launch-2>
…________________________________
[http://resource.npl.co.uk/images/npl-logo.jpg]<https://www.npl.co.uk/?utm_source=Email%20Footer&utm_medium=email&utm_campaign=Homepage> Keep in touch<https://www.npl.co.uk/contact> [http://resource.npl.co.uk/images/twitter.jpg] <http://www.twitter.com/npl> [http://resource.npl.co.uk/images/facebook.jpg] <http://www.facebook.com/npldigital> [http://resource.npl.co.uk/images/youtube.jpg] <http://www.youtube.com/npldigital>
________________________________
NPL Privacy Policy<https://www.npl.co.uk/privacy-policy/>
If you have received this message in error, please notify us and remove it from your system.
NPL Management Ltd cannot guarantee that the e-mail or any attachments are free from viruses.
NPL Management Ltd is a company registered in England and Wales, number: 2937881
Registered office: National Physical Laboratory | Hampton Road | Teddington, Middlesex | UK | TW11 0LW