Package ca.eandb.jmist.framework.measurement

Examples of ca.eandb.jmist.framework.measurement.IntegerSensorArray.hits()


          for (int sensor = 0; sensor < worker.collector.sensors(); sensor++) {

            SphericalCoordinates  exitantAngle      = worker.collector.getSensorCenter(sensor);
            double          solidAngle        = worker.collector.getSensorSolidAngle(sensor);
            double          projectedSolidAngle    = worker.collector.getSensorProjectedSolidAngle(sensor);
            long          hits          = sensorArray.hits(sensor);
            double          reflectance        = (double) hits / (double) this.samplesPerMeasurement;

            out.printf(
                "%d,%f,%f,%e,%d,%f,%f,%f,%f,%d,%d,%f,%e,%e",
                specimenIndex,
View Full Code Here


        for (int sensor = 0; sensor < worker.collector.sensors(); sensor++) {

          SphericalCoordinates  exitantAngle      = worker.collector.getSensorCenter(sensor);
          double          solidAngle        = worker.collector.getSensorSolidAngle(sensor);
          double          projectedSolidAngle    = worker.collector.getSensorProjectedSolidAngle(sensor);
          long          hits          = sensorArray.hits(sensor);
          double          reflectance        = (double) hits / (double) this.samplesPerMeasurement;

          out.printf(
              "%f,%f,%e,%d,%f,%f,%f,%f,%d,%d,%f,%e,%e",
              incidentAngle.polar(),
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.