Processing Modes

Several modes are available for the onboard data processing. For scientific observations only two need to be considered: PMWORK and PMENV2.

PMWORK

This mode uses two maps which must have been calculated before:

and requires two parameters:

The processing is done in the following way:

  1. every 50 ms, the charges found in all the 384 x 384 pixels are read out from the framestore, yielding a map PHA(RAWX,RAWY);
  2. the offset map is subtracted, yielding the map PHA_off(RAWX,RAWY) = PHA(RAWX,RAWY) - OFF(RAWX,RAWY);
  3. for each segment ( PHA_off(rawx,RAWY), rawx = n*64-63 .. n*64), n = 1,6 ), the median value PHA_med(n,RAWY) is computed;
  4. the median value is subtracted from each pixel, yielding PHA_cor(RAWX,RAWY) = PHA_off(RAWX,RAWY) - PHA_med(n,RAWY);
  5. all the pixels (RAWX,RAWY) with PHA_cor(RAWX,RAWY) ≥ T1 are selected and put into the telemetry;
  6. for each of the pixels (RAWX,RAWY) which were selected in the step before, their 8 pixel environment is checked for the presence of pixels with PHA_COR(rawx,rawy) ≥ T2 NOISE(rawx,rawy); if this condition is satisfied, these pixels will also be transmitted.

PMENV2

This mode uses two maps which must have been calculated before:

and requires two parameters:

The processing is done in the following way (the first 4 steps are identical to PMWORK):

  1. every 50 ms, the charges found in all the 384 x 384 pixels are read out from the framestore, yielding a map PHA(RAWX,RAWY);
  2. the offset map OFF(RAWX,RAWY) is subtracted, yielding the map PHA_off(RAWX,RAWY) = PHA(RAWX,RAWY) - OFF(RAWX,RAWY);
  3. for each segment ( PHA_off(rawx,RAWY), rawx = n*64-63 .. n*64), n = 1,6 ), the median value PHA_med(n,RAWY) is computed;
  4. the median value is subtracted from each pixel, yielding PHA_cor(RAWX,RAWY) = PHA_off(RAWX,RAWY) - PHA_med(n,RAWY);
  5. all the pixels (RAWX,RAWY) with PHA_cor(RAWX,RAWY) ≥ S1 THR(RAWX,RAWY) are selected and put into the telemetry.
  6. for each of the pixels (RAWX,RAWY) which were selected in the step before, their 8 pixel environment is checked for the presence of pixels with PHA_COR(rawx,rawy) ≥ S1 THR(RAWX,RAWY) - DIFF2(dir), where DIFF2(dir) is given by the secondary pair selector S2 and the direction of the neighbouring pixel (rawx,rawy) with respect to (RAWX,RAWY), i.e., whether dir = abs(rawx-RAWX) + abs(rawy-RAWY) is 1 (adjacent pixel) or 2 (diagonal pixel); if this condition is satisfied for at least one pixel in the 8 pixel environment, then the whole environment is transmitted in a highly compressed format, which requires not more bytes than the transmission of one neighbouring pixel in PMWORK.

Comparison of the two modes

PMENV2 is the more advanced processing mode, providing several advantages over PMWORK:

With PMENV2 it becomes possible to transmit essentially all the information necessary for the charge collection which would be accessible if eROSITA were operated on ground. An interesting detail is that the transmission of the 8 pixel environment occurs only if at least one pixel is found to exceed the threshold. In the majority of cases when this does not happen, PMENV2 provides valuable information without requiring any additional telemetry. Please note that the description above is somewhat simplified. PMENV2 offers even more diagnostics, as can be seen in the description of the eSASS task pattern.

After launch, it turned out that the on-board coding of PMWORK contained a bug in the MIP processing, which may create essentially random bit patterns in the downlinked data. These cannot be filtered out in the decoding process, but may then be recognized as, e.g., wrong frame times or wrong telemetry modes. In many cases, however, it is not possible to spot them, because all the bits in the telemetry are used for coding information. The 'coordinate bits', e.g., can by design only store values between 0 and 383 for each axis, so that an error in the coordinate can only be spotted when this coordinate happens to coincide with another occurrence of the same coordinate in the same CCD frame. Due to this bug (which is not present in PMENV2), PMWORK cannot be considered as a reliable data transmission mode, and one should take the possibility into account that scientific results derived from data taken in this mode may be affected by this problem.