pydicom.config.data_element_callback

pydicom.config.data_element_callback: Optional[ElementCallback] = None

Set to a callable function to be called from dcmread() every time a RawDataElement has been returned, before it is added to the Dataset.

Default None.