@Test (groups = {"11-06-i-links"}, dependsOnGroups = {"11-06-i-image", "11-06-i-filter"}) public void testChannel0LightpathLinkage() { Assert.assertNotNull(channel0); LightPath lightpath = channel0.getLightPath(); Assert.assertNotNull(lightpath); Assert.assertEquals(1, lightpath.sizeOfLinkedExcitationFilterList()); Assert.assertEquals(filter3, lightpath.getLinkedExcitationFilter(0)); Assert.assertNull(lightpath.getLinkedDichroic()); Assert.assertEquals(1, lightpath.sizeOfLinkedEmissionFilterList()); Assert.assertEquals(filter2, lightpath.getLinkedEmissionFilter(0)); }
public String getLightPathExcitationFilterRef(int imageIndex, int channelIndex, int excitationFilterRefIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // ExcitationFilterRef is reference and occurs more than once return root.getImage(imageIndex).getPixels().getChannel(channelIndex).getLightPath().getLinkedExcitationFilter(excitationFilterRefIndex).getID(); }
public String getLightPathExcitationFilterRef(int imageIndex, int channelIndex, int excitationFilterRefIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // ExcitationFilterRef is reference and occurs more than once return root.getImage(imageIndex).getPixels().getChannel(channelIndex).getLightPath().getLinkedExcitationFilter(excitationFilterRefIndex).getID(); }