gov.nist.microanalysis.EPQLibrary
Class XRayWindow

java.lang.Object
  extended by gov.nist.microanalysis.EPQLibrary.XRayWindow
All Implemented Interfaces:
IXRayWindowProperties

public class XRayWindow
extends java.lang.Object
implements IXRayWindowProperties

A class for modeling the transmission properties of an x-ray window.

Copyright: Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain

Company: National Institute of Standards and Technology

Version:
1.0
Author:
Nicholas W. M. Ritchie

Constructor Summary
XRayWindow(double openAreaFrac)
          XRayWindow - Creates an x-ray window with the specified open area fraction.
 
Method Summary
 double absorption(double energy)
          absorption - Computest the fraction of incident photons of the specified energy that will be absorbed by the window.
 void addIce(double thickness)
          addIce - Add a layer of ice of the specified thickness to the window.
 void addLayer(Material mat, double thickness)
          addLayer - Add a new material layer to the window.
 double transmission(double energy)
          transmission - Computest the fraction of incident photons of the specified energy that will be transmitted through the window.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XRayWindow

public XRayWindow(double openAreaFrac)
XRayWindow - Creates an x-ray window with the specified open area fraction.

Parameters:
openAreaFrac - double - The open area fraction (0,1.0]
Method Detail

addLayer

public void addLayer(Material mat,
                     double thickness)
addLayer - Add a new material layer to the window.

Parameters:
mat - Material
thickness - double

addIce

public void addIce(double thickness)
            throws EPQException
addIce - Add a layer of ice of the specified thickness to the window.

Parameters:
thickness - double
Throws:
EPQException

transmission

public final double transmission(double energy)
transmission - Computest the fraction of incident photons of the specified energy that will be transmitted through the window.

Specified by:
transmission in interface IXRayWindowProperties
Parameters:
energy - double - In Joules
Returns:
double

absorption

public final double absorption(double energy)
absorption - Computest the fraction of incident photons of the specified energy that will be absorbed by the window.

Parameters:
energy - double - In Joules
Returns:
double