-
Notifications
You must be signed in to change notification settings - Fork 4
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
how to reference other phases/diffractograms? #163
Comments
The first thing to do is to not think in terms of "pointing" to a "place" that "contains" something. Instead, you are simply "identifying" something - a diffractogram, or a phase, or an instrument, etc. So your first definition (the current one) seems correct to me. The example also seems correct to me. It is a little strange to think that
|
To my mind, the SRM676A diffractogram owns the calibration value, and all other places are merely borrowing it. Now that I think about it, as you need to collect the unknown data under identical circumstances, isn't the calibration owned by the . I don't know if I'm breaking out of my baliwick, but I'm trying to think up how to make a collection of powder CIF blocks into a single set of database tables, rather than a separate set for each block, and so I need to be able to uniquely identify things. |
I think Anyway, with that in place, Not sure about the |
This was raised in the third dot point of @vaitkus #161 (comment)
What is the correct way to define a data item that is used to point to another place which contains the information you're after?
In the example below, there is a diffractogram with
_pd_diffractogram.id
having the value ofDIFFRACTOGRAM_0020
. It was quantified by the external method using the information contained in thePD_QPA_EXTERNAL_STD
category data items (ie the K factor and standard MAC) associated with the key_pd_qpa_external_std.diffractogram_id
which has the valueSRM676A
.I've currently indicated that by having
_pd_qpa_external_std.diffractogram_id SRM676A
given inside the block containingDIFFRACTOGRAM_0020
. The definition of_pd_qpa_external_std.diffractogram_id
is below.Is this the correct way to do it, or should there be another data item used to point? Something like
where it isn't linked, but does
Encode
a diffractometer_id in order to find all the information?The text was updated successfully, but these errors were encountered: