gov.nist.microanalysis.EPQLibrary
Interface XRaySource

All Known Implementing Classes:
BremsstrahlungEventListener, XRayEventListener, XRayEvents

public interface XRaySource

A simple interface to be implemented by classes that act as sources of (virtual) x-rays either characteristic or continuum.

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

Method Summary
 double getEnergy(int n)
          getEnergy - Returns the energy of the n-th event.
 int getEventCount()
          getEventCount - Returns the number of events.
 double getIntensity(int n)
          getIntensity - Returns the number of x-ray counts (or fractional counts) for the n-th event.
 double[] getPosition(int n)
          getPosition - Returns the position from which the x-ray is emitted.
 

Method Detail

getEventCount

int getEventCount()
getEventCount - Returns the number of events.

Returns:
int

getEnergy

double getEnergy(int n)
getEnergy - Returns the energy of the n-th event.

Returns:
double

getIntensity

double getIntensity(int n)
getIntensity - Returns the number of x-ray counts (or fractional counts) for the n-th event.

Returns:
double

getPosition

double[] getPosition(int n)
getPosition - Returns the position from which the x-ray is emitted.