Home | Trees | Indices | Help |
---|
|
Environment with several tools to perform statistics on peak-to-peak ratios for unresolved lines.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
array |
|
||
|
|||
list[Star] |
|
||
Inherited from Inherited from |
|
|||
Inherited from |
|
Initializing an instance of UnresoStats.
|
Set an instrument, see Statistics.py.
|
Find the peak to peak ratios of data versus model. The result are saved in the self.peak_ratios dictionary, see __init__.__doc__() |
Calculate the chi_squared value for given models and data. If integrated fluxes are available, they are used without the line blends. LINES FLAGGED AS A BLEND ARE EXCLUDED FROM THE CHI2 CALCULATION. If not, the modeled, convolved spectrum is compared directly with the data, where the model is not just 0 flux.
|
Calculate ratios of integrated intensities, if requested. Assumes there is a linefit filename available in the Instrument() object. Only done for those line present in this file, based on Doppler shifted wavelength.
|
Calculate Peak ratios for all models included in the star grid. Done per filename.
|
Return all ratios for all filenames, including only the values that are not None. Selection type helps to filter out blended lines (negative values for the ratios), or unavailable ratios (None). Can only be int_ratios or peak_ratios when this_id is not None. The data type that is returned can be any of the dictionaries tracking stuff in this object.
|
Plot ratios as a function of their central wavelength. In blue and green, the peak-to-peak ratios are plotted. Blue for normal peak-to-peak ratios, green for ratios that involve a data point that is in the noise. Plotting peak-to-peak ratios can be turned off with the no_peak keyword. In red and magenta, the integrated line strengths are plotted. Red for isolated lines that are not tagged as a blend, magenta for lines that are tagged as a blend due to 1) too wide lines with respect to the PACS resolution, or 2) multiple sample transitions in the width of an observed line.
|
Return a sorted list of the star grid in this instance according to the chi^2 value. If a chi^2 based on integrated line fluxes is available, it is used. Otherwise the chi^2 determined from convolved model vs data is taken.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:58 2016 | http://epydoc.sourceforge.net |