Lines Matching refs:detector
84 // Create resonant ring detector
85 RingDetector* detector = new RingDetector("Detector-" + n, getTechModel());
86 detector->setParameter("InStart", 0);
87 detector->setParameter("InEnd", wavelengths-1);
88 detector->setParameter("DetStart", 0);
89 detector->setParameter("DetEnd", wavelengths-1);
90 detector->setParameter("DropAll", "FALSE");
91 detector->setParameter("SenseAmp", "TRUE");
92 detector->construct();
94 opticalPortConnect(detector, "In", "WaveguideDet-" + n);
95 opticalPortConnect(detector, "Out", "WaveguideDet-" + (String) (i + 1));
97 addSubInstances(detector, 1.0);
130 Model* detector = getSubInstance("Detector-" + (String) i);
131 detector->setProperty("ExtinctionRatio", extinction_ratio);
132 detector->setProperty("DataRate", data_rate);
133 detector->setProperty("P(In)", 0.5);
134 detector->setProperty("Act(In)", 1.0);
135 detector->update();