ADU2e - EranOfek/AstroPack GitHub Wiki

Description

The function allows to convert the 14-bit ULTRASAT ADU map into a map of counts (electrons). The output is a matrix of counts.

Example

% Result is a decoded bit map. To convert it into a Counts map, the high/low gain scales and thresholds are employed.
[Result, Counts] = ADU2e(ADU, Args)