Class for plotting gas lines and their information.
|
__init__(self,
star_name,
path_gastronoom=' Output2014 ' ,
inputfilename=None,
pacs=None,
spire=None,
fn_add_star=1)
Initializing an instance of PlotGas. |
source code
|
|
list[Star()]
|
makeStars(self,
models)
Make a Star list based on either GASTRoNOoM cooling ids or PACS ids. |
source code
|
|
|
plotVelocity(self,
star_grid=[ ] ,
models=[ ] ,
fn_plt='
' ,
cfg='
' )
Plot velocity versus radius for every model in star_grid. |
source code
|
|
|
plotTemp(self,
star_grid=[ ] ,
models=[ ] ,
fn_plt='
' ,
force_plot=0,
cfg='
' )
Plot temperature profiles of all models. |
source code
|
|
|
plotTransitions(self,
star_grid,
cfg='
' ,
no_data=0,
vg_factor=3,
telescope_label=1,
sort_freq=0,
sort_molec=0,
no_models=0,
limited_axis_labels=0,
date_tag=1,
n_max_models=10,
fn_plt='
' ,
fn_suffix='
' ,
fit_vlsr=1,
plot_intrinsic=0,
plot_unresolved=0,
cont_subtract=1)
Plotting beam convolved line profiles in Tmb for both model and data
if available. |
source code
|
|
list[string, float, index]
|
createLineLabelsFromLineLists(self,
star,
xmin,
xmax,
xunit=' micron ' ,
fn_trans_marker='
' ,
instrument=' PACS ' )
Create a list of line labels for all molecules and transitions in the
molecular linelists requested. |
source code
|
|
|
plotLineLists(self,
star_grid,
include_sphinx=1,
cfg='
' ,
fn_plt='
' ,
fn_trans_marker='
' ,
instrument=' PACS ' )
Plot linelists along with the indicated data. |
source code
|
|
|
plotAbundanceProfiles(self,
star_grid=[ ] ,
models=[ ] ,
cfg='
' ,
fn_plt='
' ,
per_molecule=0,
unit=' cm ' )
Plot abundance profiles for all molecules in every model. |
source code
|
|
|
plotLineContributions(self,
star_grid,
fn_plt='
' ,
normalized=1,
cfg='
' ,
do_sort=1,
include=' intensity ' )
Plot the source function as function of impact parameter for every
transition. |
source code
|
|
|
setSphinxPacs(self,
star_grid,
refresh_sphinx_flux=0)
Prepare Sphinx output in Pacs format (including convolution). |
source code
|
|
list[string]
|
createLineLabels(self,
star_grid=[ ] ,
linelist=[ ] ,
molecules=[ ] ,
fn_trans_marker='
' ,
unit=' micron ' ,
mark_undetected=0,
instrument=' PACS ' )
Create line labels for all transitions in Star() objects or in
LineList() objects or in a TRANSITION definition file. |
source code
|
|
|
plotPacsLineScans(self,
star_grid=[ ] ,
models=[ ] ,
exclude_data=0,
cfg='
' ,
cont_subtracted=1,
fn_trans_marker='
' ,
fn_plt='
' ,
dimensions=( 5, 2) ,
mark_undetected=0,
remove_axis_titles=1,
include_band=1)
Plot PACS line scans. |
source code
|
|
|
plotPacs(self,
star_grid=[ ] ,
models=[ ] ,
exclude_data=0,
fn_plt='
' ,
cfg='
' ,
fn_trans_marker='
' ,
include_band=1,
number_subplots=3,
mark_undetected=0)
Plot PACS data along with Sphinx results, one plot per band. |
source code
|
|
|
plotPacsSegments(self,
star_grid,
pacs_segments_path='
' ,
mode=' sphinx ' ,
fn_plt='
' ,
fn_trans_marker='
' ,
cfg='
' ,
include_sphinx=None,
exclude_data=0)
Plot segments of spectra only. |
source code
|
|
|
plotSpire(self,
star_grid=[ ] ,
models=[ ] ,
exclude_data=0,
fn_plt='
' ,
fn_trans_marker='
' ,
number_subplots=3,
cfg='
' )
Plot SPIRE data along with Sphinx results. |
source code
|
|
|
plotIntTmb(self,
star_grid=[ ] ,
scale=1,
fn_plt='
' ,
cfg='
' )
Plot of the integrated main beam temperature of the molecular data
and that obtained from model(s). |
source code
|
|
Inherited from cc.plotting.objects.PlottingSession.PlottingSession :
checkChangedPars ,
makeModelList ,
setFnPlt
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|