Package org.mcisb.beacon.experiment

Examples of org.mcisb.beacon.experiment.SpotReading


          dishNode.setValue("dishNumber", Integer.toString(currentDish.getDishNumber()), false); //$NON-NLS-1$
         
          //And now the spot readings...
         
          for (int j =0; j<spotReadings.size();j++) {
            SpotReading currentSpot = (SpotReading)spotReadings.get(j);
           
            RecordModel spotNode = recordModelFactory.createRecordModel("LocationReading"); //$NON-NLS-1$
            RecordModel resultNode = recordModelFactory.createRecordModel("Result"); //$NON-NLS-1$
           
            //Need an empty spotsample node...
            RecordModel sampleNode = recordModelFactory.createRecordModel("LocationSample"); //$NON-NLS-1$
            sampleNode.setValue("description", "", false); //$NON-NLS-1$ //$NON-NLS-2$
           
            resultNode.setValue("results_file", currentSpot.getResultFile(), false); //$NON-NLS-1$
            spotNode.addChild("Result", resultNode, false); //$NON-NLS-1$
            spotNode.setValue("acquisition_time", currentSpot.getAcquisitionTime().toString(), false); //$NON-NLS-1$
            spotNode.updateDisplayName();
           
            //Last two things:
           
            ArrayList tracks=currentSpot.getTracks();
            ArrayList excitations=currentSpot.getExcitations();
           
            // Tracks first!
            for (int k=0; k<tracks.size();k++) {
              Track currentTrack = (Track)tracks.get(k);
              RecordModel trackNode = recordModelFactory.createRecordModel("Track"); //$NON-NLS-1$
View Full Code Here

TOP

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

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.