ctools
2.0.0
|
Public Member Functions | |
def | __init__ |
def | process |
def | save |
Private Member Functions | |
def | _get_parameters |
Private Attributes | |
_models | |
Shows the content of a model container The script is useful to show, e.g., the number of sources in a model container, the background models, free and fixed parameters etc. The script can also dump the models into a region file to for display with DS9.
Definition at line 30 of file csmodelinfo.py.
def cscripts.csmodelinfo.csmodelinfo.__init__ | ( | self, | |
argv | |||
) |
Constructor
Definition at line 41 of file csmodelinfo.py.
|
private |
Get parameters from parfile and setup the observation
Definition at line 56 of file csmodelinfo.py.
References cscripts.csbkgmodel.csbkgmodel._models, cscripts.csmodelinfo.csmodelinfo._models, and cscripts.csiactobs.csiactobs._models.
Referenced by cscripts.csmodelinfo.csmodelinfo.process(), cscripts.csobsinfo.csobsinfo.process(), cscript_base.cscript_base.process(), cscript_like.cscript_like.process(), cscript_obs.cscript_obs.process(), cscripts.csmodelmerge.csmodelmerge.process(), cscripts.cstsmapsplit.cstsmapsplit.process(), cscripts.csresmap.csresmap.process(), cscripts.csmodelsois.csmodelsois.process(), cscripts.csobsdef.csobsdef.process(), cscripts.csmodelselect.csmodelselect.process(), cscripts.cstsmapmerge.cstsmapmerge.process(), cscripts.csobsselect.csobsselect.process(), cscripts.csworkflow.csworkflow.process(), cscripts.csobs2caldb.csobs2caldb.process(), cscripts.cstsdist.cstsdist.process(), cscripts.cssrcdetect.cssrcdetect.process(), cscripts.cspull.cspull.process(), cscripts.csphasecrv.csphasecrv.process(), cscripts.csviscube.csviscube.process(), cscripts.csresspec.csresspec.process(), cscripts.csscs.csscs.process(), cscripts.csphagen.csphagen.process(), cscripts.cssens.cssens.process(), cscripts.csspec.csspec.process(), and cscripts.csroot2caldb.csroot2caldb.process().
def cscripts.csmodelinfo.csmodelinfo.process | ( | self | ) |
Process the script
Definition at line 88 of file csmodelinfo.py.
References cscripts.csadd2caldb.csadd2caldb._get_parameters(), cscripts.csebins.csebins._get_parameters(), cscripts.csmodelinfo.csmodelinfo._get_parameters(), cscripts.csfindobs.csfindobs._get_parameters(), cscripts.csiactdata.csiactdata._get_parameters(), cscripts.csiactcopy.csiactcopy._get_parameters(), cscripts.cscaldb.cscaldb._get_parameters(), cscripts.csbkgmodel.csbkgmodel._get_parameters(), cscripts.csfootprint.csfootprint._get_parameters(), cscripts.csiactobs.csiactobs._get_parameters(), cscripts.cslightcrv.cslightcrv._get_parameters(), cscripts.csbkgmodel.csbkgmodel._models, cscripts.csmodelinfo.csmodelinfo._models, and cscripts.csiactobs.csiactobs._models.
def cscripts.csmodelinfo.csmodelinfo.save | ( | self | ) |
Save models to ds9 region file
Definition at line 239 of file csmodelinfo.py.
References cscripts.csbkgmodel.csbkgmodel._models, cscripts.csmodelinfo.csmodelinfo._models, and cscripts.csiactobs.csiactobs._models.
|
private |
Definition at line 49 of file csmodelinfo.py.
Referenced by cscripts.csphagen.csphagen.__getstate__(), cscripts.cssens.cssens.__getstate__(), cscripts.cssens.cssens.__setstate__(), cscripts.csphagen.csphagen.__setstate__(), cscripts.cssens.cssens._e_bin(), cscripts.csmodelsois.csmodelsois._gen_cubemodel(), cscripts.csmodelselect.csmodelselect._get_parameters(), cscripts.csmodelinfo.csmodelinfo._get_parameters(), cscripts.csphagen.csphagen._get_parameters(), cscripts.csphagen.csphagen._process_observation(), cscripts.csphagen.csphagen._set_models(), cscripts.csmodelsois.csmodelsois.models(), cscripts.cssrcdetect.cssrcdetect.models(), cscripts.csmodelinfo.csmodelinfo.process(), cscripts.csmodelmerge.csmodelmerge.process(), cscripts.csmodelselect.csmodelselect.process(), cscripts.cssrcdetect.cssrcdetect.process(), cscripts.cssens.cssens.process(), cscripts.csmodelsois.csmodelsois.save(), cscripts.csmodelinfo.csmodelinfo.save(), and cscripts.cssrcdetect.cssrcdetect.save().