#include "licel_ut.h" #include "licel_tr.h" /* Converts the LSW and the MSW values into an integer array containing the summed up analog values. The first trash element (due to the data transmission scheme ) are also removed. */ void Licel_Combine_Analog_Datasets(short* i_lsw, short* i_msw,int iNumber, long *lAccumulated, short *iClipping) { int i; for(i=1;i>8; } } /* Converts the raw Photon counting data into an integer array containing the summed up photon counting values. The first trash element (due to the data transmission scheme ) are also removed. The clipping information present in the most significant bit is masked out if neccessary*/ void Licel_Convert_Photoncounting(short* photon_raw, int iNumber,long * photon_c,int iPurePhoton) { int i, iMask; if(iPurePhoton!=0) { iMask=0xFFFF; } else { iMask=0x7FFF; } for(i=1;i