plot maps in three panels #51
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: zaharko
adopt the change of the 'in-plane X' and 'normal' directions to the user defined onesFor this three value should be changed in teh cell 3 of Camilla's code##x_dir should be changed to 'in-plane X'x_dir = [1,1,0]##orth_dir should be changed to 'normal'orth_dir = [-1,1,0]##and orth_cut should be changed to 'cut'orth_cut = 0.0Created by: ivan-usov
There is a problem with the logarithmic color mapping, namely, it can't include 0 values in data as it refers to -infinity on the axis. Unfortunately, the 2D detector data almost always includes 0 values (as background). Thus, we can't include it as it is.
There are a few workaround possibilities, but none of them are perfect. In fact, many argue that count data should not be log-transformed:
https://www.nature.com/articles/npre.2010.4136.1
I'll hold this change for now.
Created by: zaharko
Hi Ivan,
Could we change zeroes into the small number C for which log can be taken and plot the data shifted by C?
This might be strictly speaking not the correct solution, but it will serve the purpose to see a weak signal on top of a significant background.
Thank you
Oksana
On 15 Feb 2023, at 16:07, Ivan Usov @.@.>> wrote:
There is a problem with the logarithmic color mapping, namely, it can't include 0 values in data as it refers to -infinity on the axis. Unfortunately, the 2D detector data almost always includes 0 values (as background). Thus, we can't include it as it is.
There are a few workaround possibilities, but none of them are perfect. In fact, many argue that count data should not be log-transformed:
https://www.nature.com/articles/npre.2010.4136.1
I'll hold this change for now.
—
Reply to this email directly, view it on GitHubhttps://github.com/paulscherrerinstitute/pyzebra/issues/51#issuecomment-1431518119, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMBMFVGHQI5JTDYC6FHEBHLWXTWM5ANCNFSM6AAAAAAU3WTVTQ.
You are receiving this because you authored the thread.Message ID: @.***>