This commit is contained in:
Sarod Yatawatta 2018-02-07 10:41:03 +01:00
parent c0c5424ccd
commit 3a95d1012b
2 changed files with 1135 additions and 260 deletions

View File

@ -24,6 +24,7 @@
#include <stdlib.h>
#include <pthread.h>
#include "Radio.h"
#include "Dirac.h" /* for extract_phases() */
/* worker thread function for precalculation*/
static void *
@ -1114,7 +1115,7 @@ double ph_ra0, double ph_dec0, double ph_freq0, double *longitude, double *latit
for (cj=0; cj<carr[cm].nchunk; cj++) {
pm=&(p[carr[cm].p[cj]]); /* start of solutions */
/* extract phase of pm, output to pphase */
// extract_phases(pm,pphase,N,10);
extract_phases(pm,pphase,N,10);
/* invert N solutions */
for (ci=0; ci<N; ci++) {
mat_invert(&pphase[8*ci],&pinv[8*ci+8*N*cj], rho);

File diff suppressed because it is too large Load Diff