|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--dwvisser.analysis.InputSpecification
Class for containing processing input specifications for
YLSAcalibration
.
Constructor Summary | |
InputSpecification(java.io.File inputSpecFile)
Creates new InputSpecification. |
Method Summary | |
boolean |
dataExists(int det,
int strip)
|
java.io.File |
getFile(int det,
int str)
Returns the file reference for the requested detector and strip. |
java.lang.String |
getName(int det,
int str)
Returns the name of the spectrum in the HDF file for the given detector and strip. |
int |
getNumberOfDetectors()
|
double |
getSignificance()
Returns the confidence lever for the PeakFinder to use. |
int[] |
getSpectrum(int detector,
int strip)
Retrieves the spectrum for the given detector and strip from the appropriate HDF file. |
int |
getStripsPerDetector()
|
double |
getWidth(int det,
int strip)
Returns the specified peak width for the PeakFinder
to use. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public InputSpecification(java.io.File inputSpecFile)
#detectors #stripPerDetector peakWidth significance
#files
filename#n #spectraInFile
spectrumName#n
etc.
inputSpecFile
- text file containing specificationsMethod Detail |
public double getWidth(int det, int strip)
PeakFinder
to use.
public double getSignificance()
PeakFinder
to use.
public int[] getSpectrum(int detector, int strip) throws SpecNotAvailableException
detector
- detector of intereststrip
- strip of interest in the detector
SpecNotAvailableException
- if user never gave an input specification for this detector
and strippublic java.io.File getFile(int det, int str)
det
- which detectorstr
- which strip in the detector
public java.lang.String getName(int det, int str)
det
- which detectorstr
- which strip in the detector
public int getNumberOfDetectors()
public int getStripsPerDetector()
public boolean dataExists(int det, int strip)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |