locan.data.transform.intensity_transformation.transform_counts_to_photons#
- locan.data.transform.intensity_transformation.transform_counts_to_photons(locdata, loc_properties=None, metadata=None)[source]#
Convert camera analog-to-digital converter (ADC) counts into photo electrons. Quantum efficiency at the detected wavelength and collection efficiency of the optical system are not taken into account here.
- Parameters:
locdata (
LocData
) – Localization data on which to perform the manipulation.loc_properties (
UnionType
[str
,list
[str
],None
]) – Localization properties to be converted. If None the intensity values of locdata are used.metadata (
Optional
[Camera
]) – Camera metadata with attribute offset, gain, electrons_per_count If None, locdata.meta.experiment.setups[0].optical_units[0].detection.camera is used.
- Returns:
Localization data with converted intensity values.
- Return type: