Data items in the DIFFRN_SCAN_FRAME_MONITOR category record the values and details about each monitor for each frame of data during a scan. Each monitor value is uniquely identified by the combination of the scan id given by _diffrn_scan_frame.scan_id, the frame id given by _diffrn_scan_frame_monitor.frame_id, the monitor's detector id given by _diffrn_scan_frame_monitor.detector_id, and a 1-based ordinal given by _diffrn_scan_frame_monitor.id. If there is only one frame for the scan, the value of _diffrn_scan_frame_monitor.frame_id may be omitted. A single frame may have more than one monitor value, and each monitor value may be the result of integration over the entire frame integration time given by the value of _diffrn_scan_frame.integration_time, or many monitor values may be reported over shorter times given by the value of _diffrn_scan_frame_monitor.integration_time. If only one monitor value for a given monitor is collected during the integration time of the frame, the value of _diffrn_scan_frame_monitor.id may be omitted.
_diffrn_scan_frame_monitor.id MONID --> _diffrn_scan_frame_monitor.detector_id DETECTORNAME --> _diffrn_scan_frame_monitor.scan_id SCANID --> _diffrn_scan_frame_monitor.frame_id FRAMEID --> _diffrn_scan_frame_monitor.integration_time INTEGRATIONTIME --> _diffrn_scan_frame_monitor.monitor_value MONITORVALUE --> --> /entry:NXentry /CBF_scan_id="SCANID" /instrument:NXinstrument /CBF_diffrn_scan_frame_monitor__DETECTORNAME_MONID:NXmonitor @CBF_detector_id="DETECTORNAME" @CBF_diffrn_scan_frame_monitor__id="MONID" /data=[MONITORVALUE] /count_time=[INTEGRATIONTIME]
# category DIFFRN_DETECTOR loop_ _diffrn_detector.diffrn_id _diffrn_detector.id _diffrn_detector.type _diffrn_detector.number_of_axes P6MB MAR345-SN26 'MAR 345' 4 P6MB BSM01 'metal foil and PIN diode' 1 # category DIFFRN_DETECTOR_AXIS loop_ _diffrn_detector_axis.detector_id _diffrn_detector_axis.axis_id MAR345-SN26 DETECTOR_X MAR345-SN26 DETECTOR_Y MAR345-SN26 DETECTOR_Z MAR345-SN26 DETECTOR_PITCH BSM01 MONITOR_Z # category DIFFRN_DATA_FRAME loop_ _diffrn_data_frame.id _diffrn_data_frame.detector_element_id _diffrn_data_frame.array_id _diffrn_data_frame.binary_id FRAME1 ELEMENT1 ARRAY1 1 # category DIFFRN_SCAN loop_ _diffrn_scan.id _diffrn_scan.frame_id_start _diffrn_scan.frame_id_end _diffrn_scan.frames SCAN1 FRAME1 FRAME1 1 # category DIFFRN_SCAN_AXIS loop_ _diffrn_scan_axis.scan_id _diffrn_scan_axis.axis_id _diffrn_scan_axis.angle_start _diffrn_scan_axis.angle_range _diffrn_scan_axis.angle_increment _diffrn_scan_axis.displacement_start _diffrn_scan_axis.displacement_range _diffrn_scan_axis.displacement_increment SCAN1 GONIOMETER_OMEGA 12.0 1.0 1.0 0.0 0.0 0.0 SCAN1 GONIOMETER_KAPPA 23.3 0.0 0.0 0.0 0.0 0.0 SCAN1 GONIOMETER_PHI -165.8 0.0 0.0 0.0 0.0 0.0 SCAN1 DETECTOR_Z 0.0 0.0 0.0 -240.0 0.0 0.0 SCAN1 DETECTOR_Y 0.0 0.0 0.0 0.6 0.0 0.0 SCAN1 DETECTOR_X 0.0 0.0 0.0 -0.5 0.0 0.0 SCAN1 DETECTOR_PITCH 0.0 0.0 0.0 0.0 0.0 0.0 SCAN1 MONITOR_Z 0.0 0.0 0.0 -220.0 0.0 0.0 # category DIFFRN_SCAN_FRAME loop_ _diffrn_scan_frame.frame_id _diffrn_scan_frame.frame_number _diffrn_scan_frame.integration_time _diffrn_scan_frame.scan_id _diffrn_scan_frame.date FRAME1 1 20.0 SCAN1 1997-12-04T10:23:48 # category DIFFRN_SCAN_FRAME_MONITOR loop_ _diffrn_scan_frame_monitor.id _diffrn_scan_frame_monitor.detector_id _diffrn_scan_frame_monitor.scan_id _diffrn_scan_frame_monitor.frame_id _diffrn_scan_frame_monitor.integration_time _diffrn_scan_frame_monitor.monitor_value 1 BSM01 SCAN1 FRAME1 2.0 23838345642 2 BSM01 SCAN1 FRAME1 2.0 23843170669 3 BSM01 SCAN1 FRAME1 2.0 23839478690 4 BSM01 SCAN1 FRAME1 2.0 23856642085 5 BSM01 SCAN1 FRAME1 2.0 23781717656 6 BSM01 SCAN1 FRAME1 2.0 23788850775 7 BSM01 SCAN1 FRAME1 2.0 23815576677 8 BSM01 SCAN1 FRAME1 2.0 23789299964 9 BSM01 SCAN1 FRAME1 2.0 23830195536 10 BSM01 SCAN1 FRAME1 2.0 23673082270 # category DIFFRN_SCAN_FRAME_AXIS loop_ _diffrn_scan_frame_axis.frame_id _diffrn_scan_frame_axis.axis_id _diffrn_scan_frame_axis.angle _diffrn_scan_frame_axis.displacement FRAME1 GONIOMETER_OMEGA 12.0 0.0 FRAME1 GONIOMETER_KAPPA 23.3 0.0 FRAME1 GONIOMETER_PHI -165.8 0.0 FRAME1 DETECTOR_Z 0.0 -240.0 FRAME1 DETECTOR_Y 0.0 0.6 FRAME1 DETECTOR_X 0.0 -0.5 FRAME1 DETECTOR_PITCH 0.0 0.0 FRAME1 MONITOR_Z 0.0 -220.0 # category AXIS loop_ _axis.id _axis.type _axis.equipment _axis.depends_on _axis.vector[1] _axis.vector[2] _axis.vector[3] _axis.offset[1] _axis.offset[2] _axis.offset[3] GONIOMETER_OMEGA rotation goniometer . 1 0 0 . . . GONIOMETER_KAPPA rotation goniometer GONIOMETER_OMEGA 0.64279 0 0.76604 . . . GONIOMETER_PHI rotation goniometer GONIOMETER_KAPPA 1 0 0 . . . SOURCE general source . 0 0 1 . . . GRAVITY general gravity . 0 -1 0 . . . DETECTOR_Z translation detector . 0 0 1 0 0 0 DETECTOR_Y translation detector DETECTOR_Z 0 1 0 0 0 0 DETECTOR_X translation detector DETECTOR_Y 1 0 0 0 0 0 DETECTOR_PITCH rotation detector DETECTOR_X 0 1 0 0 0 0 ELEMENT_X translation detector DETECTOR_PITCH 1 0 0 172.43 -172.43 0 ELEMENT_Y translation detector ELEMENT_X 0 1 0 0 0 0 MONITOR_Z translation detector . 0 0 1 0 0 0