Package org.mcisb.beacon.experiment

Examples of org.mcisb.beacon.experiment.Excitation


              trackNode.setValue("name", currentTrack.getName(), false); //$NON-NLS-1$
              spotNode.addChild("Track", trackNode, false); //$NON-NLS-1$
            }
            // Excitations!
            for (int k=0; k<excitations.size(); k++) {
              Excitation currentExcitation = (Excitation)excitations.get(k);
              RecordModel excitationNode = recordModelFactory.createRecordModel("Excitation"); //$NON-NLS-1$
              RecordModel laserNode = recordModelFactory.createRecordModel("Laser"); //$NON-NLS-1$
              RecordModel excitationMeasurementNode = recordModelFactory.createRecordModel("Excitation_Measurement"); //$NON-NLS-1$
              excitationMeasurementNode.setValue("unit", "nM", false); //$NON-NLS-1$ //$NON-NLS-2$
              excitationMeasurementNode.setValue("value", Double.toString(currentExcitation.getPower()), false); //$NON-NLS-1$
              excitationMeasurementNode.updateDisplayName();
              laserNode.addChild("Excitation_Measurement", excitationMeasurementNode, false); //$NON-NLS-1$
              laserNode.setValue("id", currentExcitation.getLaser(),false); //$NON-NLS-1$
              laserNode.updateDisplayName();
              excitationNode.addChild("Excitation_choices", laserNode, false); //$NON-NLS-1$
              excitationNode.updateDisplayName();
              spotNode.addChild("Excitation", excitationNode, false); //$NON-NLS-1$
              spotNode.updateDisplayName();
View Full Code Here

TOP

Related Classes of org.mcisb.beacon.experiment.Excitation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.