Skip to content
Snippets Groups Projects
isisraw.cpp 31.5 KiB
Newer Older
int ISISRAW::getTimeChannels(float *rtcb1, int n) {
  if (n != t_ntc1 + 1) {
  if (frmt_ver_no > 1) {
    extra = float(4.0) * daep.a_delay; // add on frame sync delay
  } else {
    extra = 0.0; // old files did not have this
  for (i = 0; i < t_ntc1 + 1; i++) {
    rtcb1[i] = t_tcb1[i] * t_pre1 / float(32.0) + extra;
  }
  return 0;