Package gov.nist.microanalysis.Utility

Examples of gov.nist.microanalysis.Utility.Histogram2D



    @Test
    public void testBSERadialEnergyDistributionListener() {
        BSERadialEnergyDistributionListener listener;
        Histogram2D h;

        listener = new BSERadialEnergyDistributionListener(Math2.ORIGIN_3D,
                Math2.Z_AXIS, 0.0, 50.0, 5, 100.0, 10, false);
        h = listener.getDistribution();
        assertEquals(10, h.xBinCount());
        assertEquals(5, h.yBinCount());
    }
View Full Code Here


        super(center, normal);

        double[] rBinMins =
                RadialDistributionUtil.calculateBinMins(rMax, rBins, equalArea);
        double[] eBinMins = HistogramUtil.createBins(eMin, eMax, eBins);
        distribution = new Histogram2D(rBinMins, rMax, eBinMins, eMax);
    }
View Full Code Here

TOP

Related Classes of gov.nist.microanalysis.Utility.Histogram2D

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.