Examples of Microscope


Examples of org.mcisb.beacon.experiment.Microscope

          RecordModel dishNode = recordModelFactory.createRecordModel("Dish"); //$NON-NLS-1$
          Dish currentDish = (Dish)dishes.get(i);
         
          //Sort out what we know about the dish
          ArrayList spotReadings = currentDish.getSpotReadings();
          Microscope microscope = currentDish.getMicroscope();
         
          //Set the top level nodes we can
          RecordModel microscopeNode = recordModelFactory.createRecordModel("Microscope"); //$NON-NLS-1$
          RecordModel objectiveNode = recordModelFactory.createRecordModel("Objective_Details"); //$NON-NLS-1$
         
          //Do the microscope:
          objectiveNode.setValue("name", microscope.getName(), false); //$NON-NLS-1$
          objectiveNode.setValue("lensNA", microscope.getLens(), false); //$NON-NLS-1$
          objectiveNode.setValue("magnification", microscope.getMagnification(), false); //$NON-NLS-1$
         
          //Assemble the node
          microscopeNode.addChild("Objective_Details", objectiveNode, false); //$NON-NLS-1$
         
          //Add it to the dish
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.