#include "Level1Data.h" #include #include extern "C" void load_fov_offsets( int* nch, int* iblk, double** InputOffsets, double* fov_offsets) { int mode = (::gLevel1Data.Mode() == std::string("s")) ? 0 : 1 ; for(int ich=0; ich < *nch; ++ich) { if( iblk[ich] <=16) { fov_offsets[ich] = InputOffsets[iblk[ich]-1][mode] * M_PI/10800.0 ; //value in radians } else { fov_offsets[ich] = 0.0; } } //std::cout << " inside fov offsets " << std::endl; }