Skip to content

Conversation

@rowlesmr
Copy link
Collaborator

@rowlesmr rowlesmr commented Jun 5, 2023

Originally talked about in #53 and implemented in #89, #91, #92, and #93

The new categories

  • PD_CALIB_DETECTED_INTENSITY
  • PD_CALIB_INCIDENT_INTENSITY
  • PD_CALIB_WAVELENGTH
  • PD_CALIB_XCOORD
  • PD_QPA_INTERNAL_STD

take up the functionality previously facilitated by

  • PD_CALIB
  • PD_CALIB_OFFSET
  • PD_CALIB_STD

This PR is to deprecate redundant data items and categories.

.

I'm not deprecating PD_CALIBRATION yet, as I need to convince myself how I can calibrate a (for instance) energy-sensitive detector based on detector_id to energy (or position, or 2th or whatever...)

@rowlesmr
Copy link
Collaborator Author

rowlesmr commented Jun 5, 2023

The failed check is due to the category deprecations. The checks can't find the replacement category.

@vaitkus
Copy link
Collaborator

vaitkus commented Jun 5, 2023

The _definition_replaced.by attribute is not meant for categories, only for data items.

The information about category deprecation and replaced can be recorded in the description as a human-readable text (as is currently done).

@rowlesmr
Copy link
Collaborator Author

rowlesmr commented Jun 5, 2023

Ah. I must have misunderstood James' answer previously.

Will change.

@rowlesmr
Copy link
Collaborator Author

rowlesmr commented Jun 6, 2023

I think PD_CALIBRATION should stay and be updated. See #133.

@rowlesmr rowlesmr mentioned this pull request Jun 6, 2023
@jamesrhester jamesrhester merged commit a4504d3 into COMCIFS:master Jun 7, 2023
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.

3 participants