public void init(int i) { setSplitter(DUPLICATE()); for (int k=0; k<DETECT_BLOCKING; k++) { add (new Pipeline(i+k) { public Pipeline(int i) { super(i); } public void init(int i) { add(new Beamform(i, numChannels));   add(new  BeamFirFilter(mfSize, numPostDec2, 1)); add(new Magnitude());    add(new Detector(i, numPostDec2, targetBeam, targetSamplePostDec, cfarThreshold)); } }); } setJoiner(NULL()); }
public void init() { setSplitter(DUPLICATE()); for (int _k=0; _k<DETECT_BLOCKING; _k++) { final int k = _k; add (new Pipeline() { public void init() { add(new Beamform(i+k, numChannels));   add(new  BeamFirFilter(mfSize, numPostDec2, 1)); add(new Magnitude());    add(new Detector(i+k, numPostDec2, targetBeam, targetSamplePostDec, cfarThreshold)); } }); } setJoiner(NULL()); }
		public void init(int i) {		  setSplitter(DUPLICATE());		  for (int k=0; k<DETECT_BLOCKING; k++) {		    add (new Pipeline(i+k) {			public Pipeline(int i) { super(i); }			public void init(int i) {			  add(new Beamform(i, 					   numChannels));			  // Need to replace this fir with 			  //fft -> elWiseMult -> ifft			  add(new  BeamFirFilter(mfSize, 						 numPostDec2,						 1));			  add(new Magnitude());			  // with a more sophisticated detector, we need			  // someplace to store the data until we can find			  // the targets...			  add(new Detector(i,					   numPostDec2,					   targetBeam,					   targetSamplePostDec,					   cfarThreshold));			}		      });		  }		  setJoiner(NULL());		}