public class AstroModel
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static double |
FWHM2SIGMA_GAUSSIAN |
| Constructor and Description |
|---|
AstroModel(java.util.Map<java.lang.String,ParameterDescription> mapParameter,
double[] freqs,
java.util.List<ComponentDescription> listComponents,
boolean innerSpectrumVal,
boolean dsbModeVal) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
calcTauFreqsByLine(java.util.List<LineDescription> listOfLines,
double[] freqs)
Compute a synthetic spectrum as a list of channels (ArrayList of
ChannelDescription) from a list of lines as an ArrayList of
LineDescription.
|
boolean |
getLines() |
public AstroModel(java.util.Map<java.lang.String,ParameterDescription> mapParameter, double[] freqs, java.util.List<ComponentDescription> listComponents, boolean innerSpectrumVal, boolean dsbModeVal)
public boolean getLines()
throws UnknowMoleculeException,
RadexException
UnknowMoleculeExceptionRadexExceptionpublic double[] calcTauFreqsByLine(java.util.List<LineDescription> listOfLines, double[] freqs)
listOfLines - an ArrayList of LineDescriptionfreqs - array of frequency to compute for the synthetic spectrum [MHz]