-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for anomalous data to DataSet.to_reciprocalgrid() #65
Comments
Hey Jack, I am wondering what is the current situation of the issue (Maybe this is not an issue anymore)? |
If I understand correctly, say I have a stacked one-column anomalous data, the only difference would be I have to skip the line |
Yes -- this is currently unsupported because of the line you mentioned. If one-column anomalous data is provided, it should be sufficient to just skip the call the For 2-column anomalous data, a few more changes will be needed because a call to |
Yes, that makes sense. How about taking another argument like I am happy to create a PR for this if you think above is a good way. |
I think we can make the interface work intuitively without the need for
Implicitly, there are two checks that will automatically happen:
|
DataSet.to_reciprocalgrid()
does not currently enable data to differ between Friedel halves of reciprocal space. This functionality would be useful for things like generating maps from underlying anomalous data. As far as API, this could be implemented with ananomalous=True|False
argument. However, it may involve a decision such as how to specify the anomalous columns labels.Internally, if such a function were called with a two-column anomalous DataSet, it would be possible to implement this method using a call to
stack_anomalous()
in the place ofexpand_anomalous()
. Implicit in this is that the(+)
/(-)
-suffixed columns would be renamed to drop the Friedel specifications.The text was updated successfully, but these errors were encountered: