public class SourceSpectra
extends java.lang.Object
A class that encapsulates the features and values from an MR spectroscopy source, usually for the purpose of displaying it.
Constructor and Description |
---|
SourceSpectra(AttributeList list)
Construct spectra from a single or multi-frame DICOM spectroscopy object from
a list of DICOM attributes.
|
SourceSpectra(DicomInputStream i)
Construct spectra from a single or multi-frame DICOM spectroscopy object from
an input stream (such as from a file or the network).
|
Modifier and Type | Method and Description |
---|---|
int |
getColumns() |
int |
getDataPointColumns() |
int |
getDataPointRows() |
float |
getMaximum() |
float |
getMinimum() |
int |
getNumberOfFrames() |
int |
getRows() |
float[][] |
getSpectra() |
java.lang.String |
getTitle() |
public SourceSpectra(AttributeList list) throws DicomException
Construct spectra from a single or multi-frame DICOM spectroscopy object from a list of DICOM attributes.
list
- the list of attributes that include the description and values of the spectroscopy dataDicomException
public SourceSpectra(DicomInputStream i) throws java.io.IOException, DicomException
Construct spectra from a single or multi-frame DICOM spectroscopy object from an input stream (such as from a file or the network).
i
- the input streamjava.io.IOException
DicomException
public int getColumns()
public int getDataPointColumns()
public int getDataPointRows()
public float getMaximum()
public float getMinimum()
public int getNumberOfFrames()
public int getRows()
public float[][] getSpectra()
public java.lang.String getTitle()