Package gov.nist.microanalysis.EPQLibrary

Examples of gov.nist.microanalysis.EPQLibrary.ElectronRange


        if (transitions.isEmpty())
            transitions.addAll(findAllXRayTransitions(comp, props));

        // Calculate maximum depth
        Strategy strategy = AlgorithmUser.getGlobalStrategy();
        ElectronRange electronRange =
                (ElectronRange) strategy.getAlgorithm(ElectronRange.class);
        if (electronRange == null)
            electronRange = ElectronRange.Pouchou1991;

        double rMax;
        for (XRayTransition xrt : transitions) {
            rMax =
                    electronRange.compute(comp, xrt.getDestination(), energy)
                            / density;
            zPZS.put(xrt, HistogramUtil.createBins(-rMax, 0.0, channels));
            gnfPZs.put(xrt, new double[channels]);
            enfPZs.put(xrt, new double[channels]);
        }
View Full Code Here

TOP

Related Classes of gov.nist.microanalysis.EPQLibrary.ElectronRange

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.