Skip to content

Conversation

@rowlesmr
Copy link
Collaborator

from #124

I need to add an example of how it is used with an actual diffractogram, and I'm not sure how to reference the calibration

From the current example:

data_calibration_block
   loop_
   _pd_calib_detected_intensity.detector_id
   _pd_calib_detected_intensity.detector_response
   _pd_calib_detected_intensity.diffractogram_id
   _pd_calib_detected_intensity.phase_id
   _pd_calib_detected_intensity.special_details
   1_4913c6ed   1       . . 'Scanned through direct beam.'
   2_4913c6ed   0.973   . . 'Scanned through direct beam.'
   3_4913c6ed   0.997   . . 'Scanned through direct beam.'
   4_4913c6ed   1.039   . . 'Scanned through direct beam.'
   # ...

data_diffractogram_to_be_calibrated
   # does anything go here to link to the calibration?
   loop_
   _pd_meas.detector_id  # I'm a position-sensitive detector. Angle calibration comes later...
   _pd_meas.intensity_total
   1_4913c6ed   1234.25       
   2_4913c6ed   1354.36
   3_4913c6ed   1356.78 
   4_4913c6ed   1654.78
   # ... 

data_another_diffractogram_to_be_calibrated
   # does anything go here to link to the calibration?
   loop_
   _pd_meas.detector_id  # I'm a position-sensitive detector. Angle calibration comes later...
   _pd_meas.intensity_total
   1_4913c6ed   2234.25       
   2_4913c6ed   2354.36
   3_4913c6ed   2356.78 
   4_4913c6ed   2654.78
   # ... 

@rowlesmr
Copy link
Collaborator Author

Don't look at this one. Need to rejig it along the lines of PD_CALIB_XCOORD

@vaitkus
Copy link
Collaborator

vaitkus commented Jun 20, 2025

@rowlesmr rowlesmr marked this pull request as draft June 20, 2025 14:46
@rowlesmr
Copy link
Collaborator Author

Ta! was wondering how to flag it without closing it

@rowlesmr
Copy link
Collaborator Author

rowlesmr commented Jul 8, 2025

move to another PR #238

@rowlesmr rowlesmr closed this Jul 8, 2025
@rowlesmr rowlesmr deleted the add-example-PD_CALIB_DETECTED_INTENSITY branch July 11, 2025 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants