setDetectorSettings(new DetectorSettings( (Element) DetectorSettings_nodeList.get(0), model));
setDetectorSettings(new DetectorSettings( (Element) DetectorSettings_nodeList.get(0), model));
public void setDetectorSettingsIntegration(PositiveInteger integration, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Integration is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setIntegration(integration); }
public void setDetectorSettingsBinning(Binning binning, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Binning is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setBinning(binning); }
public void setDetectorSettingsZoom(Double zoom, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Zoom is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setZoom(zoom); }
public void setDetectorSettingsOffset(Double offset, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Offset is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setOffset(offset); }
public void setDetectorSettingsReadOutRate(Frequency readOutRate, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // ReadOutRate is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setReadOutRate(readOutRate); }
public void setDetectorSettingsGain(Double gain, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Gain is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setGain(gain); }
public void setDetectorSettingsIntegration(PositiveInteger integration, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Integration is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setIntegration(integration); }
public void setDetectorSettingsVoltage(ElectricPotential voltage, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Voltage is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setVoltage(voltage); }
public void setDetectorSettingsOffset(Double offset, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Offset is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setOffset(offset); }
public void setDetectorSettingsVoltage(ElectricPotential voltage, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Voltage is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setVoltage(voltage); }
public void setDetectorSettingsBinning(Binning binning, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Binning is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setBinning(binning); }
public void setDetectorSettingsGain(Double gain, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Gain is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setGain(gain); }
public void setDetectorSettingsZoom(Double zoom, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // Zoom is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setZoom(zoom); }
public void setDetectorSettingsReadOutRate(Frequency readOutRate, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // ReadOutRate is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); o4.setReadOutRate(readOutRate); }
public void setDetectorSettingsID(String id, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // ID is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); model.addModelObject(id, o4); o4.setID(id); }
public void setDetectorSettingsID(String id, int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // ID is not a reference OME o0 = root; if (o0.sizeOfImageList() == imageIndex) { o0.addImage(new Image()); } Image o1 = o0.getImage(imageIndex); if (o1.getPixels() == null) { o1.setPixels(new Pixels()); } Pixels o2 = o1.getPixels(); if (o2.sizeOfChannelList() == channelIndex) { o2.addChannel(new Channel()); } Channel o3 = o2.getChannel(channelIndex); if (o3.getDetectorSettings() == null) { o3.setDetectorSettings(new DetectorSettings()); } DetectorSettings o4 = o3.getDetectorSettings(); model.addModelObject(id, o4); o4.setID(id); }
channel.setLightSourceSettings(createLightSourceSettings(j)); channel.setLightPath(createLightPath()); channel.setDetectorSettings(ds); j++;