Writing as I go through adding things to Powder chapter so I can come back to them later.
Thoughts:
Should the calib categories be keyed essentially solely on _pd_instr.id\_pd_instr_detector.id?
PD_CALIB_D_TO_TOF I'm leaving alone, as TOF instruments are complicated
PD_CALIB_WAVELENGTH is currently keyed on *.diffractogram_id, *.diffrn_id, and *.phase_id. I think it should be *.diffractogram_id and _pd_instr.id; you're using a standard material to figure out the wavelgnth of the instrument, much like PD_QPA_EXTERNAL_STD.
PD_CALIB_XCOORD is currently keyed on *.diffractogram_id, and its own *.id. Should _pd_instr_detector.id be included, given PD_CALIB_XCOORD_OVERALL is keyed on _pd_instr_detector.id.
PD_CALIBRATION has no key.
PD_CALIB_INCIDENT_INTENSITY is keyed on _pd_instr.id
PD_CALIB_DETECTED_INTENSITY is keyed on _pd_instr_detector.id
PD_CALIB_XCOORD_OVERALL is keyed on _pd_instr_detector.id
Writing as I go through adding things to Powder chapter so I can come back to them later.
Thoughts:
Should the calib categories be keyed essentially solely on
_pd_instr.id\_pd_instr_detector.id?PD_CALIB_D_TO_TOFI'm leaving alone, as TOF instruments are complicatedPD_CALIB_WAVELENGTHis currently keyed on*.diffractogram_id,*.diffrn_id, and*.phase_id. I think it should be*.diffractogram_idand_pd_instr.id; you're using a standard material to figure out the wavelgnth of the instrument, much likePD_QPA_EXTERNAL_STD.PD_CALIB_XCOORDis currently keyed on*.diffractogram_id, and its own*.id. Should_pd_instr_detector.idbe included, givenPD_CALIB_XCOORD_OVERALLis keyed on_pd_instr_detector.id.PD_CALIBRATIONhas no key.PD_CALIB_INCIDENT_INTENSITYis keyed on_pd_instr.idPD_CALIB_DETECTED_INTENSITYis keyed on_pd_instr_detector.idPD_CALIB_XCOORD_OVERALLis keyed on_pd_instr_detector.id